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

Ouverte
#138 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
62/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
python

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Python
Étoiles
107
Forks
20
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de python/python-docs-fa

Toutes les issues de python/python-docs-fa

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.