You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe6d753
Browse filesBrowse the repository at this point in the historyBrowse files
msgid"The flags that control the logical structure of the memory are listed in decreasing order of complexity. Note that each flag contains all bits of the flags below it."
197
197
msgstr"پرچمهایی که ساختار منطقی حافظه را کنترل میکنند، به ترتیب نزولی پیچیدگی فهرست شدهاند. توجه داشته باشید که هر پرچم، تمام بیتهای پرچمهای پایینتر از آن را در بر میگیرد."
198
198
199
+
msgid"These values are available when compiling for the :ref:`Stable ABI <stable>` since version 3.11."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -176,7 +176,9 @@ msgstr "پیمایش"
176
176
msgid"The :c:member:`~PyTypeObject.tp_traverse` handler must have the following type:"
177
177
msgstr"هندلر :c:member:`~PyTypeObject.tp_traverse` باید از نوع زیر باشد:"
178
178
179
-
msgid"Traversal function for a garbage-collected object, used by the garbage collector to detect reference cycles. Implementations must call the *visit* function for each object directly contained by *self*, with the parameters to *visit* being the contained object and the *arg* value passed to the handler. The *visit* function must not be called with a ``NULL`` object argument. If *visit* returns a non-zero value, that value should be returned immediately."
179
+
#,fuzzy
180
+
#| msgid "Traversal function for a garbage-collected object, used by the garbage collector to detect reference cycles. Implementations must call the *visit* function for each object directly contained by *self*, with the parameters to *visit* being the contained object and the *arg* value passed to the handler. The *visit* function must not be called with a ``NULL`` object argument. If *visit* returns a non-zero value, that value should be returned immediately."
181
+
msgid"Traversal function for a garbage-collected object, used by the garbage collector to detect reference cycles. Implementations must call the *visit* function for each object directly contained by *self*, with the parameters to *visit* being the contained object and the *arg* value passed to the handler. The *visit* function must not be called with a ``NULL`` object argument. If *visit* returns a non-zero value, that value should be returned immediately. Otherwise, return zero."
180
182
msgstr"تابع پیمایش برای یک شیء جمعآوریشده در زبالهجمعکن، که توسط زبالهجمعکن برای تشخیص چرخههای ارجاع استفاده میشود. پیادهسازیها باید تابع *visit* را برای هر شیء که مستقیماً توسط *self* دربرگرفته شده است فراخوانی کنند، به طوری که پارامترهای ارسالی به *visit* شامل شیء محصورشده و مقدار *arg* ارسالشده به هندلر باشند. تابع *visit* نباید با یک آرگومان شیء ``NULL`` فراخوانی شود. اگر *visit* یک مقدار غیرصفر برگرداند، آن مقدار باید بلافاصله بازگردانده شود."
181
183
182
184
msgid"A typical :c:member:`!tp_traverse` function calls the :c:func:`Py_VISIT` convenience macro on each of the instance's members that are Python objects that the instance owns. For example, this is a (slightly outdated) traversal function for the :py:class:`threading.local` class::"
@@ -246,6 +248,9 @@ msgstr "این یعنی *بیشتر* توابع C API پایتون ممکن اس
246
248
msgid"For a list of safe functions, see a :ref:`separate section <duringgc-functions>` below."
247
249
msgstr"برای فهرستی از توابع امن، به :ref:`بخش جداگانه <duringgc-functions>` در ادامه مراجعه کنید."
248
250
251
+
msgid"If an error occurs during traversal, ignore it and return 0. If ``tp_traverse`` fails to visit some strong references, garbage reference cycles involving the skipped references will not be reliably broken, but correctness won't be affected. For example, if traversal requires a lock that cannot be acquired promptly, skip the traversal. The garbage collector will visit your object again in a future pass."
252
+
msgstr""
253
+
249
254
msgid"The :c:func:`Py_VISIT` call may be skipped for those members that provably cannot participate in reference cycles. In the ``local_traverse`` example above, there is also a ``self->key`` member, but it can only be ``NULL`` or a Python string and therefore cannot be part of a reference cycle."
250
255
msgstr"فراخوانی :c:func:`Py_VISIT` را میتوان برای آن دسته از اعضایی که ثابت شده نمیتوانند در چرخههای ارجاع شرکت کنند، رد کرد. در نمونهی ``local_traverse`` در بالا، یک عضو ``self->key`` نیز وجود دارد، اما این عضو فقط میتواند ``NULL`` یا یک رشتهی پایتون باشد و بنابراین نمیتواند بخشی از یک چرخه ارجاع باشد."
251
256
@@ -270,9 +275,18 @@ msgstr "اگر عبارت :c:expr:`PyObject *` *o* برابر با ``NULL`` نی
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -517,6 +517,9 @@ msgstr ":c:member:`PyMemberDef.type` میتواند یکی از ماکروه
517
517
msgid"Unless marked (D), attributes defined this way cannot be deleted using e.g. :keyword:`del` or :py:func:`delattr`."
518
518
msgstr"ویژگیهای تعریفشده به این روش را نمیتوان با استفاده از مثلاً :keyword:`del` یا :py:func:`delattr` حذف کرد، مگر آنکه با (D) علامتگذاری شده باشند."
519
519
520
+
msgid"These values are available when compiling for the :ref:`Stable ABI <stable>` since version 3.12."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -45,6 +45,9 @@ msgstr "این ماژول توابع زیر را تعریف میکند:"
45
45
msgid"Return a list containing the tty attributes for file descriptor *fd*, as follows: ``[iflag, oflag, cflag, lflag, ispeed, ospeed, cc]`` where *cc* is a list of the tty special characters (each a string of length 1, except the items with indices :const:`VMIN` and :const:`VTIME`, which are integers when these fields are defined). The interpretation of the flags and the speeds as well as the indexing in the *cc* array must be done using the symbolic constants defined in the :mod:`!termios` module."
46
46
msgstr"فهرستی حاوی ویژگیهای tty برای توصیفگر فایل *fd* برمیگرداند، به این صورت: ``[iflag, oflag, cflag, lflag, ispeed, ospeed, cc]`` که در آن *cc* فهرستی از نویسههای ویژه tty است (هرکدام رشتهای به طول ۱، بهجز آیتمهای دارای اندیسهای :const:`VMIN` و :const:`VTIME`، که وقتی این فیلدها تعریف شده باشند، عدد صحیح هستند). تفسیر پرچمها و سرعتها و همچنین اندیسدهی در آرایهی *cc* باید با استفاده از ثابتهای نمادین تعریفشده در ماژول :mod:`!termios` انجام شود."
47
47
48
+
msgid"Indices into the *cc* array controlling a non-canonical read: the minimum number of characters to read and the timeout in tenths of a second, respectively."
49
+
msgstr""
50
+
48
51
msgid"Set the tty attributes for file descriptor *fd* from the *attributes*, which is a list like the one returned by :func:`tcgetattr`. The *when* argument determines when the attributes are changed:"
49
52
msgstr"ویژگیهای tty را برای توصیفگر فایل *fd* با استفاده از *attributes* تنظیم کنید، که فهرستی مانند فهرست بازگرداندهشده توسط :func:`tcgetattr` است. آرگومان *when* تعیین میکند که ویژگیها چه زمانی تغییر کنند:"
50
53
@@ -66,15 +69,27 @@ msgstr "صبر کنید تا تمام خروجی نوشتهشده در توص
66
69
msgid"Discard queued data on file descriptor *fd*. The *queue* selector specifies which queue: :const:`TCIFLUSH` for the input queue, :const:`TCOFLUSH` for the output queue, or :const:`TCIOFLUSH` for both queues."
67
70
msgstr"دادههای در صف روی توصیفگر فایل *fd* را دور بریزید. انتخابگر *queue* مشخص میکند کدام صف: :const:`TCIFLUSH` برای صف ورودی، :const:`TCOFLUSH` برای صف خروجی، یا :const:`TCIOFLUSH` برای هر دو صف."
68
71
72
+
msgid"Values for the *queue* selector: the input queue, the output queue, or both queues, respectively."
73
+
msgstr""
74
+
69
75
msgid"Suspend or resume input or output on file descriptor *fd*. The *action* argument can be :const:`TCOOFF` to suspend output, :const:`TCOON` to restart output, :const:`TCIOFF` to suspend input, or :const:`TCION` to restart input."
70
76
msgstr"تعلیق یا ازسرگیری ورودی یا خروجی روی توصیفگر فایل *fd*. آرگومان *action* میتواند برای تعلیق خروجی :const:`TCOOFF`، برای ازسرگیری خروجی :const:`TCOON`، برای تعلیق ورودی :const:`TCIOFF`، یا برای ازسرگیری ورودی :const:`TCION` باشد."
71
77
78
+
msgid"Values for the *action* argument: suspend output, restart output, suspend input, or restart input, respectively."
79
+
msgstr""
80
+
72
81
msgid"Return a tuple ``(ws_row, ws_col)`` containing the tty window size for file descriptor *fd*. Requires :const:`termios.TIOCGWINSZ` or :const:`termios.TIOCGSIZE`."
73
82
msgstr"یک تاپل ``(ws_row, ws_col)`` بازمیگرداند که حاوی اندازهی پنجرهی tty برای توصیفگر فایل *fd* است. نیازمند :const:`termios.TIOCGWINSZ` یا :const:`termios.TIOCGSIZE` است."
74
83
84
+
msgid"``ioctl()`` requests for querying the tty window size. Not defined on all platforms; :func:`tcgetwinsize` requires at least one of them."
85
+
msgstr""
86
+
75
87
msgid"Set the tty window size for file descriptor *fd* from *winsize*, which is a two-item tuple ``(ws_row, ws_col)`` like the one returned by :func:`tcgetwinsize`. Requires at least one of the pairs (:const:`termios.TIOCGWINSZ`, :const:`termios.TIOCSWINSZ`); (:const:`termios.TIOCGSIZE`, :const:`termios.TIOCSSIZE`) to be defined."
76
88
msgstr"اندازهی پنجرهی tty برای توصیفگر فایل *fd* را از *winsize* تنظیم میکند، که یک تاپل دو آیتمی ``(ws_row, ws_col)`` مانند آنچه توسط :func:`tcgetwinsize` برگردانده میشود، است. نیاز است حداقل یکی از جفتهای (:const:`termios.TIOCGWINSZ`، :const:`termios.TIOCSWINSZ`)؛ (:const:`termios.TIOCGSIZE`، :const:`termios.TIOCSSIZE`) تعریف شده باشد."
77
89
90
+
msgid"``ioctl()`` requests for setting the tty window size. Not defined on all platforms; see :func:`tcsetwinsize` for the required pairs."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -75,6 +75,9 @@ msgstr "برای URLهای FTP، file و data، این تابع یک شیء :cla
75
75
msgid"Raises :exc:`~urllib.error.URLError` on protocol errors."
76
76
msgstr"در صورت بروز خطاهای پروتکل، :exc:`~urllib.error.URLError` پرتاب میشود."
77
77
78
+
msgid"Exceptions raised while reading or parsing an HTTP response are not wrapped in :exc:`~urllib.error.URLError` and propagate unchanged. These include subclasses of :exc:`http.client.HTTPException`, such as :exc:`~http.client.BadStatusLine` for a malformed status line, and subclasses of :exc:`OSError`, such as :exc:`TimeoutError` if the server does not respond within *timeout* seconds, or :exc:`~http.client.RemoteDisconnected` if the server closes the connection without sending a response. :exc:`ValueError` is raised if *url* is not a valid URL."
79
+
msgstr""
80
+
78
81
msgid"Note that ``None`` may be returned if no handler handles the request (though the default installed global :class:`OpenerDirector` uses :class:`UnknownHandler` to ensure this never happens)."
79
82
msgstr"توجه داشته باشید که اگر هیچ هندلری درخواست را مدیریت نکند، ممکن است ``None`` برگردانده شود (هرچند :class:`OpenerDirector` سراسری که بهصورت پیشفرض نصب شده است، از :class:`UnknownHandler` استفاده میکند تا اطمینان حاصل کند که این حالت هرگز رخ نمیدهد)."
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -57,6 +57,9 @@ msgstr "کتابخانه"
57
57
msgid ":gh:`160596`: Fix the error message for invalid data passed to :meth:`!asyncio.proactor_events.sendto`."
58
58
msgstr ":gh:`107545`: بهبود پیامهای خطایی که ممکن است توسط :meth:`~socket.socket.setsockopt` بالا آورده شوند."
59
59
60
+
msgid ":gh:`160561`: Fix a descriptor leak in :func:`socket.fromfd` when the socket constructor rejects its arguments. The duplicated descriptor was never closed."
61
+
msgstr ""
62
+
60
63
msgid ":gh:`160513`: Fix :meth:`asyncio.loop.start_tls` and :meth:`asyncio.StreamWriter.start_tls` not calling the protocol's :meth:`~asyncio.BaseProtocol.connection_lost` when the connection is lost, the handshake times out or the call is cancelled during the TLS handshake. :meth:`asyncio.StreamWriter.wait_closed` no longer waits forever after such a failure."
61
64
msgstr ""
62
65
@@ -65,6 +68,18 @@ msgstr ""
65
68
msgid ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when first using a Chinese, Japanese or Korean codec."
66
69
msgstr ":gh:`151126`: رفع فروپاشی ناشی از تنظیمنشدن :exc:`MemoryError` هنگام شکست در تخصیص حافظه، در زمان ارسال نمونههای :class:`ctypes.Structure` یا :class:`ctypes.Union` بهصورت مقدار (by value) به توابع خارجی ctypes."
67
70
71
+
msgid "Tests"
72
+
msgstr "آزمونها"
73
+
74
+
msgid ":gh:`158975`: Replace fixed sleeps used for synchronization in multiprocessing tests with bounded waits to avoid failures on slow or overloaded systems."
75
+
msgstr ""
76
+
77
+
msgid "Build"
78
+
msgstr "ساخت"
79
+
80
+
msgid ":gh:`160704`: Fix C11-C17 builds with old C library headers that do not define ``static_assert``, including glibc versions older than 2.16."
81
+
msgstr ""
82
+
68
83
#, fuzzy
69
84
#| msgid "Python 3.5.2 final"
70
85
msgid "Python 3.15.2 final"
@@ -294,9 +309,6 @@ msgstr ""
294
309
msgid ":gh:`140036`: Avoid hanging in floor division of pure Python :class:`decimal.Decimal` instances when the context precision is very large. Patch by Bénédikt Tran."
295
310
msgstr ""
296
311
297
-
msgid "Build"
298
-
msgstr "ساخت"
299
-
300
312
msgid ":gh:`128883`: Fix crashes with ``-X perf`` and ``-X perf_jit`` in BOLT builds. The ELF perf trampoline templates now use read-only data sections."
301
313
msgstr ""
302
314
@@ -876,9 +888,6 @@ msgstr ":gh:`142083`: کد نوع ``'w'`` در رشتهمستند :class:`arr
876
888
msgid ":gh:`107689`: Added docstrings to abstract ctypes."
877
889
msgstr ":gh:`107689`: اضافه کردن رشتههای مستند (docstrings) به ctypes انتزاعی."
878
890
879
-
msgid "Tests"
880
-
msgstr "آزمونها"
881
-
882
891
msgid ":gh:`159293`: Restore the recursion limit after the free-threading recursion-limit race test to avoid failures in subsequent tests run in the same process."
883
892
msgstr ":gh:`159293`: حد بازگشتی پس از آزمون رقابت حد بازگشتی نخبندی آزاد بازیابی میشود تا از بروز خطا در آزمونهای بعدی که در همان فرایند اجرا میشوند، جلوگیری شود."
0 commit comments