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

オープン
#138 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

python/python-docs-fa のほかの issue

python/python-docs-fa の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。