| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 06e0451 commit d7188df
14 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-10-10 04:18+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-24 04:15+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2026-09-24 07:55+0330\n" | |
| 16 | 16 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 17 | 17 | "Language-Team: none\n" | |
@@ -479,7 +479,9 @@ msgstr "*source* را به یک شیء کد یا AST کامپایل میکن | |||
| 479 | 479 | msgid "The *filename* argument should give the file from which the code was read; pass some recognizable value if it wasn't read from a file (``'<string>'`` is commonly used)." | |
| 480 | 480 | msgstr "آرگومان *filename* باید نام پروندهای را مشخص کند که کد از آن خوانده شده است؛ اگر کد از پرونده خوانده نشده، مقدار قابل تشخیصی را ارسال کنید (معمولاً از ``'<string>'`` استفاده میشود)." | |
| 481 | 481 | ||
| 482 | - msgid "The *mode* argument specifies what kind of code must be compiled; it can be ``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if it consists of a single expression, or ``'single'`` if it consists of a single interactive statement (in the latter case, expression statements that evaluate to something other than ``None`` will be printed)." | ||
| 482 | + #, fuzzy | ||
| 483 | + #| msgid "The *mode* argument specifies what kind of code must be compiled; it can be ``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if it consists of a single expression, or ``'single'`` if it consists of a single interactive statement (in the latter case, expression statements that evaluate to something other than ``None`` will be printed)." | ||
| 484 | + msgid "The *mode* argument specifies what kind of code must be compiled; it can be ``'exec'`` if *source* consists of a sequence of statements, ``'eval'`` if it consists of a single expression, or ``'single'`` if it consists of a single interactive statement (in the latter case, expression statements that evaluate to something other than ``None`` will be printed). It can also be ``'func_type'`` if *source* consists of a function type signature, for example ``(int) -> str``; see :func:`ast.parse` for more information. This mode requires passing :data:`ast.PyCF_ONLY_AST` in *flags*." | ||
| 483 | 485 | msgstr "آرگومان *mode* مشخص میکند که چه نوع کدی باید کامپایل شود؛ اگر *source* شامل دنبالهای از دستورها باشد، میتواند ``'exec'`` باشد؛ اگر شامل تنها یک عبارت باشد، ``'eval'``؛ و اگر شامل تنها یک دستور تعاملی باشد، ``'single'`` (در حالت آخر، اگر عبارت مقداری غیر از ``None`` تولید کند، آن مقدار چاپ خواهد شد)." | |
| 484 | 486 | ||
| 485 | 487 | msgid "The optional arguments *flags* and *dont_inherit* control which :ref:`compiler options <ast-compiler-flags>` should be activated and which :ref:`future features <future>` should be allowed. If neither is present (or both are zero) the code is compiled with the same flags that affect the code that is calling :func:`compile`. If the *flags* argument is given and *dont_inherit* is not (or is zero) then the compiler options and the future statements specified by the *flags* argument are used in addition to those that would be used anyway. If *dont_inherit* is a non-zero integer then the *flags* argument is it -- the flags (future features and compiler options) in the surrounding code are ignored." | |
@@ -518,6 +520,9 @@ msgstr "پیش از این، هنگام برخورد با بایتهای ته | |||
| 518 | 520 | msgid "``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable support for top-level ``await``, ``async for``, and ``async with``." | |
| 519 | 521 | msgstr "اکنون میتوان ``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` را در پرچمها ارسال کرد تا از ``await``، ``async for`` و ``async with`` در سطح بالای کد (top-level) پشتیبانی شود." | |
| 520 | 522 | ||
| 523 | + msgid "Added support for ``mode='func_type'``." | ||
| 524 | + msgstr "" | ||
| 525 | + | ||
| 521 | 526 | msgid ":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes are encountered in *source*." | |
| 522 | 527 | msgstr "هنگامی که بایتهای تهی در *source* یافت شوند، :exc:`SyntaxError` بهجای :exc:`ValueError` پرتاب میشود." | |
| 523 | 528 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ msgid "" | |||
| 13 | 13 | msgstr "" | |
| 14 | 14 | "Project-Id-Version: Python 3.14\n" | |
| 15 | 15 | "Report-Msgid-Bugs-To: \n" | |
| 16 | - "POT-Creation-Date: 2026-10-22 04:16+0000\n" | ||
| 16 | + "POT-Creation-Date: 2026-10-24 04:15+0000\n" | ||
| 17 | 17 | "PO-Revision-Date: 2021-06-28 00:48+0000\n" | |
| 18 | 18 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 19 | 19 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -77,11 +77,15 @@ msgstr "به ``PyUnstable_Code_NewWithPosOnlyArgs`` تغییر نام یافت. | |||
| 77 | 77 | msgid "Return a new empty code object with the specified filename, function name, and first line number. The resulting code object will raise an ``Exception`` if executed." | |
| 78 | 78 | msgstr "یک شیء کد خالی جدید با نام پرونده، نام تابع و شماره سطر اول مشخصشده برمیگرداند. شیء کد حاصل در صورت اجرا یک ``Exception`` پرتاب میکند." | |
| 79 | 79 | ||
| 80 | - msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead." | ||
| 80 | + #, fuzzy | ||
| 81 | + #| msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead." | ||
| 82 | + msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. This may be ``O(N)`` in the number of instructions in the code object, so it is not performant for iterating over all the line numbers in a code object." | ||
| 81 | 83 | msgstr "شماره سطر دستوری را برمیگرداند که در ``byte_offset`` یا پیش از آن قرار دارد و پس از آن پایان مییابد. اگر فقط به شماره سطر یک فریم نیاز دارید، بهجای آن از :c:func:`PyFrame_GetLineNumber` استفاده کنید." | |
| 82 | 84 | ||
| 83 | - msgid "For efficiently iterating over the line numbers in a code object, use :pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`." | ||
| 84 | - msgstr "برای پیمایش کارآمد شماره سطرهای یک شیء کد، از :pep:`API توصیفشده در PEP 626 <0626#out-of-process-debuggers-and-profilers>` استفاده کنید." | ||
| 85 | + #, fuzzy | ||
| 86 | + #| msgid "Return the line number of the instruction that occurs on or before ``byte_offset`` and ends after it. If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead." | ||
| 87 | + msgid "If you just need the line number of a frame, use :c:func:`PyFrame_GetLineNumber` instead." | ||
| 88 | + msgstr "شماره سطر دستوری را برمیگرداند که در ``byte_offset`` یا پیش از آن قرار دارد و پس از آن پایان مییابد. اگر فقط به شماره سطر یک فریم نیاز دارید، بهجای آن از :c:func:`PyFrame_GetLineNumber` استفاده کنید." | ||
| 85 | 89 | ||
| 86 | 90 | msgid "Sets the passed ``int`` pointers to the source code line and column numbers for the instruction at ``byte_offset``. Sets the value to ``0`` when information is not available for any particular element." | |
| 87 | 91 | msgstr "اشارهگرهای ``int`` ارسالشده را برابر شماره سطر و ستون کد منبع برای دستورالعمل در ``byte_offset`` قرار میدهد. وقتی اطلاعات برای هیچ عنصر خاصی در دسترس نباشد، مقدار را ``0`` قرار میدهد." | |
@@ -271,3 +275,6 @@ msgstr "شیء کد" | |||
| 271 | 275 | ||
| 272 | 276 | msgid "PyCode_New (C function)" | |
| 273 | 277 | msgstr "PyCode_New (تابع C)" | |
| 278 | + | ||
| 279 | + #~ msgid "For efficiently iterating over the line numbers in a code object, use :pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`." | ||
| 280 | + #~ msgstr "برای پیمایش کارآمد شماره سطرهای یک شیء کد، از :pep:`API توصیفشده در PEP 626 <0626#out-of-process-debuggers-and-profilers>` استفاده کنید." | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ msgid "" | |||
| 14 | 14 | msgstr "" | |
| 15 | 15 | "Project-Id-Version: Python 3.14\n" | |
| 16 | 16 | "Report-Msgid-Bugs-To: \n" | |
| 17 | - "POT-Creation-Date: 2026-10-22 04:16+0000\n" | ||
| 17 | + "POT-Creation-Date: 2026-10-24 04:15+0000\n" | ||
| 18 | 18 | "PO-Revision-Date: 2026-09-15 13:22+0330\n" | |
| 19 | 19 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 20 | 20 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -619,15 +619,24 @@ msgstr "برای کامل بودن، همه متغیرها اینجا آمد | |||
| 619 | 619 | msgid "Exception types" | |
| 620 | 620 | msgstr "نوعهای استثنا" | |
| 621 | 621 | ||
| 622 | + msgid "These pointers are part of the :ref:`Stable ABI <stable>` since the version in the *S.ABI* column (or since 3.2 when *S.ABI* is empty). Exceptions marked N/A are *not* part of the Stable ABI." | ||
| 623 | + msgstr "" | ||
| 624 | + | ||
| 622 | 625 | msgid "C name" | |
| 623 | 626 | msgstr "نام C" | |
| 624 | 627 | ||
| 628 | + msgid "S.ABI" | ||
| 629 | + msgstr "" | ||
| 630 | + | ||
| 625 | 631 | msgid "Python name" | |
| 626 | 632 | msgstr "نام پایتونی" | |
| 627 | 633 | ||
| 628 | 634 | msgid ":exc:`BaseException`" | |
| 629 | 635 | msgstr ":exc:`BaseException`" | |
| 630 | 636 | ||
| 637 | + msgid "3.11" | ||
| 638 | + msgstr "" | ||
| 639 | + | ||
| 631 | 640 | msgid ":exc:`BaseExceptionGroup`" | |
| 632 | 641 | msgstr ":exc:`BaseExceptionGroup`" | |
| 633 | 642 | ||
@@ -643,6 +652,9 @@ msgstr ":exc:`AssertionError`" | |||
| 643 | 652 | msgid ":exc:`AttributeError`" | |
| 644 | 653 | msgstr ":exc:`AttributeError`" | |
| 645 | 654 | ||
| 655 | + msgid "3.7" | ||
| 656 | + msgstr "" | ||
| 657 | + | ||
| 646 | 658 | msgid ":exc:`BlockingIOError`" | |
| 647 | 659 | msgstr ":exc:`BlockingIOError`" | |
| 648 | 660 | ||
@@ -682,6 +694,9 @@ msgstr ":exc:`FloatingPointError`" | |||
| 682 | 694 | msgid ":exc:`GeneratorExit`" | |
| 683 | 695 | msgstr ":exc:`GeneratorExit`" | |
| 684 | 696 | ||
| 697 | + msgid "N/A" | ||
| 698 | + msgstr "" | ||
| 699 | + | ||
| 685 | 700 | msgid ":exc:`ImportCycleError`" | |
| 686 | 701 | msgstr ":exc:`ImportCycleError`" | |
| 687 | 702 | ||
@@ -712,6 +727,9 @@ msgstr ":exc:`LookupError`" | |||
| 712 | 727 | msgid ":exc:`MemoryError`" | |
| 713 | 728 | msgstr ":exc:`MemoryError`" | |
| 714 | 729 | ||
| 730 | + msgid "3.6" | ||
| 731 | + msgstr "" | ||
| 732 | + | ||
| 715 | 733 | msgid ":exc:`ModuleNotFoundError`" | |
| 716 | 734 | msgstr ":exc:`ModuleNotFoundError`" | |
| 717 | 735 | ||
@@ -829,6 +847,9 @@ msgstr ":c:var:`!PyExc_WindowsError` تنها در ویندوز تعریف شد | |||
| 829 | 847 | msgid "Warning types" | |
| 830 | 848 | msgstr "انواع هشدار" | |
| 831 | 849 | ||
| 850 | + msgid "These pointers are part of the :ref:`Stable ABI <stable>` since the version in the *S.ABI* column (or since 3.2 when *S.ABI* is empty)." | ||
| 851 | + msgstr "" | ||
| 852 | + | ||
| 832 | 853 | msgid ":exc:`Warning`" | |
| 833 | 854 | msgstr ":exc:`Warning`" | |
| 834 | 855 | ||
@@ -838,6 +859,9 @@ msgstr ":exc:`BytesWarning`" | |||
| 838 | 859 | msgid ":exc:`DeprecationWarning`" | |
| 839 | 860 | msgstr ":exc:`DeprecationWarning`" | |
| 840 | 861 | ||
| 862 | + msgid "3.10" | ||
| 863 | + msgstr "" | ||
| 864 | + | ||
| 841 | 865 | msgid ":exc:`EncodingWarning`" | |
| 842 | 866 | msgstr ":exc:`EncodingWarning`" | |
| 843 | 867 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-16 12:56+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-24 04:15+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2021-06-28 00:49+0000\n" | |
| 16 | 16 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 17 | 17 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -60,6 +60,9 @@ msgstr "نوعهای پیمایشگر توکار" | |||
| 60 | 60 | msgid "These are built-in iteration types that are included in Python's C API, but provide no additional functions. They are here for completeness." | |
| 61 | 61 | msgstr "اینها نوعهای پیمایش توکار هستند که در API زبان C پایتون گنجانده شدهاند، اما هیچ تابع اضافهای ارائه نمیدهند. آنها برای کامل بودن اینجا قرار دارند." | |
| 62 | 62 | ||
| 63 | + msgid "These pointers are part of the :ref:`Stable ABI <stable>`." | ||
| 64 | + msgstr "" | ||
| 65 | + | ||
| 63 | 66 | msgid "C type" | |
| 64 | 67 | msgstr "نوع C" | |
| 65 | 68 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-16 12:56+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-24 04:15+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2026-09-14 10:19+0330\n" | |
| 16 | 16 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 17 | 17 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -31,6 +31,9 @@ msgstr "**کد منبع:** :source:`Lib/cmd.py`" | |||
| 31 | 31 | msgid "The :class:`Cmd` class provides a simple framework for writing line-oriented command interpreters. These are often useful for test harnesses, administrative tools, and prototypes that will later be wrapped in a more sophisticated interface." | |
| 32 | 32 | msgstr "کلاس :class:`Cmd` یک چارچوب ساده برای نوشتن مفسرهای فرمان خطمحور فراهم میکند. این مفسرها اغلب برای مهارهای آزمون، ابزارهای مدیریتی و پیشنمونههایی مفید هستند که بعداً در یک رابط پیشرفتهتر قرار خواهند گرفت." | |
| 33 | 33 | ||
| 34 | + msgid "A command interpreter built with :class:`Cmd` typically presents the user with an interactive prompt, reads input one line at a time, and dispatches each command to a method named ``do_`` followed by the command name. For example, the ``help`` command is handled by the :meth:`~Cmd.do_help` method. Apart from the built-in ``help`` command, most of the interpreter's behavior is defined by the ``do_*`` methods you add in your own subclass." | ||
| 35 | + msgstr "" | ||
| 36 | + | ||
| 34 | 37 | msgid "A :class:`Cmd` instance or subclass instance is a line-oriented interpreter framework. There is no good reason to instantiate :class:`Cmd` itself; rather, it's useful as a superclass of an interpreter class you define yourself in order to inherit :class:`Cmd`'s methods and encapsulate action methods." | |
| 35 | 38 | msgstr "یک نمونه از :class:`Cmd` یا نمونهای از یک زیرکلاس، یک چارچوب مفسر خطمحور است. دلیل موجهی برای نمونهسازی خود :class:`Cmd` وجود ندارد؛ در عوض، این کلاس بهعنوان ابرکلاسِ کلاس مفسری که خودتان تعریف میکنید مفید است، تا متدهای :class:`Cmd` را به ارث ببرید و متدهای عملیاتی را کپسوله کنید." | |
| 36 | 39 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ msgid "" | |||
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.14\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2026-09-16 12:56+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-10-24 04:15+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2026-09-13 19:48+0330\n" | |
| 17 | 17 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 18 | 18 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -116,7 +116,9 @@ msgstr "" | |||
| 116 | 116 | " e.submit(shutil.copy, 'src3.txt', 'dest3.txt')\n" | |
| 117 | 117 | " e.submit(shutil.copy, 'src4.txt', 'dest4.txt')" | |
| 118 | 118 | ||
| 119 | - msgid "Added *cancel_futures*." | ||
| 119 | + #, fuzzy | ||
| 120 | + #| msgid "Added *cancel_futures*." | ||
| 121 | + msgid "Added the *cancel_futures* parameter." | ||
| 120 | 122 | msgstr "*cancel_futures* اضافه شد." | |
| 121 | 123 | ||
| 122 | 124 | msgid "ThreadPoolExecutor" | |
@@ -196,6 +198,12 @@ msgstr "پیش از آنکه مفسر بتواند خارج شود، همه نخ | |||
| 196 | 198 | msgid "*initializer* is an optional callable that is called at the start of each worker thread; *initargs* is a tuple of arguments passed to the initializer. Should *initializer* raise an exception, all currently pending jobs will raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`, as well as any attempt to submit more jobs to the pool." | |
| 197 | 199 | msgstr "*initializer* یک شیء فراخوانیپذیر اختیاری است که در آغاز هر نخکارگر فراخوانی میشود؛ *initargs* تاپلی از آرگومانها است که به initializer ارسال میشوند. در صورتی که *initializer* استثنایی پرتاب کند، همه کارهایی که در حال حاضر در انتظار هستند، و همچنین هر تلاشی برای ارسال کارهای بیشتر به استخر، یک :exc:`~concurrent.futures.thread.BrokenThreadPool` پرتاب خواهند کرد." | |
| 198 | 200 | ||
| 201 | + msgid "*ctxkwargs* is a mapping of additional keyword arguments passed to :meth:`prepare_context`, allowing customization of the worker execution context." | ||
| 202 | + msgstr "" | ||
| 203 | + | ||
| 204 | + msgid "Setting up the necessary context for creating worker instances in a pool-based executor (for example, in a concurrent environment like threads or interpreters)." | ||
| 205 | + msgstr "" | ||
| 206 | + | ||
| 199 | 207 | msgid "If *max_workers* is ``None`` or not given, it will default to the number of processors on the machine, multiplied by ``5``, assuming that :class:`ThreadPoolExecutor` is often used to overlap I/O instead of CPU work and the number of workers should be higher than the number of workers for :class:`ProcessPoolExecutor`." | |
| 200 | 208 | msgstr "اگر *max_workers* ``None`` باشد یا ارائه نشود، بهطور پیشفرض برابر با تعداد پردازندههای ماشین ضرب در ``5`` خواهد بود، با این فرض که :class:`ThreadPoolExecutor` اغلب برای همپوشانی ورودی/خروجی بهجای کار پردازنده استفاده میشود و تعداد کارگرها باید بیشتر از تعداد کارگرهای :class:`ProcessPoolExecutor` باشد." | |
| 201 | 209 | ||
@@ -214,6 +222,9 @@ msgstr "ThreadPoolExecutor اکنون پیش از راهاندازی *max_wor | |||
| 214 | 222 | msgid "Default value of *max_workers* is changed to ``min(32, (os.process_cpu_count() or 1) + 4)``." | |
| 215 | 223 | msgstr "مقدار پیشفرض *max_workers* به ``min(32, (os.process_cpu_count() or 1) + 4)`` تغییر کرده است." | |
| 216 | 224 | ||
| 225 | + msgid "Added *ctxkwargs* to pass additional arguments to :meth:`prepare_context` class method." | ||
| 226 | + msgstr "" | ||
| 227 | + | ||
| 217 | 228 | msgid "ThreadPoolExecutor Example" | |
| 218 | 229 | msgstr "مثال ThreadPoolExecutor" | |
| 219 | 230 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments