Repository navigation
🔍 Translation review needed after CPython sync (2026-10-14) #100
Copy link
Copy link
Open
Labels
تغییرات خودکار در ترجمههاتغییرات اعمال شده خودکار بعد از همگامسازی با CPythonتغییرات اعمال شده خودکار بعد از همگامسازی با CPython
Description
Summary
- 🔍 10 newly fuzzy strings in 4 files
- ✏️ 17 new untranslated strings in 3 files
🔍 Newly fuzzy strings
The source text changed slightly, so the existing translation (msgstr) may need updating. - is the old source, + the new.
library/annotationlib.po (2 new fuzzy)
- Optional: A tuple of the function's positional defaults ``__kwdefaults__``, if the function represented by ``__code__`` uses any positional defaults.
+ Optional: A tuple of the function's positional defaults ``__defaults__``, if the function represented by ``__code__`` uses any positional defaults.
msgstr: اختیاری: یک تاپل از پیشفرضهای جایگاهی تابع ``__kwdefaults__``، اگر تابع نشاندادهشده توسط ``__code__`` از هرگونه پیشفرض جایگاهی استفاده کند.
- Optional: A dict of the function's keyword defaults ``__defaults__``, if the function represented by ``__code__`` uses any keyword defaults.
+ Optional: A dict of the function's keyword defaults ``__kwdefaults__``, if the function represented by ``__code__`` uses any keyword defaults.
msgstr: اختیاری: یک دیکشنری از مقادیر پیشفرض کلیدواژهای تابع ``__defaults__``، اگر تابع نشاندادهشده با ``__code__`` از مقادیر پیشفرض کلیدواژهای استفاده کند.
library/concurrent.interpreters.po (5 new fuzzy)
- A wrapper around a low-level, cross-interpreter queue, which implements the :class:`queue.Queue` interface. The underlying queue can only be created through :…
+ A wrapper around a low-level, cross-interpreter queue, which implements all the methods of :class:`queue.Queue` except for :meth:`~queue.Queue.task_done`, :met…
msgstr: پوششی برای یک صف بینمفسری سطح پایین، که رابط :class:`queue.Queue` را پیادهسازی میکند. صف زیرین فقط از طریق :func:`create_queue` قابل ایجاد است.
- Return ``True`` if the interpreter is currently executing code in its :mod:`!__main__` module and ``False`` otherwise.
+ Return ``True`` if the queue is full, ``False`` otherwise.
msgstr: اگر مفسر هماکنون در حال اجرای کد در ماژول :mod:`!__main__` خود باشد، ``True`` و در غیر این صورت ``False`` برمیگرداند.
- This exception, a subclass of :exc:`queue.Empty`, is raised from :meth:`!Queue.get` and :meth:`!Queue.get_nowait` when the queue is empty.
+ This exception, a subclass of :exc:`queue.Empty`, is raised from :meth:`Queue.get` and :meth:`Queue.get_nowait` when the queue is empty.
msgstr: این استثنا، زیرکلاسی از :exc:`queue.Empty`، زمانی از :meth:`!Queue.get` و :meth:`!Queue.get_nowait` پرتاب میشود که صف خالی باشد.
- This exception, a subclass of :exc:`queue.Full`, is raised from :meth:`!Queue.put` and :meth:`!Queue.put_nowait` when the queue is full.
+ This exception, a subclass of :exc:`queue.Full`, is raised from :meth:`Queue.put` and :meth:`Queue.put_nowait` when the queue is full.
msgstr: این استثنا، زیرکلاسی از :exc:`queue.Full`، هنگامی از :meth:`!Queue.put` و :meth:`!Queue.put_nowait` پرتاب میشود که صف پر باشد.
- Communicating Between Interpreters
+ Communicating between interpreters with a queue::
msgstr: ارتباط بین مفسرها
library/http.client.po (1 new fuzzy)
- The *headers* argument should be a mapping of extra HTTP headers to send with the CONNECT request.
+ The *headers* argument should be a mapping of extra HTTP headers to send with the CONNECT request. Non-string header values are converted to strings via :func:…
msgstr: آرگومان *headers* باید یک نگاشت از سرآیندهای HTTP اضافی برای ارسال بههمراه درخواست CONNECT باشد.
whatsnew/changelog.po (2 new fuzzy)
- :gh:`156939`: Fix :c:func:`PyBytesWriter_Format` error handling: restore the writer to its previous state on error. Patch by Victor Stinner.
+ :gh:`157242`: If :meth:`bytearray.resize` or :meth:`bytearray.take_bytes` fails, leave the :class:`bytearray` unchanged, instead of clearing it. Patch by Victo…
msgstr: :gh:`156939`: رفع نحوهی مدیریت خطای تابع :c:func:`PyBytesWriter_Format`: بازگرداندن نویسنده (writer) به وضعیت قبلی خود در صورت بروز خطا. وصله توسط Victor Stin…
- :gh:`149044`: Fix the :c:macro:`PySlot_END` macro for C++: initialize all members to avoid compiler warnings. Patch by Victor Stinner.
+ :gh:`158810`: Fix :c:macro:`Py_ARRAY_LENGTH()` macro on C++: do not use ``__builtin_types_compatible_p()`` on C++. Patch by Victor Stinner.
msgstr: :gh:`149044`: رفع ماکروی :c:macro:`PySlot_END` برای C++: مقداردهی اولیهی همهی اعضا برای جلوگیری از هشدارهای کامپایلر. وصله توسط ویکتور استینر (Victor Stinner…
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
library/concurrent.interpreters.po (8 new untranslated)
*maxsize* is an integer that sets the upperbound limit on the number of items that can be placed in the queue. Insertion will be blocked once this size has bee…
Return the number of items in the queue.
Return ``True`` if the queue is empty, ``False`` otherwise.
Put *obj* into the queue. If optional args *block* is true and *timeout* is ``None`` (the default), block if necessary until a free slot is available. If *ti…
Equivalent to ``put(obj, block=False)``.
Remove and return an object from the queue. If optional args *block* is true and *timeout* is ``None`` (the default), block if necessary until an object is av…
Equivalent to ``get(block=False)``.
from concurrent import interpreters\n\ninterp = interpreters.create()\nqueue = interpreters.create_queue()\n\ndef worker(queue):\n queue.put('spam!')\n\nt =…
library/os.po (1 new untranslated)
Sharing a :func:`scandir` iterator between threads will not corrupt the iterator, but it is subject to :term:`race conditions <race condition>`: which entries …
whatsnew/changelog.po (8 new untranslated)
:gh:`159285`: Fix a crash in a debug build when copying an empty :class:`dict` fails with :exc:`MemoryError`. Patch by Christian Aurich Zanettini Martins.
:gh:`155823`: Fix a JIT bug where the side exit taken when a virtual iterator is exhausted left a stale value on the stack, so the tier one interpreter resumed…
:gh:`151518`: Fix a free-threaded stop-the-world fairness issue that could starve a thread reattaching after being suspended while detached.
:gh:`149816`: Fix a Use-After-Free race condition in ``subtype_getweakref()`` during concurrent weakref creation and destruction in the free-threading build.
:gh:`159225`: Prevent ``input`` calls in PyREPL from modifying readline history.
:gh:`159044`: Restore the previous behaviour of :meth:`http.client.HTTPConnection.set_tunnel` where header values that are not strings (such as :const:`None`, …
:gh:`152754`: Fix a crash when the same :func:`os.scandir` iterator is used concurrently from multiple threads. It no longer releases the directory handle whi…
:gh:`152692`: Fix :func:`annotationlib.type_repr` returning a string such as ``None.list.append`` for bound built-in methods, whose ``__module__`` is ``None``.…
Triggered by sync with 3.15 (commit 5308803).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
تغییرات خودکار در ترجمههاتغییرات اعمال شده خودکار بعد از همگامسازی با CPythonتغییرات اعمال شده خودکار بعد از همگامسازی با CPython
Activity