Skip to content

Commit 15e1a07

Browse files
chore: sync msgids with CPython 3.15
1 parent 48b5317 commit 15e1a07

3 files changed

Lines changed: 65 additions & 17 deletions

File tree

‎c-api/dict.po‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-10-22 04:16+0000\n"
17+
"POT-Creation-Date: 2026-11-15 04:10+0000\n"
1818
"PO-Revision-Date: 2026-10-06 20:44+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -269,8 +269,14 @@ msgstr "بر روی شیء نگاشت *b* پیمایش می‌کند و جفت
269269
msgid "In the :term:`free-threaded build`, when *b* is a :class:`dict` (with the standard iterator), both *a* and *b* are locked for the duration of the operation. When *b* is a non-dict mapping, only *a* is locked; *b* may be concurrently modified by another thread."
270270
msgstr "در :term:`free-threaded build`، وقتی *b* یک :class:`dict` (با پیمایش‌گر استاندارد) باشد، هر دو *a* و *b* در طول عملیات قفل می‌شوند. وقتی *b* یک نگاشت غیردیکشنری باشد، فقط *a* قفل می‌شود؛ *b* ممکن است توسط نخ دیگری به‌طور هم‌زمان تغییر یابد."
271271

272-
msgid "This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back to the iterating over a sequence of key value pairs if the second argument has no \"keys\" attribute. Return ``0`` on success or ``-1`` if an exception was raised."
273-
msgstr "این همان ``PyDict_Merge(a, b, 1)`` در C است و مشابه ``a.update(b)`` در پایتون است، با این تفاوت که :c:func:`PyDict_Update` در صورتی که آرگومان دوم ویژگی «keys» نداشته باشد، به پیمایش دنباله‌ای از جفت‌های کلید-مقدار بازنمی‌گردد. در صورت موفقیت ``0`` و در صورت بروز استثنا ``-1`` را برمی‌گرداند."
272+
msgid "This is the same as ``PyDict_Merge(a, b, 1)`` in C."
273+
msgstr ""
274+
275+
msgid "Similar to ``a.update(b)`` in Python, except that this function does not fall back to the iterating over a sequence of key-value pairs if *b* is not a mapping. Use :c:func:`PyDict_MergeFromSeq2` for this case."
276+
msgstr ""
277+
278+
msgid "Return ``0`` on success or ``-1`` if an exception was raised."
279+
msgstr ""
274280

275281
msgid "Update or merge into dictionary *a*, from the key-value pairs in *seq2*. *seq2* must be an iterable object producing iterable objects of length 2, viewed as key-value pairs. In case of duplicate keys, the last wins if *override* is true, else the first wins. Return ``0`` on success or ``-1`` if an exception was raised. Equivalent Python (except for the return value)::"
276282
msgstr "به‌روزرسانی یا ادغام در دیکشنری *a*، از جفت‌های کلید-مقدار در *seq2*. *seq2* باید یک شیء پیمایش‌پذیر باشد که اشیاء پیمایش‌پذیر با طول ۲ تولید می‌کند که به‌عنوان جفت‌های کلید-مقدار در نظر گرفته می‌شوند. در صورت وجود کلیدهای تکراری، اگر *override* درست باشد آخری برنده می‌شود، در غیر این صورت اولی برنده می‌شود. در صورت موفقیت ``0`` و در صورت پرتاب استثنا ``-1`` برمی‌گرداند. معادل پایتونی (به‌جز مقدار بازگشتی)::"
@@ -462,3 +468,6 @@ msgstr "تابع توکار"
462468

463469
msgid "len"
464470
msgstr "len"
471+
472+
#~ msgid "This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a.update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back to the iterating over a sequence of key value pairs if the second argument has no \"keys\" attribute. Return ``0`` on success or ``-1`` if an exception was raised."
473+
#~ msgstr "این همان ``PyDict_Merge(a, b, 1)`` در C است و مشابه ``a.update(b)`` در پایتون است، با این تفاوت که :c:func:`PyDict_Update` در صورتی که آرگومان دوم ویژگی «keys» نداشته باشد، به پیمایش دنباله‌ای از جفت‌های کلید-مقدار بازنمی‌گردد. در صورت موفقیت ``0`` و در صورت بروز استثنا ``-1`` را برمی‌گرداند."

‎library/dis.po‎

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-11-06 04:12+0000\n"
16+
"POT-Creation-Date: 2026-11-15 04:10+0000\n"
1717
"PO-Revision-Date: 2026-09-13 16:54+0330\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -407,9 +407,14 @@ msgstr "کد بدون عمل. توسط بهینه‌ساز بایت‌کد به
407407
msgid "Do nothing code. Used by the interpreter to record :monitoring-event:`BRANCH_LEFT` and :monitoring-event:`BRANCH_RIGHT` events for :mod:`sys.monitoring`."
408408
msgstr "کد بدون عمل. توسط مفسر برای ثبت رویدادهای :monitoring-event:`BRANCH_LEFT` و :monitoring-event:`BRANCH_RIGHT` برای :mod:`sys.monitoring` استفاده می‌شود."
409409

410-
msgid "Removes the iterator from the top of the stack."
410+
#, fuzzy
411+
#| msgid "Removes the iterator from the top of the stack."
412+
msgid "Removes the iterator and the value pushed with it by :opcode:`GET_ITER` from the top of the stack."
411413
msgstr "پیمایش‌گر را از بالای پشته حذف می‌کند."
412414

415+
msgid "Two values are now removed."
416+
msgstr ""
417+
413418
msgid "Removes the top-of-stack item::"
414419
msgstr "آیتم بالای پشته را حذف می‌کند::"
415420

@@ -419,9 +424,14 @@ msgstr "STACK.pop()"
419424
msgid "Removes the top-of-stack item. Equivalent to ``POP_TOP``. Used to clean up at the end of loops, hence the name."
420425
msgstr "آیتم بالای پشته را حذف می‌کند. معادل ``POP_TOP`` است. برای پاک‌سازی در پایان حلقه‌ها استفاده می‌شود، به همین دلیل این نام را دارد."
421426

422-
msgid "Implements ``del STACK[-2]``. Used to clean up when a generator exits."
427+
#, fuzzy
428+
#| msgid "Implements ``del STACK[-2]``. Used to clean up when a generator exits."
429+
msgid "Implements ``del STACK[-3:-1]``. Used to clean up when a generator exits."
423430
msgstr "``del STACK[-2]`` را پیاده‌سازی می‌کند. برای پاک‌سازی هنگام خروج یک تولیدگر استفاده می‌شود."
424431

432+
msgid "The receiver and the value pushed with it by :opcode:`GET_ITER` are removed, instead of only the receiver."
433+
msgstr ""
434+
425435
msgid "Push the i-th item to the top of the stack without removing it from its original location::"
426436
msgstr "آیتم iاُم را بدون حذف آن از محل اصلی‌اش، در بالای پشته قرار می‌دهد::"
427437

@@ -465,11 +475,17 @@ msgstr "این دستور اکنون به عملوندی دقیقاً از نو
465475
msgid "Implements ``STACK[-1] = ~STACK[-1]``."
466476
msgstr "``STACK[-1] = ~STACK[-1]`` را پیاده‌سازی می‌کند."
467477

468-
msgid "Implements ``STACK[-1] = iter(STACK[-1])``."
469-
msgstr "``STACK[-1] = iter(STACK[-1])`` را پیاده‌سازی می‌کند."
478+
msgid "Replaces ``STACK[-1]`` with an iterator for it and pushes a second value, which is used by :opcode:`FOR_ITER`, :opcode:`SEND` and :opcode:`POP_ITER`."
479+
msgstr ""
470480

471-
msgid "If ``STACK[-1]`` is a :term:`generator iterator` or :term:`coroutine` object it is left as is. Otherwise, implements ``STACK[-1] = iter(STACK[-1])``."
472-
msgstr "اگر ``STACK[-1]`` یک شیء :term:`generator iterator` یا :term:`هم‌روال <coroutine>` باشد، به همان صورت باقی می‌ماند. در غیر این صورت، ``STACK[-1] = iter(STACK[-1])`` را پیاده‌سازی می‌کند."
481+
msgid "For some built-in sequence types, such as :class:`list` and :class:`tuple`, the object itself is left on the stack as a \"virtual iterator\" and the index to start iterating from is pushed. Otherwise, implements ``STACK[-1] = iter(STACK[-1])`` and pushes ``NULL``."
482+
msgstr ""
483+
484+
msgid "If *yield_from* is non-zero, the instruction is used for ``yield from``: a :term:`coroutine` object is left as is, unless the current code is a regular generator, in which case :exc:`TypeError` is raised."
485+
msgstr ""
486+
487+
msgid "A second value is now pushed after the iterator. The *yield_from* argument was added, replacing the ``GET_YIELD_FROM_ITER`` instruction."
488+
msgstr ""
473489

474490
msgid "Implements ``STACK[-1] = bool(STACK[-1])``."
475491
msgstr "``STACK[-1] = bool(STACK[-1])`` را پیاده‌سازی می‌کند."
@@ -947,12 +963,17 @@ msgstr "اگر ``STACK[-1]`` برابر ``None`` نباشد، شمارنده ب
947963
msgid "If ``STACK[-1]`` is ``None``, increments the bytecode counter by *delta*. ``STACK[-1]`` is popped."
948964
msgstr "اگر ``STACK[-1]`` برابر ``None`` باشد، شمارنده بایت‌کد را به اندازه *delta* افزایش می‌دهد. ``STACK[-1]`` برداشته می‌شود."
949965

950-
msgid "``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is :term:`exhausted` then the byte code counter is incremented by *delta*."
966+
#, fuzzy
967+
#| msgid "``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is :term:`exhausted` then the byte code counter is incremented by *delta*."
968+
msgid "``STACK[-2]`` is an :term:`iterator` (or a virtual iterator, see :opcode:`GET_ITER`) and ``STACK[-1]`` is the value pushed with it by :opcode:`GET_ITER`. Get the next item, calling the iterator's :meth:`~iterator.__next__` method if needed. If this yields a new value, push it on the stack (leaving the iterator below it). If the iterator indicates it is :term:`exhausted` then the byte code counter is incremented by *delta*."
951969
msgstr "``STACK[-1]`` یک :term:`پیمایش‌گر <iterator>` است. متد :meth:`~iterator.__next__` آن را فراخوانی کنید. اگر این یک مقدار جدید تولید کرد، آن را در پشته قرار دهید (و پیمایش‌گر زیر آن باقی می‌ماند). اگر پیمایش‌گر نشان دهد که :term:`اتمام‌یافته <exhausted>` شده است، شمارنده بایت‌کد به اندازه *delta* افزایش می‌یابد."
952970

953971
msgid "Up until 3.11 the iterator was popped when it was exhausted."
954972
msgstr "تا پیش از 3.11، پیمایش‌گر هنگامی که به پایان می‌رسید، از پشته برداشته می‌شد."
955973

974+
msgid "The iterator is now followed on the stack by the value pushed with it by :opcode:`GET_ITER`."
975+
msgstr ""
976+
956977
msgid "Loads the global named ``co_names[namei>>1]`` onto the stack. If the low bit of ``namei`` is set, a ``NULL`` is pushed onto the stack after the global variable."
957978
msgstr "متغیر سراسری نام‌گذاری‌شده‌ی ``co_names[namei>>1]`` را روی پشته بارگذاری می‌کند. اگر بیت کم‌ارزش ``namei`` تنظیم شده باشد، یک ``NULL`` پس از متغیر سراسری روی پشته قرار می‌گیرد."
958979

@@ -1221,12 +1242,15 @@ msgstr "مقدار oparg تغییر کرد تا شامل اطلاعاتی درب
12211242
msgid "Create a generator, coroutine, or async generator from the current frame. Used as first opcode of in code object for the above mentioned callables. Clear the current frame and return the newly created generator."
12221243
msgstr "یک تولیدگر، هم‌روال یا تولیدگر ناهمگام از فریم جاری ایجاد می‌کند. به‌عنوان نخستین کد عملیات (opcode) در شیء کد برای موارد فراخوانی‌پذیر ذکرشده در بالا استفاده می‌شود. فریم جاری را پاک می‌کند و تولیدگر تازه‌ساخته را برمی‌گرداند."
12231244

1224-
msgid "Equivalent to ``STACK[-1] = STACK[-2].send(STACK[-1])``. Used in ``yield from`` and ``await`` statements."
1225-
msgstr "معادل ``STACK[-1] = STACK[-2].send(STACK[-1])`` است. در دستورات ``yield from`` و ``await`` استفاده می‌شود."
1245+
msgid "Equivalent to ``STACK[-1] = STACK[-3].send(STACK[-1])``. Used in ``yield from`` and ``await`` statements. ``STACK[-2]`` is the value pushed with the receiver by :opcode:`GET_ITER`; if the receiver is a virtual iterator, it is advanced as by :opcode:`FOR_ITER`."
1246+
msgstr ""
12261247

12271248
msgid "If the call raises :exc:`StopIteration`, pop the top value from the stack, push the exception's ``value`` attribute, and increment the bytecode counter by *delta*."
12281249
msgstr "اگر فراخوانی :exc:`StopIteration` را پرتاب کند، مقدار سر پشته را بردارید، ویژگی ``value`` استثنا را بر پشته بگذارید و شمارنده بایت‌کد را به اندازه‌ی *delta* افزایش دهید."
12291250

1251+
msgid "The receiver is now at ``STACK[-3]``, followed by the value pushed with it by :opcode:`GET_ITER`."
1252+
msgstr ""
1253+
12301254
msgid "This is not really an opcode. It identifies the dividing line between opcodes in the range [0,255] which don't use their argument and those that do (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively)."
12311255
msgstr "این واقعاً یک آپ‌کد (opcode) نیست. این خط جداکننده‌ی میان آپ‌کدها در بازه‌ی [۰،۲۵۵] را مشخص می‌کند: میان کدهایی که از آرگومان خود استفاده نمی‌کنند و کدهایی که استفاده می‌کنند (به‌ترتیب ``< HAVE_ARGUMENT`` و ``>= HAVE_ARGUMENT``)."
12321256

@@ -1466,6 +1490,15 @@ msgstr "تابع توکار"
14661490
msgid "slice"
14671491
msgstr "اسلایس"
14681492

1493+
#~ msgid "Implements ``STACK[-1] = iter(STACK[-1])``."
1494+
#~ msgstr "``STACK[-1] = iter(STACK[-1])`` را پیاده‌سازی می‌کند."
1495+
1496+
#~ msgid "If ``STACK[-1]`` is a :term:`generator iterator` or :term:`coroutine` object it is left as is. Otherwise, implements ``STACK[-1] = iter(STACK[-1])``."
1497+
#~ msgstr "اگر ``STACK[-1]`` یک شیء :term:`generator iterator` یا :term:`هم‌روال <coroutine>` باشد، به همان صورت باقی می‌ماند. در غیر این صورت، ``STACK[-1] = iter(STACK[-1])`` را پیاده‌سازی می‌کند."
1498+
1499+
#~ msgid "Equivalent to ``STACK[-1] = STACK[-2].send(STACK[-1])``. Used in ``yield from`` and ``await`` statements."
1500+
#~ msgstr "معادل ``STACK[-1] = STACK[-2].send(STACK[-1])`` است. در دستورات ``yield from`` و ``await`` استفاده می‌شود."
1501+
14691502
#~ msgid "Loads the global named ``co_names[namei>>1]`` onto the stack."
14701503
#~ msgstr "متغیر سراسری با نام ``co_names[namei>>1]`` را بر روی پشته بارگذاری می‌کند."
14711504

‎whatsnew/changelog.po‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-11-14 04:10+0000\n"
17+
"POT-Creation-Date: 2026-11-15 04:10+0000\n"
1818
"PO-Revision-Date: 2026-10-23 17:18+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -71,6 +71,9 @@ msgstr ":gh:`143008`: اصلاح شرایط رقابت هنگام مقدارده
7171
msgid "Core and Builtins"
7272
msgstr "هسته و توکارها (Core and Builtins)"
7373

74+
msgid ":gh:`161968`: Fix ``x *= seq`` raising :exc:`TypeError` when ``x`` is an instance of an :class:`int` subclass or of a class defining :meth:`~object.__index__`."
75+
msgstr ""
76+
7477
msgid ":gh:`161827`: Keep ``_PyEval_EvalFrameDefault`` as a separate frame in the C call stack when Python is built with the tail-calling interpreter (:option:`--with-tail-call-interp`), so that stack unwinders, profilers and other tools that walk the stack can find the interpreter loop."
7578
msgstr ""
7679

@@ -156,6 +159,9 @@ msgstr "کتابخانه"
156159
msgid ":gh:`152845`: Fix :mod:`zipfile` dropping the UTF-8 (EFS) flag for existing entries when rewriting an archive in append mode, and honor an explicitly set flag on new entries. Patch by Kasra Ghodsi."
157160
msgstr ""
158161

162+
msgid ":gh:`135893`: Fix a regression where importing :mod:`ctypes` could leave an extra file descriptor open on some Linux systems, or hang in x86-64 macOS applications signed with the hardened runtime."
163+
msgstr ""
164+
159165
msgid ":gh:`161712`: Fix :meth:`threading.Thread.join` with a timeout blocking forever when the deadline passed between the two reads of the clock used to compute the time left."
160166
msgstr ""
161167

@@ -354,9 +360,6 @@ msgstr ""
354360
msgid ":gh:`159168`: Fix :exc:`RecursionError` in ``python -m asyncio pstree`` on a deep chain of awaiting tasks. Patch by Timofei Ivankov."
355361
msgstr ":gh:`159620`: رفع دستورات ``python -m asyncio ps``، ``pstree`` و پشته‌های :mod:`profiling.sampling` آگاه از ناهمگامی که در تولیدگرهای ناهمگام متوقف می‌شوند. پچ توسط Timofei Ivankov."
356362

357-
msgid ":gh:`88037`: :func:`urllib.parse.urlsplit` and :func:`urllib.parse.urlparse` now raise :exc:`ValueError` for an invalid port when the URL is parsed, instead of when the :attr:`!port` attribute is read. Patch by Miguel Brito and Senthil Kumaran."
358-
msgstr ""
359-
360363
#, fuzzy
361364
#| msgid ":issue:`18108`: :func:`shutil.chown` now supports *dir_fd* and *follow_symlinks* keyword arguments."
362365
msgid ":gh:`158998`: Fix :func:`os.statx` ignoring the *follow_symlinks* argument."
@@ -365,6 +368,9 @@ msgstr ":issue:`18108`: تابع :func:`shutil.chown` اکنون از آرگوم
365368
msgid ":gh:`155233`: Fix :meth:`asyncio.Barrier.wait` returning duplicate indices when a waiting task is cancelled before the barrier is released.```"
366369
msgstr ""
367370

371+
msgid ":gh:`158166`: Fix the type of the ``msg`` attribute of :exc:`xml.etree.ElementTree.ParseError` in the pure Python implementation: it is now a string, as in the C implementation."
372+
msgstr ""
373+
368374
#, fuzzy
369375
#| msgid ":gh:`120244`: Fix memory leak in :func:`re.sub` when the replacement string contains backreferences."
370376
msgid ":gh:`158095`: Fix a memory leak in :func:`re.finditer` and regular expression scanners when their input participates in a reference cycle."

0 commit comments

Comments
 (0)