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

未关闭
#138 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
半天
新手友好度
62/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
python

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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).

主要语言
Python
星标
107
派生
20
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

python/python-docs-fa 的其他 Issue

查看 python/python-docs-fa 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。