Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

🔍 Translation review needed after CPython sync (2026-10-12)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

Start with the listed .po files, especially library/turtle.po and whatsnew/changelog.po, and review the fuzzy entries against their updated English source strings. Then translate the new untranslated strings in c-api/marshal.po, using/configure.po, and the other listed files. Check the project’s translation guidance and validation commands; done means the affected strings are accurately translated and the catalog validation passes.

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

描述

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

Summary

  • 🔍 47 newly fuzzy strings in 2 files
  • ✏️ 94 new untranslated strings in 4 files

🔍 Newly fuzzy strings

The source text changed slightly, so the existing translation (msgstr) may need updating. - is the old source, + the new.

library/turtle.po (36 new fuzzy)
- >>> turtle.showturtle()
+ showturtle()
  msgstr: >>> turtle.showturtle()

- You should see (most likely, in a new window on your display) a line drawn by the turtle, heading East. Change the direction of the turtle, so that it turns 12…
+ You should see a line drawn by the turtle, heading East. Change the direction of the turtle, so that it turns 120 degrees left (anti-clockwise)::
  msgstr: باید (به‌احتمال زیاد، در یک پنجره‌ی جدید روی نمایشگر شما) سطری را ببینید که لاک‌پشت آن را رو به شرق رسم کرده است. جهت لاک‌پشت را تغییر دهید تا ۱۲۰ درجه به چپ (…

- Return the current pencolor as color specification string or as a tuple (see example).  May be used as input to another color/pencolor/fillcolor/bgcolor call.
+ Return the current pencolor as color specification string or as a tuple (see example).  May be used as input to another :func:`color`, :func:`pencolor`, :func:…
  msgstr: رنگ قلم فعلی را به‌صورت رشته مشخصه رنگ یا تاپل برمی‌گرداند (مثال را ببینید). می‌تواند به‌عنوان ورودی برای فراخوانی دیگری از color/pencolor/fillcolor/bgcolor اس…

- Return the current fillcolor as color specification string, possibly in tuple format (see example).  May be used as input to another color/pencolor/fillcolor/b…
+ Return the current fillcolor as color specification string, possibly in tuple format (see example).  May be used as input to another :func:`color`, :func:`penc…
  msgstr: fillcolor فعلی را به‌عنوان رشته مشخصات رنگ برمی‌گرداند، احتمالاً در قالب تاپل (به مثال مراجعه کنید). ممکن است به‌عنوان ورودی برای فراخوانی دیگری از color/penco…

- Delete the turtle's drawings from the screen, re-center the turtle and set variables to the default values.
+ Delete the turtle's drawings and re-center the turtle. The turtle's settings are restored to their default values.
  msgstr: نقاشی‌های لاک‌پشت را از صفحه پاک می‌کند، لاک‌پشت را دوباره در مرکز قرار می‌دهد و متغیرها را روی مقادیر پیش‌فرض تنظیم می‌کند.

- Delete the turtle's drawings from the screen.  Do not move turtle.  State and position of the turtle as well as drawings of other turtles are not affected.
+ Delete the turtle's drawings from the screen. The state and position of the turtle as well as the drawings of other turtles are not affected.
  msgstr: ترسیمات لاک‌پشت را از صفحه حذف می‌کند. لاک‌پشت را حرکت نمی‌دهد. وضعیت و موقعیت لاک‌پشت و همچنین ترسیمات سایر لاک‌پشت‌ها تحت تأثیر قرار نمی‌گیرند.

- Return ``True`` if the Turtle is shown, ``False`` if it's hidden.
+ Return ``True`` if the turtle is shown, ``False`` if it's hidden.
  msgstr: اگر Turtle نمایش داده شده باشد، ``True`` و اگر پنهان باشد، ``False`` را برمی‌گرداند.

- a function with no arguments or ``None``
+ a function with two arguments or ``None``
  msgstr: تابعی بدون آرگومان یا ``None``

- an integer or ``None``
+ an integer
  msgstr: یک عدد صحیح یا ``None``

- a number or ``None``
+ a boolean or ``None``
  msgstr: یک عدد یا ``None``

  … and 26 more
whatsnew/changelog.po (11 new fuzzy)
- :gh:`140815`: :mod:`faulthandler` now detects if a frame or a code object is invalid or freed. Patch by Victor Stinner.
+ :gh:`158583`: :meth:`bytes.fromhex` and :meth:`bytearray.fromhex`: Fix uninitialized memory read. Patch by Victor Stinner.
  msgstr: :gh:`140815`: ماژول :mod:`faulthandler` اکنون تشخیص می‌دهد که آیا یک قاب (frame) یا شیء کد نامعتبر است یا آزاد شده است. وصله توسط Victor Stinner.

- :gh:`153570`: Fix a use-after-free in :meth:`bytearray.take_bytes` when the argument's :meth:`~object.__index__` method resizes the bytearray. Patch by tonghua…
+ :gh:`153578`: Fix an out-of-bounds write in :meth:`bytearray.extend` when the bytearray is resized while the argument's :meth:`~object.__buffer__` is being acq…
  msgstr: :gh:`153570`: رفع یک خطای استفاده پس از آزادی (use-after-free) در :meth:`bytearray.take_bytes` وقتی که متد :meth:`~object.__index__` آرگومان، اندازه‌ی آرایه‌ی …

- :gh:`139322`: Fix :func:`os.getlogin` error handling: fix the error number. Patch by Victor Stinner.
+ :gh:`158893`: Make :func:`os.strerror` thread-safe: use the reentrant ``strerror_r()`` function if available. Patch by Victor Stinner.
  msgstr: :gh:`139322`: اصلاح مدیریت خطای :func:`os.getlogin`: رفع شماره‌ی خطا. وصله‌ای از Victor Stinner.

- :gh:`90848`: Fixed :func:`unittest.mock.create_autospec` to configure parent mock with keyword arguments.
+ :gh:`153888`: Fix :func:`unittest.mock.patch` with ``autospec``, ``spec``, or ``spec_set`` when used with lazy-imported objects.
  msgstr: :gh:`90848`: رفع مشکل :func:`unittest.mock.create_autospec` برای پیکربندی ماک والد با آرگومان‌های کلیدواژه‌ای.

- :gh:`156099`: Fix a crash when deleting the ``keylog_filename`` attribute of :class:`ssl.SSLContext`. It now raises :exc:`AttributeError`.
+ :gh:`156166`: :mod:`ssl`: A failed assignment or deletion of the ``_msg_callback`` attribute of :class:`ssl.SSLContext` no longer removes the current callback.…
  msgstr: :gh:`156099`: رفع یک فروپاشی هنگام حذف ویژگی ``keylog_filename`` از :class:`ssl.SSLContext`. اکنون استثنای :exc:`AttributeError` را ایجاد می‌کند.

- :gh:`124470`: Fix crash in free-threaded builds when replacing object dictionary while reading attribute on another thread
+ :gh:`156124`: Fix a crash in the free-threaded build when deleting the :attr:`!contents` attribute of a :mod:`ctypes` pointer.
  msgstr: :gh:`124470`: رفع فروپاشی در ساخت‌های نخ‌آزاد (free-threaded) هنگام جایگزینی دیکشنری شیء در حین خواندن صفت روی نخی دیگر

- :gh:`148252`: Fixed string table and sample record bounds checks in :mod:`!_remote_debugging` when decoding certain ``.pyb`` inputs on 32-bit builds. Patch by …
+ :gh:`155811`: Add a sequence counter to GC statistics to prevent :mod:`!_remote_debugging` returning inconsistent snapshots caused by non-atomic reads. Patch b…
  msgstr: :gh:`148252`: رفع جدول رشته و بررسی‌های کران رکورد نمونه در :mod:`!_remote_debugging` هنگام کدگشایی ورودی‌های خاص ``.pyb`` در ساخت‌های ۳۲ بیتی. پچ توسط Maurycy…

- :issue:`26227`: Fixed decoding of host names in :func:`socket.gethostbyaddr` and :func:`socket.gethostbyname_ex`.
+ :gh:`155336`: Fix error handling in :func:`socket.gethostbyaddr` and :func:`socket.gethostbyname_ex` when hostname resolution fails.
  msgstr: :issue:`26227`: رفع کدگشایی نام‌های میزبان در :func:`socket.gethostbyaddr` و :func:`socket.gethostbyname_ex`.

- :gh:`122334`: Fix crash when importing :mod:`ssl` after the main interpreter restarts.
+ :gh:`81241`: Fix :exc:`OSError` when importing :mod:`ctypes` from a statically linked interpreter.
  msgstr: :gh:`122334`: مشکل فروپاشی هنگام ایمپورت کردن :mod:`ssl` پس از راه‌اندازی مجدد مفسر اصلی را برطرف کنید.

- :gh:`152718`: Fix unbounded memory allocation in the :mod:`profiling.sampling` binary profile reader when a file declares more string or frame entries than it …
+ :gh:`152721`: Fix quadratic replay time in the :mod:`profiling.sampling` binary reader when a profile's run-length-encoded samples alternate thread status.
  msgstr: :gh:`152718`: رفع تخصیص حافظه‌ی بی‌کران در خواننده‌ی نمایه‌ی دودویی :mod:`profiling.sampling` هنگامی که یک پرونده رشته‌ها یا قاب‌های ورودی بیشتری نسبت به محتوا…

  … and 1 more

✏️ New untranslated strings

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

c-api/marshal.po (2 new untranslated)
In Python 3.15 and earlier, this function does not set the error indicator if writing to *file* fails. The same caveat applies as for :c:func:`PyMarshal_WriteO…
In Python 3.15 and earlier, this function can write only part of the data to *file* and return without setting the error indicator, for example if *value* cont…
library/turtle.po (12 new untranslated)
Nothing appears yet. To open the turtle window, make the turtle visible::
A new window opens, with the turtle in the middle, shown as an arrow heading East.
Make the turtle invisible. If the pen is down, movement still draws.
Bind *fun* to mouse-click events on this turtle. *fun* is called with the coordinates of the clicked point on the canvas. If *fun* is ``None``, existing bindin…
Set up a user-defined coordinate system. *llx* and *lly* are the x and y coordinates of the lower left corner of the canvas. *urx* and *ury* are the x and y co…
Bind *fun* to mouse-click events on this screen. *fun* is called with the coordinates of the clicked point on the canvas. If *fun* is ``None``, existing bindin…
a string, a tuple of pairs of numbers, a :class:`Shape` object or ``None``
Subclass of :class:`TurtleScreen`, with :ref:`four methods added <screenspecific>`. Calling ``Screen()`` returns the single screen object. If it does not exist…
depends on *type_*
Data structure modeling shapes. *type_* is one of the strings "polygon", "image" or "compound". What *data* must be depends on *type_*: for "polygon" a tuple o…
a color
Add a component to a shape of type "compound". *poly* is a polygon, a tuple of pairs of numbers. *fill* is the color the polygon is filled with and *outline* i…
using/configure.po (1 new untranslated)
MSan reports false positives for memory initialized by libraries that are not built with MSan, so either build all dependencies with MSan or disable the extens…
whatsnew/changelog.po (79 new untranslated)
:gh:`156091`: Fix a crash when compiling deeply nested inlined list, set, or dict comprehensions. A :exc:`SyntaxError` is now raised when the nesting exceeds t…
:gh:`156459`: Fix cleanup on error in ``compiler_set_qualname``. Previously it was called in ``_PyCompile_EnterScope``, after the scope had been entered, and t…
:gh:`156204`: Fix a crash in :c:func:`PyErr_GivenExceptionMatches` when evaluating deeply nested exception tuples. The recursion is now bounded, and exceeding …
:gh:`155504`: Fix a crash when thread state creation fails before the thread state is fully initialized.
:gh:`155315`: Fix :mod:`marshal` so that a ``frozendict`` referenced more than once in the serialized data round-trips correctly, instead of failing to load wi…
:gh:`154937`: Fix a data race on thread handle identifiers when ``_thread._shutdown()`` runs concurrently with the startup of non-daemon threads in the :term:`…
:gh:`152075`: Reduced lock contention during LOAD_GLOBAL bytecode specialization under free threading.
:gh:`151895`: Fixed a crash in :func:`marshal.loads` when an allocation failed while loading a reference-tracked dictionary; it now raises :exc:`MemoryError`.
:gh:`159184`: Fix :func:`marshal.dumps` raising :exc:`MemoryError` for a set or frozenset containing several complex NaNs, which also made it impossible to wri…
:gh:`159185`: Fix a crash in :func:`marshal.dumps` and :func:`marshal.dump` when a set is modified while its elements are serialized, for example by the :meth:…
:gh:`158929`: Fix crash when calling :func:`syslog.syslog` while a subinterpreter in another thread calls :func:`syslog.openlog` or :func:`syslog.closelog`.
:gh:`158539`: Fix macOS runtime section lookup for remote debugging when virtual memory region sizes differ from Mach-O segment file sizes.
:gh:`156545`: Fix deep flamegraph exports on platforms with small C stacks by falling back to the Python JSON encoder when the C encoder runs out of stack spac…
:gh:`158552`: Wait for Windows threads to finish suspending before reading target memory in the sampling profiler's blocking mode. Resume the target if waiting…
:gh:`156321`: Fix :func:`asyncio.shield` reporting an exception from the inner future through the loop exception handler as soon as it completes after the shie…
:gh:`158539`: Fix :mod:`profiling.sampling` exception mode discarding samples for code running inside an ``except`` block in a generator or coroutine. The remo…
:gh:`158563`: Fix :func:`turtle.undo` after :func:`turtle.teleport` and after an exception in :func:`turtle.circle`, :func:`turtle.dot` or :func:`turtle.write`…
:gh:`158540`: Fix :mod:`profiling.sampling` not adding the directory containing the profiled script to :data:`sys.path`, which prevented the script from import…
:gh:`158522`: Fix :mod:`profiling.sampling` showing a single frame for a task whose coroutine recurses. Patch by Timofei Ivankov.
:gh:`158169`: Fix :attr:`zlib.Decompress.unconsumed_tail` duplicating :attr:`~zlib.Decompress.unused_data` after end of stream when *max_length* was used.
:gh:`157451`: Fix :mod:`gettext` plural form selection when the ``Plural-Forms`` expression combines the unary ``!`` operator with a binary operator, for examp…
:gh:`157325`: Fix an out-of-bounds read in the ``hz`` incremental decoder when the input ends with ``~``.
:gh:`123018`: Fix :func:`readline.write_history_file` and :func:`readline.append_history_file` producing a history file that :func:`readline.read_history_file`…
:gh:`157146`: :mod:`linecache` can now read the source of a module that was imported from a zip archive on :data:`sys.path` when given only the file name, as :…
:gh:`157048`: Preserve the position and contents of :class:`io.BytesIO` when :meth:`!BytesIO.__init__` fails because a buffer is exported.
… and 54 more

Triggered by sync with 3.15 (commit bcdec84e).

主要语言
Python
星标
56
派生
15
平均合并
10 小时 6 分钟
30 天内合并 PR
11

环境准备

从这里开始

  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 摘要。