-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path__future__.po
More file actions
188 lines (139 loc) · 11.3 KB
/
Copy path__future__.po
File metadata and controls
188 lines (139 loc) · 11.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
# Revisto <theRevisto@gmail.com>, 2025
# Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026
# invincible627 <fatemehzahra810@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-20 04:14+0000\n"
"PO-Revision-Date: 2021-06-28 00:54+0000\n"
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
"Language-Team: Persian (https://github.com/revisto/python-docs-fa/fa/)\n"
"Language: fa\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
msgid ":mod:`!__future__` --- Future statement definitions"
msgstr ":mod:`!__future__` --- تعاریف دستورات آینده"
msgid "**Source code:** :source:`Lib/__future__.py`"
msgstr "**کد منبع:** :source:`Lib/__future__.py`"
msgid "Imports of the form ``from __future__ import feature`` are called :ref:`future statements <future>`. These are special-cased by the Python compiler to allow the use of new Python features in modules containing the future statement before the release in which the feature becomes standard."
msgstr "ایمپورتهایی به شکل ``from __future__ import feature``، :ref:`future statements <future>` نامیده میشوند. این موارد توسط کامپایلر پایتون بهصورت ویژه درنظر گرفته میشوند تا امکان استفاده از ویژگیهای جدید پایتون را در ماژولهایی که شامل دستور آینده هستند، قبل از نسخهای که آن ویژگی بهصورت استاندارد درمیآید، فراهم کنند."
msgid "While these future statements are given additional special meaning by the Python compiler, they are still executed like any other import statement and the :mod:`!__future__` exists and is handled by the import system the same way any other Python module would be. This design serves three purposes:"
msgstr "اگرچه این دستورات آیندهنگر بهواسطه کامپایلر پایتون معنای ویژهای پیدا میکنند، اما همچنان مانند هر دستور ایمپورت دیگری اجرا میشوند. ماژول :mod:`!__future__` وجود دارد و توسط سازوکار ایمپورت، دقیقاً مانند هر ماژول پایتون دیگری مدیریت میشود. این طراحی سه هدف را دنبال میکند:"
msgid "To avoid confusing existing tools that analyze import statements and expect to find the modules they're importing."
msgstr "برای جلوگیری از سردرگمی ابزارهای موجود که دستورات ایمپورت را تحلیل میکنند و انتظار دارند که ماژولهای مورد نظر خود را پیدا کنند."
msgid "To document when incompatible changes were introduced, and when they will be --- or were --- made mandatory. This is a form of executable documentation, and can be inspected programmatically via importing :mod:`!__future__` and examining its contents."
msgstr "برای مستندسازی زمان معرفی تغییرات ناسازگار و زمانی که این تغییرات اجباری خواهند شد --- یا شدهاند، این نوعی مستندسازی قابلاجرا است، و میتوان آن را بهصورت برنامهنویسی با ایمپورت کردن :mod:`!__future__` و بررسی محتویات آن مشاهده کرد."
msgid "To ensure that :ref:`future statements <future>` run under releases prior to Python 2.1 at least yield runtime exceptions (the import of :mod:`!__future__` will fail, because there was no module of that name prior to 2.1)."
msgstr "برای اطمینان از اینکه :ref:`future statements <future>` در نسخههای پیش از پایتون 2.1 حداقل استثناهای زمان اجرا ایجاد میکنند (ایمپورت کردن :mod:`!__future__` با شکست مواجه خواهد شد، زیرا هیچ ماژولی با آن نام پیش از نسخهی ۲.۱ وجود نداشته است)."
msgid "Module Contents"
msgstr "محتویات ماژول"
msgid "No feature description will ever be deleted from :mod:`!__future__`. Since its introduction in Python 2.1 the following features have found their way into the language using this mechanism:"
msgstr "هیچ توضیح ویژگیای هرگز از :mod:`!__future__` حذف نخواهد شد. از زمان معرفی آن در پایتون ۲.۱، ویژگیهای زیر راه خود را به این زبان با استفاده از این مکانیزم پیدا کردهاند:"
msgid "feature"
msgstr "ویژگی"
msgid "optional in"
msgstr "اختیاری در"
msgid "mandatory in"
msgstr "اجباری در"
msgid "effect"
msgstr "تأثیر"
msgid "2.1.0b1"
msgstr "2.1.0b1"
msgid "2.2"
msgstr "2.2"
msgid ":pep:`227`: *Statically Nested Scopes*"
msgstr ":pep:`227`: *محدودههای تو در تو ایستا*"
msgid "2.2.0a1"
msgstr "2.2.0a1"
msgid "2.3"
msgstr "2.3"
msgid ":pep:`255`: *Simple Generators*"
msgstr ":pep:`255`: *تولیدگرهای ساده*"
msgid "2.2.0a2"
msgstr "2.2.0a2"
msgid "3.0"
msgstr "3.0"
msgid ":pep:`238`: *Changing the Division Operator*"
msgstr ":pep:`238`: *تغییر عملگر تقسیم*"
msgid "2.5.0a1"
msgstr "2.5.0a1"
msgid ":pep:`328`: *Imports: Multi-Line and Absolute/Relative*"
msgstr ":pep:`328`: *ایمپورتها: چندخطی و مطلق/نسبی*"
msgid "2.6"
msgstr "2.6"
msgid ":pep:`343`: *The “with” Statement*"
msgstr ":pep:`343`: *دستور “with”*"
msgid "2.6.0a2"
msgstr "2.6.0a2"
msgid ":pep:`3105`: *Make print a function*"
msgstr ":pep:`3105`: *تبدیل print به یک تابع*"
msgid ":pep:`3112`: *Bytes literals in Python 3000*"
msgstr ":pep:`3112`: *لیترالهای بایت در پایتون ۳۰۰۰*"
msgid "3.5.0b1"
msgstr "3.5.0b1"
msgid "3.7"
msgstr "3.7"
msgid ":pep:`479`: *StopIteration handling inside generators*"
msgstr ":pep:`479`: *مدیریت StopIteration درون تولیدگرها*"
msgid "3.7.0b1"
msgstr "3.7.0b1"
msgid "Never [1]_"
msgstr "هرگز [1]_"
msgid ":pep:`563`: *Postponed evaluation of annotations*, :pep:`649`: *Deferred evaluation of annotations using descriptors*"
msgstr ":pep:`563`: *ارزیابی بهتعویقافتادهٔ annotationها*، :pep:`649`: *ارزیابی بهتعویقافتادهٔ annotationها با استفاده از توصیفگرها*"
msgid "Each statement in :file:`__future__.py` is of the form::"
msgstr "هر دستور در :file:`__future__.py` به شکل زیر است::"
msgid ""
"FeatureName = _Feature(OptionalRelease, MandatoryRelease,\n"
" CompilerFlag)"
msgstr ""
"FeatureName = _Feature(OptionalRelease, MandatoryRelease,\n"
" CompilerFlag)"
msgid "where, normally, *OptionalRelease* is less than *MandatoryRelease*, and both are 5-tuples of the same form as :data:`sys.version_info`::"
msgstr "که در آن، بهطور معمول، *OptionalRelease* کوچکتر از *MandatoryRelease* است، و هر دو تاپلهای ۵ عضوی به همان شکل :data:`sys.version_info` هستند::"
msgid ""
"(PY_MAJOR_VERSION, # the 2 in 2.1.0a3; an int\n"
" PY_MINOR_VERSION, # the 1; an int\n"
" PY_MICRO_VERSION, # the 0; an int\n"
" PY_RELEASE_LEVEL, # \"alpha\", \"beta\", \"candidate\" or \"final\"; string\n"
" PY_RELEASE_SERIAL # the 3; an int\n"
")"
msgstr ""
"(PY_MAJOR_VERSION, # عدد 2 در 2.1.0a3؛ یک عدد صحیح\n"
" PY_MINOR_VERSION, # عدد 1؛ یک عدد صحیح\n"
" PY_MICRO_VERSION, # عدد 0؛ یک عدد صحیح\n"
" PY_RELEASE_LEVEL, # \"alpha\"، \"beta\"، \"candidate\" یا \"final\"؛ رشته\n"
" PY_RELEASE_SERIAL # عدد 3؛ یک عدد صحیح\n"
")"
msgid "*OptionalRelease* records the first release in which the feature was accepted."
msgstr "*OptionalRelease* اولین نسخهای را ثبت میکند که ویژگی در آن پذیرفته شده است."
msgid "In the case of a *MandatoryRelease* that has not yet occurred, *MandatoryRelease* predicts the release in which the feature will become part of the language."
msgstr "در مورد *MandatoryRelease* که هنوز رخ نداده است، *MandatoryRelease* نسخهای را پیشبینی میکند که ویژگی در آن بخشی از زبان خواهد شد."
msgid "Else *MandatoryRelease* records when the feature became part of the language; in releases at or after that, modules no longer need a future statement to use the feature in question, but may continue to use such imports."
msgstr "در غیر این صورت، *MandatoryRelease* زمانی را ثبت میکند که ویژگی به بخشی از زبان تبدیل شد؛ در نسخههای همان یا بعد از آن، ماژولها دیگر برای استفاده از آن ویژگی نیازی به دستور future ندارند، اما میتوانند به استفاده از چنین ایمپورتهایی ادامه دهند."
msgid "*MandatoryRelease* may also be ``None``, meaning that a planned feature got dropped or that it is not yet decided."
msgstr "*MandatoryRelease* همچنین میتواند ``None`` باشد، به این معنی که یک ویژگی برنامهریزیشده حذف شده است یا اینکه هنوز تصمیمی دربارهی آن گرفته نشده است."
msgid "*CompilerFlag* is the (bitfield) flag that should be passed in the fourth argument to the built-in function :func:`compile` to enable the feature in dynamically compiled code. This flag is stored in the :attr:`_Feature.compiler_flag` attribute on :class:`_Feature` instances."
msgstr "*CompilerFlag* پرچم است که باید در آرگومان چهارم به تابع داخلی :func:`compile` ارسال شود تا ویژگی را در کد کامپایلشدهی پویا فعال کند. این پرچم در ویژگی :attr:`_Feature.compiler_flag` در نمونههای :class:`_Feature` ذخیره میشود."
msgid "``from __future__ import annotations`` was previously scheduled to become mandatory in Python 3.10, but the change was delayed and ultimately canceled. This feature will eventually be deprecated and removed. See :pep:`649` and :pep:`749`."
msgstr "``from __future__ import annotations`` قبلاً قرار بود در پایتون ۳.۱۰ اجباری شود، اما این تغییر به تعویق افتاد و در نهایت لغو شد. این ویژگی در نهایت منسوخ و حذف خواهد شد. برای اطلاعات بیشتر به :pep:`649` و :pep:`749` مراجعه کنید."
msgid ":ref:`future`"
msgstr ":ref:`future`"
msgid "How the compiler treats future imports."
msgstr "نحوهی برخورد کامپایلر با ایمپورتهای future"
msgid ":pep:`236` - Back to the __future__"
msgstr ":pep:`236` - بازگشت به __future__"
msgid "The original proposal for the __future__ mechanism."
msgstr "پیشنهاد اولیه برای مکانیزم __future__."