Skip to content

Commit d067977

Browse files
chore: sync msgids with CPython 3.15
1 parent 830f835 commit d067977

4 files changed

Lines changed: 46 additions & 26 deletions

File tree

‎c-api/init_config.po‎

Lines changed: 7 additions & 3 deletions
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-10-20 04:16+0000\n"
17+
"POT-Creation-Date: 2026-10-27 04:16+0000\n"
1818
"PO-Revision-Date: 2026-10-06 19:55+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -1038,10 +1038,14 @@ msgstr "``PYMEM_ALLOCATOR_PYMALLOC`` (``5``): :ref:`تخصیص‌دهنده حا
10381038
msgid "``PYMEM_ALLOCATOR_PYMALLOC_DEBUG`` (``6``): :ref:`Python pymalloc memory allocator <pymalloc>` with :ref:`debug hooks <pymem-debug-hooks>`."
10391039
msgstr "``PYMEM_ALLOCATOR_PYMALLOC_DEBUG`` (``6``): :ref:`تخصیص‌دهنده حافظه pymalloc پایتون <pymalloc>` به همراه :ref:`قلاب‌های اشکال‌زدایی <pymem-debug-hooks>`."
10401040

1041-
msgid "``PYMEM_ALLOCATOR_MIMALLOC`` (``6``): use ``mimalloc``, a fast malloc replacement."
1041+
#, fuzzy
1042+
#| msgid "``PYMEM_ALLOCATOR_MIMALLOC`` (``6``): use ``mimalloc``, a fast malloc replacement."
1043+
msgid "``PYMEM_ALLOCATOR_MIMALLOC`` (``7``): use ``mimalloc``, a fast malloc replacement."
10421044
msgstr "``PYMEM_ALLOCATOR_MIMALLOC`` (``6``): استفاده از ``mimalloc``، جایگزین سریعی برای malloc."
10431045

1044-
msgid "``PYMEM_ALLOCATOR_MIMALLOC_DEBUG`` (``7``): use ``mimalloc``, a fast malloc replacement with :ref:`debug hooks <pymem-debug-hooks>`."
1046+
#, fuzzy
1047+
#| msgid "``PYMEM_ALLOCATOR_MIMALLOC_DEBUG`` (``7``): use ``mimalloc``, a fast malloc replacement with :ref:`debug hooks <pymem-debug-hooks>`."
1048+
msgid "``PYMEM_ALLOCATOR_MIMALLOC_DEBUG`` (``8``): use ``mimalloc``, a fast malloc replacement with :ref:`debug hooks <pymem-debug-hooks>`."
10451049
msgstr "``PYMEM_ALLOCATOR_MIMALLOC_DEBUG`` (``7``): استفاده از ``mimalloc``، جایگزین سریعی برای malloc با :ref:`قلاب‌های اشکال‌زدایی <pymem-debug-hooks>`."
10461050

10471051
msgid "``PYMEM_ALLOCATOR_PYMALLOC`` and ``PYMEM_ALLOCATOR_PYMALLOC_DEBUG`` are not supported if Python is :option:`configured using --without-pymalloc <--without-pymalloc>`."

‎c-api/interp-lifecycle.po‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-10-21 04:17+0000\n"
14+
"POT-Creation-Date: 2026-10-27 04:16+0000\n"
1515
"PO-Revision-Date: 2026-10-06 20:24+0330\n"
1616
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1717
"Language-Team: none\n"
@@ -557,7 +557,9 @@ msgstr "در برخی موارد، ممکن است دسترسی به مفسری
557557
msgid "An opaque view of an interpreter."
558558
msgstr "یک نمای کدر از یک مفسر."
559559

560-
msgid "This is a thread-safe way to access an interpreter that may have be finalizing or already destroyed."
560+
#, fuzzy
561+
#| msgid "This is a thread-safe way to access an interpreter that may have be finalizing or already destroyed."
562+
msgid "This is a thread-safe way to access an interpreter that may be finalizing or already destroyed."
561563
msgstr "این یک روش نخ‌ایمن برای دسترسی به مفسری است که ممکن است در حال نهایی‌سازی بوده یا از پیش نابود شده باشد."
562564

563565
msgid "Create a view to the current interpreter."

‎glossary.po‎

Lines changed: 4 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-09-21 11:59+0000\n"
18+
"POT-Creation-Date: 2026-10-27 04:16+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"
@@ -688,7 +688,9 @@ msgstr "سازوکاری که توسط مفسر :term:`CPython <CPython>` است
688688
msgid "However, some extension modules, either standard or third-party, are designed so as to release the GIL when doing computationally intensive tasks such as compression or hashing. Also, the GIL is always released when doing I/O."
689689
msgstr "با این حال، برخی ماژول‌های توسعه‌ای، چه استاندارد و چه شخص ثالث، به‌گونه‌ای طراحی شده‌اند که هنگام انجام وظایف محاسباتی سنگین مانند فشرده‌سازی یا درهم‌سازی، GIL را آزاد کنند. همچنین، GIL همیشه هنگام انجام عملیات ورودی/خروجی آزاد می‌شود."
690690

691-
msgid "As of Python 3.13, the GIL can be disabled using the :option:`--disable-gil` build configuration. After building Python with this option, code must be run with :option:`-X gil=0 <-X>` or after setting the :envvar:`PYTHON_GIL=0 <PYTHON_GIL>` environment variable. This feature enables improved performance for multi-threaded applications and makes it easier to use multi-core CPUs efficiently. For more details, see :pep:`703`."
691+
#, fuzzy
692+
#| msgid "As of Python 3.13, the GIL can be disabled using the :option:`--disable-gil` build configuration. After building Python with this option, code must be run with :option:`-X gil=0 <-X>` or after setting the :envvar:`PYTHON_GIL=0 <PYTHON_GIL>` environment variable. This feature enables improved performance for multi-threaded applications and makes it easier to use multi-core CPUs efficiently. For more details, see :pep:`703`."
693+
msgid "As of Python 3.13, the GIL can be disabled using the :option:`--disable-gil` build configuration. This feature enables improved performance for multi-threaded applications and makes it easier to use multi-core CPUs efficiently. For more details, see :pep:`703`."
692694
msgstr "از پایتون ۳.۱۳، می‌توان GIL را با استفاده از پیکربندی ساخت :option:`--disable-gil` غیرفعال کرد. پس از ساخت پایتون با این گزینه، کد باید با :option:`-X gil=0 <-X>` یا پس از تنظیم متغیر محیطی :envvar:`PYTHON_GIL=0 <PYTHON_GIL>` اجرا شود. این ویژگی عملکرد بهتر برای برنامه‌های چندنخی را فراهم می‌کند و استفاده‌ی مؤثرتر از CPUهای چندهسته‌ای را آسان‌تر می‌سازد. برای جزئیات بیشتر، :pep:`703` را ببینید."
693695

694696
msgid "In prior versions of Python's C API, a function might declare that it requires the GIL to be held in order to use it. This refers to having an :term:`attached thread state`."

‎whatsnew/changelog.po‎

Lines changed: 31 additions & 19 deletions
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-10-26 04:18+0000\n"
17+
"POT-Creation-Date: 2026-10-27 04:16+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"
@@ -34,6 +34,33 @@ msgstr "پایتون بعدی"
3434
msgid "*Release date: XXXX-XX-XX*"
3535
msgstr "*تاریخ انتشار: XXXX-XX-XX*"
3636

37+
msgid "Core and Builtins"
38+
msgstr "هسته و توکارها (Core and Builtins)"
39+
40+
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`."
41+
msgstr ""
42+
43+
msgid "Library"
44+
msgstr "کتابخانه"
45+
46+
msgid ":gh:`160513`: Fix :meth:`asyncio.loop.start_tls` and :meth:`asyncio.StreamWriter.start_tls` not calling the protocol's :meth:`~asyncio.BaseProtocol.connection_lost` when the connection is lost, the handshake times out or the call is cancelled during the TLS handshake. :meth:`asyncio.StreamWriter.wait_closed` no longer waits forever after such a failure."
47+
msgstr ""
48+
49+
#, fuzzy
50+
#| msgid ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when passing :class:`ctypes.Structure` or :class:`ctypes.Union` instances by value to ctypes foreign functions."
51+
msgid ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when first using a Chinese, Japanese or Korean codec."
52+
msgstr ":gh:`151126`: رفع فروپاشی ناشی از تنظیم‌نشدن :exc:`MemoryError` هنگام شکست در تخصیص حافظه، در زمان ارسال نمونه‌های :class:`ctypes.Structure` یا :class:`ctypes.Union` به‌صورت مقدار (by value) به توابع خارجی ctypes."
53+
54+
#, fuzzy
55+
#| msgid "Python 3.5.2 final"
56+
msgid "Python 3.15.2 final"
57+
msgstr "پایتون ۳.۵.۲ نهایی"
58+
59+
#, fuzzy
60+
#| msgid "*Release date: 2026-10-21*"
61+
msgid "*Release date: 2026-10-25*"
62+
msgstr "*تاریخ انتشار: ۲۰۲۶-۱۰-۲۱*"
63+
3764
msgid "Security"
3865
msgstr "امنیت"
3966

@@ -46,9 +73,6 @@ msgstr ":cve:`2026-114583`, :gh:`160097`: تابع :func:`tarfile.tar_filter` ا
4673
msgid ":cve:`2026-115557`, :gh:`160040`: :mod:`ssl` now rejects TLS certificate chains that contain any of a set of compromised eMudhra intermediate CA keys. This is an extraordinary measure and a last line of defense: removing trust is primarily the job of the platform root store, and the built-in denylist only blocks connections while that update has not yet reached the OS, a container image, or a bundled trust store in various Python packages. Entries are added to the denylist only under a very high threshold. The denylist matches on the public key (the SHA-256 digest of the :rfc:`5280` ``SubjectPublicKeyInfo``), so it also covers the cross-signed certificates that reuse one of the distrusted keys."
4774
msgstr ""
4875

49-
msgid "Core and Builtins"
50-
msgstr "هسته و توکارها (Core and Builtins)"
51-
5276
msgid ":gh:`160491`: Fix the location reported for invalid escape sequences in f-strings and t-strings. The :exc:`SyntaxError` now points at the literal part that contains the escape, instead of at the closing quote."
5377
msgstr ""
5478

@@ -118,15 +142,9 @@ msgstr ":gh:`159111`: به‌روزرسانی نسخه‌ی mimalloc از ۲.۱.
118142
msgid ":gh:`154318`: Fix a crash when hashing a deeply nested :class:`tuple` or :class:`frozendict`. A :exc:`RecursionError` is now raised instead of overflowing the C stack."
119143
msgstr ":gh:`154318`: رفع فروپاشی هنگام هش کردن یک :class:`tuple` یا :class:`frozendict` بسیار تو در تو. اکنون به جای سرریز شدن پشته‌ی C، یک :exc:`RecursionError` بالا آورده می‌شود."
120144

121-
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`."
122-
msgstr ""
123-
124145
msgid ":gh:`151818`: Fix a double-free crash in ``list.append()`` (the specialized ``CALL_LIST_APPEND`` instruction) when growing the list fails with :exc:`MemoryError`."
125146
msgstr ":gh:`151818`: رفع فروپاشی آزادسازی مضاعف (double-free) در ``list.append()`` (دستور تخصصی ``CALL_LIST_APPEND``) هنگامی که بزرگ کردن فهرست با خطای :exc:`MemoryError` مواجه می‌شود."
126147

127-
msgid "Library"
128-
msgstr "کتابخانه"
129-
130148
msgid ":gh:`160549`: Fix a crash when a :class:`compression.zstd.ZstdCompressor` that uses worker threads and a :class:`~compression.zstd.ZstdDict` is deallocated, or the interpreter exits, while data passed to :meth:`~compression.zstd.ZstdCompressor.compress` is still being compressed."
131149
msgstr ""
132150

@@ -150,9 +168,6 @@ msgstr ""
150168
msgid ":gh:`160299`: Fix :meth:`symtable.Symbol.is_referenced` for local and nonlocal symbols in function scopes when their only uses are in inlined comprehensions."
151169
msgstr ""
152170

153-
msgid ":gh:`160513`: Fix :meth:`asyncio.loop.start_tls` and :meth:`asyncio.StreamWriter.start_tls` not calling the protocol's :meth:`~asyncio.BaseProtocol.connection_lost` when the connection is lost, the handshake times out or the call is cancelled during the TLS handshake. :meth:`asyncio.StreamWriter.wait_closed` no longer waits forever after such a failure."
154-
msgstr ""
155-
156171
msgid ":gh:`159739`: Fix a crash when a :mod:`ctypes` structure subclass cannot be created due to an allocation failure."
157172
msgstr ":gh:`159739`: رفع فروپاشی هنگامی که یک زیرکلاس ساختار :mod:`ctypes` به دلیل خطای تخصیص حافظه قابل ایجاد نیست."
158173

@@ -236,11 +251,6 @@ msgstr ":gh:`157880`: رفع مشکل :class:`mailbox.Babyl` برای نوشتن
236251
msgid ":gh:`156784`: :class:`asyncio.ProactorEventLoop` no longer silently ignores :exc:`ConnectionResetError` on UDP sockets, matching :class:`asyncio.SelectorEventLoop`."
237252
msgstr ":gh:`156784`: کلاس :class:`asyncio.ProactorEventLoop` دیگر خطاهای :exc:`ConnectionResetError` را روی سوکت‌های UDP به‌صورت بی‌صدا نادیده نمی‌گیرد، که با عملکرد :class:`asyncio.SelectorEventLoop` سازگار است."
238253

239-
#, fuzzy
240-
#| msgid ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when passing :class:`ctypes.Structure` or :class:`ctypes.Union` instances by value to ctypes foreign functions."
241-
msgid ":gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when first using a Chinese, Japanese or Korean codec."
242-
msgstr ":gh:`151126`: رفع فروپاشی ناشی از تنظیم‌نشدن :exc:`MemoryError` هنگام شکست در تخصیص حافظه، در زمان ارسال نمونه‌های :class:`ctypes.Structure` یا :class:`ctypes.Union` به‌صورت مقدار (by value) به توابع خارجی ctypes."
243-
244254
msgid ":gh:`156078`: :meth:`zipfile.ZipFile.mkdir` now raises :exc:`ValueError` when the archive is closed or when a writable member handle is open."
245255
msgstr ""
246256

@@ -6630,7 +6640,9 @@ msgstr ":gh:`133934`: بهبود پیام ``.help`` در رابط خط فرما
66306640
msgid ":gh:`135069`: Fix the \"Invalid error handling\" exception in :class:`!encodings.idna.IncrementalDecoder` to correctly replace the 'errors' parameter."
66316641
msgstr ":gh:`135069`: رفع استثنای «Invalid error handling» در :class:`!encodings.idna.IncrementalDecoder` جهت جایگزینی صحیح پارامتر 'errors'."
66326642

6633-
msgid ":gh:`130662`: +Accept leading zeros in precision and width fields for +:class:`~decimal.Decimal` formatting, for example ``format(Decimal(1.25), '.016f')``."
6643+
#, fuzzy
6644+
#| msgid ":gh:`130662`: +Accept leading zeros in precision and width fields for +:class:`~decimal.Decimal` formatting, for example ``format(Decimal(1.25), '.016f')``."
6645+
msgid ":gh:`130662`: Accept leading zeros in precision and width fields for :class:`~decimal.Decimal` formatting, for example ``format(Decimal(1.25), '.016f')``."
66346646
msgstr ":gh:`130662`: +پذیرش صفرهای پیش‌آهنگ در فیلدهای دقت و عرض برای قالب‌بندی :class:`~decimal.Decimal`؛ برای نمونه ``format(Decimal(1.25), '.016f')``."
66356647

66366648
msgid ":gh:`130662`: Accept leading zeros in precision and width fields for :class:`~fractions.Fraction` formatting, for example ``format(Fraction(1, 3), '.016f')``."

0 commit comments

Comments
 (0)