# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001 Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # Rafael Fontenelle , 2025 # Revisto , 2025 # Sepehr Rasouli , 2026 # invincible627 , 2026 # msgid "" msgstr "" "Project-Id-Version: Python 3.14\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 12:56+0000\n" "PO-Revision-Date: 2026-09-15 12:22+0330\n" "Last-Translator: Sepehr Rasouli , 2026\n" "Language-Team: Persian (https://github.com/python/python-docs-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" "X-Generator: Poedit 3.6\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 `. 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 ` نامیده می‌شوند. این موارد توسط کامپایلر پایتون به‌صورت ویژه درنظر گرفته می‌شوند تا امکان استفاده از ویژگی‌های جدید پایتون را در ماژول‌هایی که شامل دستور آینده هستند، قبل از نسخه‌ای که آن ویژگی به‌صورت استاندارد درمی‌آید، فراهم کنند." 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 ` 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 ` در نسخه‌های پیش از پایتون 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, # 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" ")" 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__."