🔍 Translation review needed after CPython sync (2026-11-15)

Đang mở
#138 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
62/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python

Hướng nghiên cứu

Work file by file: library/dis.po (3 fuzzy plus 9 new strings), c-api/dict.po (3 new) and whatsnew/changelog.po (3 new). Start with the fuzzy entries in library/dis.po, reading the CPython 3.15 dis documentation for GET_ITER, FOR_ITER, SEND and POP_ITER so the msgstr matches the new stack layout, then translate the untouched strings. Done means every listed entry has an updated Persian msgstr with no fuzzy flags left and the docs build without new warnings.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

3.15 تغییرات خودکار در ترجمه‌ها

Summary

  • 🔍 3 newly fuzzy strings in 1 files
  • ✏️ 15 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/dis.po (3 new fuzzy)
- Removes the iterator from the top of the stack.
+ Removes the iterator and the value pushed with it by :opcode:`GET_ITER` from the top of the stack.
  msgstr: پیمایش‌گر را از بالای پشته حذف می‌کند.

- Implements ``del STACK[-2]``. Used to clean up when a generator exits.
+ Implements ``del STACK[-3:-1]``. Used to clean up when a generator exits.
  msgstr: ``del STACK[-2]`` را پیاده‌سازی می‌کند. برای پاک‌سازی هنگام خروج یک تولیدگر استفاده می‌شود.

- ``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…
+ ``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 …
  msgstr: ``STACK[-1]`` یک :term:`پیمایش‌گر <iterator>` است.  متد :meth:`~iterator.__next__` آن را فراخوانی کنید. اگر این یک مقدار جدید تولید کرد، آن را در پشته قرار دهی…

✏️ New untranslated strings

Brand-new source strings with no close match to an existing translation.

c-api/dict.po (3 new untranslated)
This is the same as ``PyDict_Merge(a, b, 1)`` in C.
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.…
Return ``0`` on success or ``-1`` if an exception was raised.
library/dis.po (9 new untranslated)
Two values are now removed.
The receiver and the value pushed with it by :opcode:`GET_ITER` are removed, instead of only the receiver.
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`.
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 sta…
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 generat…
A second value is now pushed after the iterator.  The *yield_from* argument was added, replacing the ``GET_YIELD_FROM_ITER`` instruction.
The iterator is now followed on the stack by the value pushed with it by :opcode:`GET_ITER`.
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 …
The receiver is now at ``STACK[-3]``, followed by the value pushed with it by :opcode:`GET_ITER`.
whatsnew/changelog.po (3 new untranslated)
: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__`.
: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 applicati…
: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…

Triggered by sync with 3.15 (commit 15e1a07a).

Ngôn ngữ chính
Python
Star
107
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của python/python-docs-fa

Tất cả issue của python/python-docs-fa

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.