Skip to content

Commit 049feaf

Browse files
chore: sync msgids with CPython 3.15
1 parent dfab66b commit 049feaf

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

‎glossary.po‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.14\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2026-10-27 04:16+0000\n"
18+
"POT-Creation-Date: 2026-11-11 04:11+0000\n"
1919
"PO-Revision-Date: 2026-08-26 08:03+0330\n"
2020
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2121
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -50,7 +50,9 @@ msgstr "شکل سه‌نقطه‌ای شیء :ref:`Ellipsis <bltin-ellipsis-obje
5050
msgid "abstract base class"
5151
msgstr "کلاس پایه‌ی انتزاعی"
5252

53-
msgid "Abstract base classes complement :term:`duck-typing` by providing a way to define interfaces when other techniques like :func:`hasattr` would be clumsy or subtly wrong (for example with :ref:`magic methods <special-lookup>`). ABCs introduce virtual subclasses, which are classes that don't inherit from a class but are still recognized by :func:`isinstance` and :func:`issubclass`; see the :mod:`abc` module documentation. Python comes with many built-in ABCs for data structures (in the :mod:`collections.abc` module), numbers (in the :mod:`numbers` module), streams (in the :mod:`io` module), import finders and loaders (in the :mod:`importlib.abc` module). You can create your own ABCs with the :mod:`abc` module."
53+
#, fuzzy
54+
#| msgid "Abstract base classes complement :term:`duck-typing` by providing a way to define interfaces when other techniques like :func:`hasattr` would be clumsy or subtly wrong (for example with :ref:`magic methods <special-lookup>`). ABCs introduce virtual subclasses, which are classes that don't inherit from a class but are still recognized by :func:`isinstance` and :func:`issubclass`; see the :mod:`abc` module documentation. Python comes with many built-in ABCs for data structures (in the :mod:`collections.abc` module), numbers (in the :mod:`numbers` module), streams (in the :mod:`io` module), import finders and loaders (in the :mod:`importlib.abc` module). You can create your own ABCs with the :mod:`abc` module."
55+
msgid "Abstract base classes complement :term:`duck-typing` by providing a way to define interfaces when other techniques like :func:`hasattr` would be clumsy or subtly wrong (for example with :ref:`magic methods <special-lookup>`). ABCs introduce :term:`virtual subclasses <virtual subclass>`, which are classes that don't inherit from a class but are still recognized by :func:`isinstance` and :func:`issubclass`; see the :mod:`abc` module documentation. Python comes with many built-in ABCs for data structures (in the :mod:`collections.abc` module), numbers (in the :mod:`numbers` module), streams (in the :mod:`io` module), import finders and loaders (in the :mod:`importlib.abc` module). You can create your own ABCs with the :mod:`abc` module."
5456
msgstr "کلاس‌های پایه‌ی انتزاعی با فراهم کردن روشی برای تعریف رابط‌ها، زمانی که تکنیک‌های دیگری مانند :func:`hasattr` دست‌وپاگیر یا به‌طور ضمنی نادرست هستند (برای مثال با :ref:`متدهای جادویی <special-lookup>`)، :term:`نوع‌دهی اردکی <duck-typing>` را تکمیل می‌کنند. ABCها زیرکلاس‌های مجازی معرفی می‌کنند، که کلاس‌هایی هستند که از یک کلاس دیگر به ارث نمی‌برند اما همچنان توسط :func:`isinstance` و :func:`issubclass` شناخته می‌شوند؛ مستندات ماژول :mod:`abc` را ببینید. پایتون همراه با ABCهای توکار بسیاری برای ساختارهای داده (در ماژول :mod:`collections.abc`)، اعداد (در ماژول :mod:`numbers`)، جریان‌ها (در ماژول :mod:`io`)، یابنده‌ها و بارگذارهای ایمپورت (در ماژول :mod:`importlib.abc`) ارائه می‌شود. شما می‌توانید ABCهای سفارشی خود را با ماژول :mod:`abc` ایجاد کنید."
5557

5658
msgid "annotate function"
@@ -1617,6 +1619,12 @@ msgstr "ماشین مجازی"
16171619
msgid "A computer defined entirely in software. Python's virtual machine executes the :term:`bytecode` emitted by the bytecode compiler."
16181620
msgstr "یک رایانه که به‌طور کامل در نرم‌افزار تعریف شده است. ماشین مجازی پایتون :term:`بایت‌کد <bytecode>` تولیدشده توسط کامپایلر بایت‌کد را اجرا می‌کند."
16191621

1622+
msgid "virtual subclass"
1623+
msgstr ""
1624+
1625+
msgid "A class that :func:`issubclass` and :func:`isinstance` treat as a subclass of an :term:`abstract base class` even though it does not inherit from it. A class is made a virtual subclass by registering it with the ABC's :meth:`~abc.ABCMeta.register` method."
1626+
msgstr ""
1627+
16201628
msgid "walrus operator"
16211629
msgstr "عملگر والروس"
16221630

‎whatsnew/changelog.po‎

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.14\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2026-11-10 04:11+0000\n"
17+
"POT-Creation-Date: 2026-11-11 04:11+0000\n"
1818
"PO-Revision-Date: 2026-10-23 17:18+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -74,6 +74,9 @@ msgstr "هسته و توکارها (Core and Builtins)"
7474
msgid ":gh:`160267`: Fix a crash when :mod:`profiling.sampling` profiles a process that creates and destroys threads or subinterpreters quickly. Memory of deleted thread and interpreter states is now reused for new states instead of being freed until the runtime is finalized."
7575
msgstr ""
7676

77+
msgid ":gh:`161693`: Fix a crash in :meth:`dict.setdefault` when called on an instance dictionary with a :class:`str` subclass key equal to an attribute name that is not set on that instance."
78+
msgstr ""
79+
7780
msgid ":gh:`161420`: Restore ``mimalloc``'s previous behavior of processing delayed frees from other threads on every generic malloc call, reverting the change introduced in v2.2.2."
7881
msgstr ""
7982

@@ -111,9 +114,17 @@ msgstr ""
111114
msgid ":gh:`159136`: Setting ``__name__``, ``__qualname__``, ``__doc__`` or ``__module__`` on a function no longer stops all threads in the free-threaded build. This fixes a large slowdown in multi-threaded code using :func:`functools.wraps` since 3.14.7."
112115
msgstr ""
113116

117+
msgid ":gh:`159054`: Fixed a crash when an allocation failure occurred while compiling code containing cold blocks."
118+
msgstr ""
119+
114120
msgid ":gh:`158529`: Fixed crash on Android x86_64, API levels 27-28, caused by mimalloc calling system calls directly."
115121
msgstr ""
116122

123+
#, fuzzy
124+
#| msgid ":gh:`145615`: Fixed a memory leak in the :term:`free-threaded build` where mimalloc pages could become permanently unreclaimable until the owning thread exited."
125+
msgid ":gh:`152125`: Fix a crash in the :term:`free-threaded build` where :c:func:`PyList_New` could leave a newly allocated list's item buffer pointer uninitialized when the backing array allocation failed under low memory, leading to an invalid free."
126+
msgstr ":gh:`145615`: رفع یک نشتی حافظه در :term:`ساخت نخ‌آزاد <free-threaded build>` که در آن صفحات mimalloc ممکن بود تا زمان خروج نخ مالک، به طور دائم غیرقابل بازیابی بمانند."
127+
117128
msgid ":gh:`152631`: Fix :func:`ast.parse` ability to parse lazy imports with *feature_version* older than 3.15, now it properly raises :exc:`SyntaxError`."
118129
msgstr ""
119130

@@ -209,6 +220,9 @@ msgstr ""
209220
msgid ":gh:`160781`: Fix :class:`io.BytesIO` raising :exc:`SystemError` instead of :exc:`OverflowError` when writing at a position close to :data:`sys.maxsize`."
210221
msgstr ":gh:`153037`: رفع مشکلی که در آن :class:`~compression.zstd.ZstdFile` هنگام پیمایش روی پرونده‌ای که برای خواندن باز نشده است، به جای :exc:`io.UnsupportedOperation` خطای :exc:`AttributeError` ایجاد می‌کند."
211222

223+
msgid ":gh:`158500`: :meth:`datetime.date.fromisoformat` now rejects strings with trailing characters after a basic-format date, such as ``'2020010112'``. The pure-Python :meth:`datetime.datetime.fromisoformat` now rejects a date followed by a bare separator, such as ``'2020-01-01T'``, matching the C implementation."
224+
msgstr ""
225+
212226
msgid ":gh:`160427`: Fix :attr:`~io.TextIOBase.buffer` of a detached :class:`io.TextIOWrapper` raising :exc:`ValueError` instead of returning ``None``."
213227
msgstr ""
214228

@@ -289,6 +303,9 @@ msgstr ""
289303
msgid ":gh:`159875`: Fix :exc:`AttributeError` from the methods of an :mod:`asyncio` SSL transport, such as :meth:`~asyncio.WriteTransport.write` and :meth:`~asyncio.BaseTransport.set_protocol`, when the transport is closed after its connection was lost. This also affected the fallback of :meth:`loop.sendfile() <asyncio.loop.sendfile>` over SSL when the peer went away mid-transfer. The SSL context is still released once the connection is lost."
290304
msgstr ""
291305

306+
msgid ":gh:`159643`: Fix :exc:`EOFError` raised by :mod:`tarfile` in stream mode with bz2, xz or zstd compression when reading past the end of the compressed data, for example with *ignore_zeros* or an archive without end-of-archive blocks."
307+
msgstr ""
308+
292309
msgid ":gh:`159387`: Fix :mod:`ssl` reporting TLS 1.0, 1.1, and 1.2 as unavailable when built with OpenSSL 4.0, despite support for these protocol versions."
293310
msgstr ""
294311

0 commit comments

Comments
 (0)