FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

🔍 Translation review needed after CPython sync (2026-10-21) · Issue #109 · python/python-docs-fa · GitHub

Repository navigation

🔍 Translation review needed after CPython sync (2026-10-21) #109

Closed

Description

Summary

  • 🔍 59 newly fuzzy strings in 3 files
  • ✏️ 51 new untranslated strings in 5 files

🔍 Newly fuzzy strings

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

library/pathlib.po (2 new fuzzy)

- >>> PurePath('a/b.py').full_match('a/*.py')\nTrue\n>>> PurePath('a/b.py').full_match('*.py')\nFalse\n>>> PurePath('/a/b/c.py').full_match('/a/**')\nTrue\n>>> P…
+ >>> PurePath('a/b.py').full_match('a/*.py')\nTrue\n>>> PurePath('a/b.py').full_match('*.py')\nFalse\n>>> PurePath('/a/b/c.py').full_match('**/*.py')\nTrue\n>>>…
  msgstr: >>> PurePath('a/b.py').full_match('a/*.py')\nTrue\n>>> PurePath('a/b.py').full_match('*.py')\nFalse\n>>> PurePath('/a/b/c.py').full_match('/a/**')\nTrue\n>>> P…

- >>> PurePosixPath('b.py').full_match('*.PY')\nFalse\n>>> PureWindowsPath('b.py').full_match('*.PY')\nTrue
+ >>> PurePath('/a').full_match('/a/**')\nFalse\n>>> PurePath('/a/').full_match('/a/**')\nFalse
  msgstr: >>> PurePosixPath('b.py').full_match('*.PY')\nFalse\n>>> PureWindowsPath('b.py').full_match('*.PY')\nTrue

library/turtle.po (45 new fuzzy)

- a nonnegative integer or ``None``
+ a positive integer or ``None``
  msgstr: یک عدد صحیح نامنفی یا ``None``

- Draw a circular dot with diameter *size*, using *color*.  If *size* is not given, the maximum of ``pensize+4`` and ``2*pensize`` is used.
+ Draw a circular dot with diameter *size*, using *color*. If *size* is not given, the larger of ``pensize + 4`` and ``2 * pensize`` is used. If *color* is not g…
  msgstr: با استفاده از *color*، یک نقطه‌ی دایره‌ای به قطر *size* رسم کنید. اگر *size* داده نشود، از بیشینه‌ی ``pensize+4`` و ``2*pensize`` استفاده می‌شود.

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

- "fastest":  0
+ "fastest": 0
  msgstr: "fastest":  0

- "fast":  10
+ "fast": 10
  msgstr: "fast":  10

- "normal":  6
+ "normal": 6
  msgstr: "normal":  6

- "slow":  3
+ "slow": 3
  msgstr: "slow":  3

- "slowest":  1
+ "slowest": 1
  msgstr: "slowest":  1

- Attention: *speed* = 0 means that *no* animation takes place. forward/back makes turtle jump and likewise left/right make the turtle turn instantly.
+ Speeds from 1 to 10 give increasingly faster animation of line drawing and turtle turning. A speed of 0 means that no animation takes place: :func:`forward` an…
  msgstr: توجه: *speed* = ۰ به این معناست که *هیچ* پویانمایی‌ای رخ نمی‌دهد. forward/back باعث پرش لاک‌پشت می‌شود و به همین ترتیب left/right باعث چرخش آنی لاک‌پشت می‌شود.

- Pull the pen up -- no drawing when moving.
+ Lift the pen. The turtle does not draw when it moves.
  msgstr: قلم را بالا بکشید — هنگام حرکت، ترسیمی انجام نمی‌شود.

  … and 35 more

whatsnew/changelog.po (12 new fuzzy)

- :gh:`155063`: Bump the version of pip bundled in ensurepip to version 26.2.1
+ :gh:`159894`: Bump the version of :pypi:`pip` bundled in :mod:`ensurepip` to version 26.2.2.
  msgstr: :gh:`155063`: نسخه‌ی pip بسته‌بندی‌شده در ensurepip را به نسخه‌ی 26.2.1 ارتقا می‌دهد.

- :gh:`157953`: Update bundled `libexpat <https://libexpat.github.io/>`_ to version 2.8.5.
+ :gh:`157953`: Update bundled `libexpat <https://libexpat.github.io/>`_ to version 2.9.0.
  msgstr: :gh:`157953`: به‌روزرسانی `libexpat <https://libexpat.github.io/>`_ بسته‌بندی‌شده به نسخه‌ی ۲.۸.۵.

- :gh:`125859`: Fix a crash in the free threading build when :func:`gc.get_objects` or :func:`gc.get_referrers` is called during an in-progress garbage collectio…
+ :gh:`159739`: Fix a reference leak in :func:`gc.get_objects` and :func:`gc.get_referrers` when an internal allocation fails in the free-threaded build.
  msgstr: :gh:`125859`: رفع فروپاشی در ساخت نخ‌بندی آزاد هنگامی که :func:`gc.get_objects` یا :func:`gc.get_referrers` در جریان یک عملیات زباله‌روبی فراخوانی می‌شود.

- :gh:`59705`: On Linux, :class:`threading.Thread` now sets the thread name to the operating system. Patch by Victor Stinner.
+ :gh:`159603`: On FreeBSD, call ``pthread_attr_get_np()`` to get the stack size (and guard size) of the current thread. Patch by Victor Stinner.
  msgstr: :gh:`59705`: روی لینوکس، کلاس :class:`threading.Thread` اکنون نام نخ را روی سیستم‌عامل تنظیم می‌کند. وصله توسط Victor Stinner.

- :gh:`145142`: Fix a crash in the free-threaded build when the dictionary argument to :meth:`str.maketrans` is concurrently modified.
+ :gh:`159864`: Fix a crash in :func:`syslog.openlog` under the free-threaded build when :data:`sys.argv` is modified concurrently.
  msgstr: :gh:`145142`: رفع فروپاشی در ساخت نخ‌آزاد (free-threaded build) هنگامی که آرگومان دیکشنری به :meth:`str.maketrans` به شکل هم‌زمان تغییر می‌کند.

- :gh:`112050`: Convert :class:`collections.deque` to use Argument Clinic.
+ :gh:`159739`: Fix copying :class:`collections.deque` subclasses with a large maximum length.
  msgstr: :gh:`112050`: تبدیل :class:`collections.deque` برای استفاده از Argument Clinic.

- :gh:`150858`: Fix a data race while changing ``__qualname__`` of a type concurrently on free-threaded builds.
+ :gh:`159458`: Fix a ThreadSanitizer data race on the static cache in ``normalize_century()`` of the datetime module under the free-threaded build.
  msgstr: :gh:`150858`: یک مشکل رقابت داده (data race) را هنگام تغییر هم‌زمان ``__qualname__`` یک نوع در ساخت‌های نخ‌آزاد (free-threaded builds) برطرف می‌کند.

- :gh:`156523`: Fix :func:`asyncio.as_completed` not recording the awaiting task in the call graph.
+ :gh:`158004`: Fix :func:`asyncio.as_completed` to continue yielding every awaitable after a pending iteration step is cancelled.
  msgstr: :gh:`156523`: رفع مشکل ضبط نشدن وظیفه‌ی در حال انتظار در گراف فراخوانی توسط :func:`asyncio.as_completed`.

- :gh:`146080`: :mod:`ssl`: fix a crash when an SNI callback tries to use an SSL object that has already been garbage-collected. Patch by Bénédikt Tran.
+ :gh:`149816`: :mod:`hashlib`: fix a crash arising from a race condition when looking up an OpenSSL hash algorithm by name the first time. Patch by Bénédikt Tra…
  msgstr: :gh:`146080`: ماژول :mod:`ssl`: رفع یک فروپاشی هنگامی که یک کال‌بک SNI تلاش می‌کند از شیء SSLای استفاده کند که از پیش زباله‌روبی (garbage-collected) شده است. ا…

- :gh:`143310`: :mod:`tkinter`: fix a crash when a Python :class:`list` is mutated during the conversion to a Tcl object (e.g., when setting a Tcl variable). Pat…
+ :gh:`143376`: :mod:`concurrent.interpreters`: fix a crash when internal cross-interpreter channel ends have incorrect channel IDs. Patch by Bénédikt Tran.
  msgstr: :gh:`143310`: :mod:`tkinter`: رفع یک فروپاشی هنگامی که یک :class:`list` پایتون در طول تبدیل به یک شیء Tcl (برای مثال، هنگام تنظیم یک متغیر Tcl) تغییر داده می‌ش…

  … and 2 more

✏️ New untranslated strings

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

c-api/interp-lifecycle.po (6 new untranslated)

The main program for a "frozen" Python program (an executable that embeds the interpreter together with the bytecode of the program's modules, as produced by t…
This function initializes the interpreter, imports the frozen module named ``__main__``, and finalizes the interpreter. The frozen modules must have been regis…
*argc* and *argv* are byte strings like the arguments of a C program's ``main`` function, and are passed to the interpreter with :c:func:`PyConfig_SetBytesArgv…
Return ``0`` if ``__main__`` ran without an unhandled exception, ``1`` otherwise, and ``120`` if finalizing the interpreter failed (see :c:func:`Py_FinalizeEx`…
On Windows, this function is not exported by the Python DLL. The :program:`freeze` utility compiles :file:`Python/frozenmain.c` into the frozen program instead…
freeze utility

library/datetime.po (1 new untranslated)

If a :meth:`~.datetime.strptime` format string contains more than one directive for the same field, for example both ``%Y`` and ``%y``, every directive must st…

library/pathlib.po (6 new untranslated)

The :attr:`~PurePath.parent`, :attr:`~PurePath.name`, :attr:`~PurePath.stem`, and :attr:`~PurePath.suffix` properties describe different parts of a path.  For …
>>> p = PurePosixPath('/srv/holy/grail.tar.gz')
For p = PurePosixPath('/srv/holy/grail.tar.gz'), p.parent is\nPurePosixPath('/srv/holy'), p.name is 'grail.tar.gz',\np.stem is 'grail.tar', and p.suffix is '.g…
The stem excludes only the final suffix: in this example, it includes ``.tar``.
Patterns ending in "``/**``", as in the example above, may surprise when passed to ``full_match``. Even though "``**``" can match 0 segments, "``.../**``" requ…
Matches any number of file or directory segments, including zero. Note that in :meth:`~PurePath.full_match`, "``a/**``" does not match "``a``", whereas :meth:`…

library/turtle.po (10 new untranslated)

Teleport, or instantly move, the turtle to an absolute position. Unlike :func:`goto`, no line is drawn. If *x* or *y* is not given, that coordinate is kept as …
If the turtle is filling a shape, the shape drawn so far is finished and filled before teleporting, and filling starts again at the new position. Pass ``fill_g…
Return or set the turtle's speed. If *speed* is not given, return the current speed. Otherwise set the turtle's speed to an integer from 0 to 10. If *speed* is…
Lower the pen. The turtle draws a line when it moves.
"noresize": the turtle is not resized.
Return or set the turtle's stretch factors and outline width. If no arguments are given, return the current values. Otherwise set resizemode to "user", so that…
*stretch_wid*: the stretch factor perpendicular to the turtle's heading
*outline*: the width of the shape's outline
For example, ``shapesize(2, 1)`` makes the turtle twice as wide without changing its length. If only *stretch_wid* is given, *stretch_len* is set to the same v…
Call ``getturtle()`` to get the turtle used by functions such as :func:`forward` and :func:`left`:

whatsnew/changelog.po (28 new untranslated)

:gh:`159739`: Avoid a crash if allocation fails while creating a :class:`string.templatelib.Template` iterator.
:gh:`159739`: Propagate errors during generic class construction and avoid a crash after failed generic alias substitution.
:gh:`159739`: Raise :exc:`OverflowError` when the absolute value of a dynamic printf-style formatting width is too large.
:gh:`159739`: Avoid a crash when an interpreter configuration string cannot be encoded as UTF-8.
:gh:`159739`: Preserve the original :exc:`SyntaxError` if allocating optional error metadata fails.
:gh:`159739`: Avoid a crash if formatting an integer with the ``c`` presentation type runs out of memory.
:gh:`159739`: Avoid a crash when a module filename cannot be encoded as UTF-8.
:gh:`158197`: Fix crashes and debug-build assertion failures in the :term:`free-threaded build` when iterating over a split dictionary while another thread del…
:gh:`106045`: Fix standard library discovery in virtual environments created from a Python executable symlink located outside its base installation.
:gh:`69605`: Fix :term:`REPL` completions inserted incorrectly when there was spaces in import statements.
:gh:`138641`: Ignore :func:`pdb.set_trace` when called directly at the :mod:`pdb` prompt.
:gh:`159811`: Fix a crash in :mod:`hashlib` when the OpenSSL routine used by :meth:`hash.update() <hashlib.hash.update>` or by hash object constructors fails o…
:gh:`159811`: Fix a crash in :mod:`hmac` when the OpenSSL routine used by :meth:`hmac.HMAC.update` or by :func:`hmac.new` fails on data larger than 2048 bytes.…
:gh:`159786`: Fix the error handling of the HACL* routine used by :func:`hmac.new` and :meth:`hmac.HMAC.update`. If the maximum input length of the underlying …
:gh:`159739`: Allow cyclic garbage collection to reclaim group records returned by :mod:`grp`.
:gh:`159739`: Fix :class:`io.BytesIO` reads into overlapping views of the same buffer.
:gh:`159739`: Avoid a crash when memory allocation fails while creating a :class:`collections.OrderedDict` items iterator.
:gh:`159739`: Avoid reading past the end of an encoding name when the ``surrogatepass`` error handler receives a truncated UTF-16 or UTF-32 name.
:gh:`159739`: Fix incorrect :mod:`ctypes` scalar values after :func:`ctypes.resize` enlarges the object.
:gh:`159739`: Fix a memory leak when Unicode normalization cannot grow its temporary buffer.
:gh:`152373`: Fix the :mod:`pdb` ``until`` command not stepping over a list comprehension when a breakpoint is set on it. Patch by tonghuaroot.
:gh:`146065`: Fix a crash in asyncio.Future iterator when send() is called after throw() or close().
:gh:`129605`: Improve exception handling when computing suggestions in traceback.py. This fixes a bug that could cause PyREPL to exit unexpectedly.
:gh:`143632`: Fix the check that disables ``PR_SET_VMA_ANON_NAME`` on musl libc: it tested an unset variable, so it never had any effect and the build could fa…
:gh:`159759`: Fix the ``libpython.static`` path in :pep:`739` ``build-details.json``, which pointed to a file that is not installed when building with :option:…
… and 3 more

Triggered by sync with 3.15 (commit 5929adc).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL