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

Abierto
#138 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
62/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
107
Forks
20
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de python/python-docs-fa

Todos los issues de python/python-docs-fa

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.