Skip to content

Commit 5308803

Browse files
chore: sync msgids with CPython 3.15
1 parent cae070f commit 5308803

5 files changed

Lines changed: 105 additions & 11 deletions

File tree

‎library/annotationlib.po‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.14\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2026-09-21 11:59+0000\n"
13+
"POT-Creation-Date: 2026-10-14 04:18+0000\n"
1414
"PO-Revision-Date: 2026-09-13 16:52+0330\n"
1515
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1616
"Language-Team: none\n"
@@ -452,10 +452,14 @@ msgstr "یک ``__call__`` فراخوانی‌پذیر با امضای ``__call__
452452
msgid "A :ref:`code object <code-objects>` ``__code__`` containing the compiled code for the annotate function."
453453
msgstr "یک :ref:`شیء کد <code-objects>` ``__code__`` که شامل کد کامپایل‌شده برای تابع annotate است."
454454

455-
msgid "Optional: A tuple of the function's positional defaults ``__kwdefaults__``, if the function represented by ``__code__`` uses any positional defaults."
455+
#, fuzzy
456+
#| msgid "Optional: A tuple of the function's positional defaults ``__kwdefaults__``, if the function represented by ``__code__`` uses any positional defaults."
457+
msgid "Optional: A tuple of the function's positional defaults ``__defaults__``, if the function represented by ``__code__`` uses any positional defaults."
456458
msgstr "اختیاری: یک تاپل از پیش‌فرض‌های جایگاهی تابع ``__kwdefaults__``، اگر تابع نشان‌داده‌شده توسط ``__code__`` از هرگونه پیش‌فرض جایگاهی استفاده کند."
457459

458-
msgid "Optional: A dict of the function's keyword defaults ``__defaults__``, if the function represented by ``__code__`` uses any keyword defaults."
460+
#, fuzzy
461+
#| msgid "Optional: A dict of the function's keyword defaults ``__defaults__``, if the function represented by ``__code__`` uses any keyword defaults."
462+
msgid "Optional: A dict of the function's keyword defaults ``__kwdefaults__``, if the function represented by ``__code__`` uses any keyword defaults."
459463
msgstr "اختیاری: یک دیکشنری از مقادیر پیش‌فرض کلیدواژه‌ای تابع ``__defaults__``، اگر تابع نشان‌داده‌شده با ``__code__`` از مقادیر پیش‌فرض کلیدواژه‌ای استفاده کند."
460464

461465
msgid "Optional: All other :ref:`function attributes <inspect-types>`."

‎library/concurrent.interpreters.po‎

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.14\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2026-09-21 11:59+0000\n"
13+
"POT-Creation-Date: 2026-10-14 04:18+0000\n"
1414
"PO-Revision-Date: 2026-07-25 12:59+0330\n"
1515
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1616
"Language-Team: none\n"
@@ -199,6 +199,9 @@ msgstr "یک مفسر پایتون جدید (بی‌کار) را راه‌اند
199199
msgid "Initialize a new cross-interpreter queue and return a :class:`Queue` object for it."
200200
msgstr "یک صف بین‌مفسری جدید را مقداردهی اولیه می‌کند و یک شیء :class:`Queue` برای آن برمی‌گرداند."
201201

202+
msgid "*maxsize* is an integer that sets the upperbound limit on the number of items that can be placed in the queue. Insertion will be blocked once this size has been reached, until queue items are consumed. If *maxsize* is less than or equal to zero, the queue size is infinite."
203+
msgstr ""
204+
202205
msgid "Interpreter objects"
203206
msgstr "اشیای مفسر"
204207

@@ -259,16 +262,45 @@ msgstr "این استثنا، که زیرکلاسی از :exc:`TypeError` است
259262
msgid "Communicating Between Interpreters"
260263
msgstr "ارتباط بین مفسرها"
261264

262-
msgid "A wrapper around a low-level, cross-interpreter queue, which implements the :class:`queue.Queue` interface. The underlying queue can only be created through :func:`create_queue`."
265+
#, fuzzy
266+
#| msgid "A wrapper around a low-level, cross-interpreter queue, which implements the :class:`queue.Queue` interface. The underlying queue can only be created through :func:`create_queue`."
267+
msgid "A wrapper around a low-level, cross-interpreter queue, which implements all the methods of :class:`queue.Queue` except for :meth:`~queue.Queue.task_done`, :meth:`~queue.Queue.join` and :meth:`~queue.Queue.shutdown`. The underlying queue can only be created through :func:`create_queue`."
263268
msgstr "پوششی برای یک صف بین‌مفسری سطح پایین، که رابط :class:`queue.Queue` را پیاده‌سازی می‌کند. صف زیرین فقط از طریق :func:`create_queue` قابل ایجاد است."
264269

265270
msgid "The queue's ID."
266271
msgstr "شناسه‌ی صف."
267272

268-
msgid "This exception, a subclass of :exc:`queue.Empty`, is raised from :meth:`!Queue.get` and :meth:`!Queue.get_nowait` when the queue is empty."
273+
msgid "Return the number of items in the queue."
274+
msgstr ""
275+
276+
msgid "Return ``True`` if the queue is empty, ``False`` otherwise."
277+
msgstr ""
278+
279+
#, fuzzy
280+
#| msgid "Return ``True`` if the interpreter is currently executing code in its :mod:`!__main__` module and ``False`` otherwise."
281+
msgid "Return ``True`` if the queue is full, ``False`` otherwise."
282+
msgstr "اگر مفسر هم‌اکنون در حال اجرای کد در ماژول :mod:`!__main__` خود باشد، ``True`` و در غیر این صورت ``False`` برمی‌گرداند."
283+
284+
msgid "Put *obj* into the queue. If optional args *block* is true and *timeout* is ``None`` (the default), block if necessary until a free slot is available. If *timeout* is a positive number, it blocks at most *timeout* seconds and raises the :exc:`QueueFull` exception if no free slot was available within that time. Otherwise (*block* is false), put an object on the queue if a free slot is immediately available, else raise the :exc:`QueueFull` exception (*timeout* is ignored in that case)."
285+
msgstr ""
286+
287+
msgid "Equivalent to ``put(obj, block=False)``."
288+
msgstr ""
289+
290+
msgid "Remove and return an object from the queue. If optional args *block* is true and *timeout* is ``None`` (the default), block if necessary until an object is available. If *timeout* is a positive number, it blocks at most *timeout* seconds and raises the :exc:`QueueEmpty` exception if no object was available within that time. Otherwise (*block* is false), return an object if one is immediately available, else raise the :exc:`QueueEmpty` exception (*timeout* is ignored in that case)."
291+
msgstr ""
292+
293+
msgid "Equivalent to ``get(block=False)``."
294+
msgstr ""
295+
296+
#, fuzzy
297+
#| msgid "This exception, a subclass of :exc:`queue.Empty`, is raised from :meth:`!Queue.get` and :meth:`!Queue.get_nowait` when the queue is empty."
298+
msgid "This exception, a subclass of :exc:`queue.Empty`, is raised from :meth:`Queue.get` and :meth:`Queue.get_nowait` when the queue is empty."
269299
msgstr "این استثنا، زیرکلاسی از :exc:`queue.Empty`، زمانی از :meth:`!Queue.get` و :meth:`!Queue.get_nowait` پرتاب می‌شود که صف خالی باشد."
270300

271-
msgid "This exception, a subclass of :exc:`queue.Full`, is raised from :meth:`!Queue.put` and :meth:`!Queue.put_nowait` when the queue is full."
301+
#, fuzzy
302+
#| msgid "This exception, a subclass of :exc:`queue.Full`, is raised from :meth:`!Queue.put` and :meth:`!Queue.put_nowait` when the queue is full."
303+
msgid "This exception, a subclass of :exc:`queue.Full`, is raised from :meth:`Queue.put` and :meth:`Queue.put_nowait` when the queue is full."
272304
msgstr "این استثنا، زیرکلاسی از :exc:`queue.Full`، هنگامی از :meth:`!Queue.put` و :meth:`!Queue.put_nowait` پرتاب می‌شود که صف پر باشد."
273305

274306
msgid "Basic usage"
@@ -343,3 +375,22 @@ msgstr ""
343375
"\n"
344376
"t = interp.call_in_thread(run)\n"
345377
"t.join()"
378+
379+
#, fuzzy
380+
#| msgid "Communicating Between Interpreters"
381+
msgid "Communicating between interpreters with a queue::"
382+
msgstr "ارتباط بین مفسرها"
383+
384+
msgid ""
385+
"from concurrent import interpreters\n"
386+
"\n"
387+
"interp = interpreters.create()\n"
388+
"queue = interpreters.create_queue()\n"
389+
"\n"
390+
"def worker(queue):\n"
391+
" queue.put('spam!')\n"
392+
"\n"
393+
"t = interp.call_in_thread(worker, queue)\n"
394+
"print(queue.get())\n"
395+
"t.join()"
396+
msgstr ""

‎library/http.client.po‎

Lines changed: 4 additions & 2 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-01 14:41+0330\n"
17+
"POT-Creation-Date: 2026-10-14 04:18+0000\n"
1818
"PO-Revision-Date: 2026-09-14 12:34+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -239,7 +239,9 @@ msgstr "میزبان و پورت را برای تونل‌زنی HTTP Connect ت
239239
msgid "The *host* and *port* arguments specify the endpoint of the tunneled connection (i.e. the address included in the CONNECT request, *not* the address of the proxy server)."
240240
msgstr "آرگومان‌های *host* و *port* پایانه‌ی اتصال تونل‌شده را مشخص می‌کنند (یعنی نشانی گنجانده‌شده در درخواست CONNECT، *نه* نشانی سرور پراکسی)."
241241

242-
msgid "The *headers* argument should be a mapping of extra HTTP headers to send with the CONNECT request."
242+
#, fuzzy
243+
#| msgid "The *headers* argument should be a mapping of extra HTTP headers to send with the CONNECT request."
244+
msgid "The *headers* argument should be a mapping of extra HTTP headers to send with the CONNECT request. Non-string header values are converted to strings via :func:`str`."
243245
msgstr "آرگومان *headers* باید یک نگاشت از سرآیندهای HTTP اضافی برای ارسال به‌همراه درخواست CONNECT باشد."
244246

245247
msgid "As HTTP/1.1 is used for HTTP CONNECT tunnelling request, `as per the RFC <https://datatracker.ietf.org/doc/html/rfc7231#section-4.3.6>`_, a HTTP ``Host:`` header must be provided, matching the authority-form of the request target provided as the destination for the CONNECT request. If a HTTP ``Host:`` header is not provided via the headers argument, one is generated and transmitted automatically."

‎library/os.po‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.14\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2026-10-10 04:18+0000\n"
16+
"POT-Creation-Date: 2026-10-14 04:18+0000\n"
1717
"PO-Revision-Date: 2026-09-12 15:04+0330\n"
1818
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
1919
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -1559,6 +1559,9 @@ msgstr "*path* می‌تواند یک :term:`شیء شبه‌مسیر <path-like
15591559
msgid "Raises an :ref:`auditing event <auditing>` ``os.scandir`` with argument ``path``."
15601560
msgstr "یک :ref:`رویداد حسابرسی <auditing>` ``os.scandir`` را با آرگومان ``path`` پرتاب می‌کند."
15611561

1562+
msgid "Sharing a :func:`scandir` iterator between threads will not corrupt the iterator, but it is subject to :term:`race conditions <race condition>`: which entries each thread receives is unspecified, and closing the iterator while another thread is iterating ends that iteration early."
1563+
msgstr ""
1564+
15621565
msgid "The :func:`scandir` iterator supports the :term:`context manager` protocol and has the following method:"
15631566
msgstr "پیمایش‌گر :func:`scandir` از پروتکل :term:`context manager` پشتیبانی می‌کند و متد زیر را دارد:"
15641567

‎whatsnew/changelog.po‎

Lines changed: 35 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-10-13 04:22+0000\n"
17+
"POT-Creation-Date: 2026-10-14 04:18+0000\n"
1818
"PO-Revision-Date: 2026-08-28 10:52+0330\n"
1919
"Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n"
2020
"Language-Team: Persian (https://github.com/python/python-docs-fa/)\n"
@@ -37,6 +37,9 @@ msgstr "*تاریخ انتشار: XXXX-XX-XX*"
3737
msgid "Core and Builtins"
3838
msgstr "هسته و توکارها (Core and Builtins)"
3939

40+
msgid ":gh:`159285`: Fix a crash in a debug build when copying an empty :class:`dict` fails with :exc:`MemoryError`. Patch by Christian Aurich Zanettini Martins."
41+
msgstr ""
42+
4043
msgid ":gh:`158918`: Reduce C stack usage of ``_PyModule_IsPossiblyShadowing``, which could potentially cause stack overflows during module attribute access while deeply recursing in agressively optimized builds."
4144
msgstr ""
4245

@@ -74,6 +77,11 @@ msgstr ":gh:`91153`: فروپاشی ناشی از تغییر همزمان یک :
7477
msgid ":gh:`157468`: Fix the JIT optimizer folding a builtin name to a constant taken from the interpreter's builtins dictionary even when the running function uses a different ``__builtins__`` mapping, such as one created with ``vars(builtins).copy()``. The optimizer now only folds when the function's builtins is the interpreter's, and the folded constant is guarded at runtime so that another function sharing the same code object but a different builtins mapping does not use it."
7578
msgstr ""
7679

80+
#, fuzzy
81+
#| msgid ":gh:`156939`: Fix :c:func:`PyBytesWriter_Format` error handling: restore the writer to its previous state on error. Patch by Victor Stinner."
82+
msgid ":gh:`157242`: If :meth:`bytearray.resize` or :meth:`bytearray.take_bytes` fails, leave the :class:`bytearray` unchanged, instead of clearing it. Patch by Victor Stinner."
83+
msgstr ":gh:`156939`: رفع نحوه‌ی مدیریت خطای تابع :c:func:`PyBytesWriter_Format`: بازگرداندن نویسنده (writer) به وضعیت قبلی خود در صورت بروز خطا. وصله توسط Victor Stinner."
84+
7785
msgid ":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 the compiler's static block limit."
7886
msgstr ""
7987

@@ -86,6 +94,9 @@ msgstr ":gh:`156371`: رفع رویدادهای گم‌شده‌ی ``PyRefTracer
8694
msgid ":gh:`156204`: Fix a crash in :c:func:`PyErr_GivenExceptionMatches` when evaluating deeply nested exception tuples. The recursion is now bounded, and exceeding the limit is reported as an unraisable exception."
8795
msgstr ""
8896

97+
msgid ":gh:`155823`: Fix a JIT bug where the side exit taken when a virtual iterator is exhausted left a stale value on the stack, so the tier one interpreter resumed with corrupted state and ``yield from`` raised :exc:`AttributeError` instead of finishing normally."
98+
msgstr ""
99+
89100
msgid ":gh:`155504`: Fix a crash when thread state creation fails before the thread state is fully initialized."
90101
msgstr ""
91102

@@ -106,6 +117,12 @@ msgstr ":gh:`153570`: رفع یک خطای استفاده پس از آزادی (
106117
msgid ":gh:`151895`: Fixed a crash in :func:`marshal.loads` when an allocation failed while loading a reference-tracked dictionary; it now raises :exc:`MemoryError`."
107118
msgstr ""
108119

120+
msgid ":gh:`151518`: Fix a free-threaded stop-the-world fairness issue that could starve a thread reattaching after being suspended while detached."
121+
msgstr ""
122+
123+
msgid ":gh:`149816`: Fix a Use-After-Free race condition in ``subtype_getweakref()`` during concurrent weakref creation and destruction in the free-threading build."
124+
msgstr ""
125+
109126
#, fuzzy
110127
#| msgid ":gh:`149816`: Fix a race condition in ``_PyBytes_FromList`` in free-threading mode."
111128
msgid ":gh:`149816`: Fix race conditions in ``invoke_gc_callback`` iterating ``gc.callbacks`` in free-threading mode."
@@ -114,6 +131,12 @@ msgstr ":gh:`149816`: رفع یک مشکل شرایط رقابت (race condition
114131
msgid "Library"
115132
msgstr "کتابخانه"
116133

134+
msgid ":gh:`159225`: Prevent ``input`` calls in PyREPL from modifying readline history."
135+
msgstr ""
136+
137+
msgid ":gh:`159044`: Restore the previous behaviour of :meth:`http.client.HTTPConnection.set_tunnel` where header values that are not strings (such as :const:`None`, :class:`int` or other objects) are converted with :class:`str` instead of raising :exc:`AttributeError` when the request is sent."
138+
msgstr ""
139+
117140
msgid ":gh:`159184`: Fix :func:`marshal.dumps` raising :exc:`MemoryError` for a set or frozenset containing several complex NaNs, which also made it impossible to write a :file:`.pyc` file for source code containing such a constant."
118141
msgstr ""
119142

@@ -363,6 +386,9 @@ msgstr ""
363386
msgid ":gh:`153539`: Fix a crash in the C implementation of :meth:`io.TextIOWrapper.tell` when the decoder's ``getstate`` method triggers a reentrant seek, or when another thread seeks the same stream concurrently. Patch by tonghuaroot."
364387
msgstr ":gh:`153539`: رفع یک فروپاشی در پیاده‌سازی C متد :meth:`io.TextIOWrapper.tell` زمانی که متد ``getstate`` رمزگشا یک جستجوی بازورودپذیر (reentrant) را فعال می‌کند، یا وقتی رشته‌ی (thread) دیگری هم‌زمان همان جریان را مکان‌یابی می‌کند. این وصله (patch) توسط tonghuaroot ارائه شده است."
365388

389+
msgid ":gh:`152754`: Fix a crash when the same :func:`os.scandir` iterator is used concurrently from multiple threads. It no longer releases the directory handle while another thread is reading from it. Sharing an iterator between threads remains subject to race conditions: which entries each thread receives is unspecified."
390+
msgstr ""
391+
366392
msgid ":gh:`153364`: Make frame, coroutine and task-waiter walks iterative and bounded, avoiding potential hangs and stack overflows. Fix asyncio task inspection when awaited-by sets contain removed entries. Patch by Maurycy Pawłowski-Wieroński."
367393
msgstr ""
368394

@@ -377,6 +403,9 @@ msgstr ":gh:`152718`: رفع تخصیص حافظه‌ی بی‌کران در خ
377403
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."
378404
msgstr ":gh:`151126`: رفع فروپاشی ناشی از تنظیم‌نشدن :exc:`MemoryError` هنگام شکست در تخصیص حافظه، در زمان ارسال نمونه‌های :class:`ctypes.Structure` یا :class:`ctypes.Union` به‌صورت مقدار (by value) به توابع خارجی ctypes."
379405

406+
msgid ":gh:`152692`: Fix :func:`annotationlib.type_repr` returning a string such as ``None.list.append`` for bound built-in methods, whose ``__module__`` is ``None``. It now returns the qualified name, as it already did for other builtins."
407+
msgstr ""
408+
380409
msgid ":gh:`152204`: Fix the pure-Python implementations of :meth:`datetime.date.fromisoformat`, :meth:`datetime.time.fromisoformat` and :meth:`datetime.datetime.fromisoformat` silently accepting some malformed ISO 8601 strings, such as non-ASCII digits or a sign in a fixed-width field (for example ``'2020+12'`` or ``'20201212T0102٣٤'``). Each field is now required to be exactly *N* ASCII digits, matching the C implementation."
381410
msgstr ""
382411

@@ -564,6 +593,11 @@ msgstr "رابط C API"
564593
msgid ":gh:`149044`: Fix the :c:macro:`PySlot_END` macro for C++: initialize all members to avoid compiler warnings. Patch by Victor Stinner."
565594
msgstr ":gh:`149044`: رفع ماکروی :c:macro:`PySlot_END` برای C++: مقداردهی اولیه‌ی همه‌ی اعضا برای جلوگیری از هشدارهای کامپایلر. وصله توسط ویکتور استینر (Victor Stinner)."
566595

596+
#, fuzzy
597+
#| msgid ":gh:`149044`: Fix the :c:macro:`PySlot_END` macro for C++: initialize all members to avoid compiler warnings. Patch by Victor Stinner."
598+
msgid ":gh:`158810`: Fix :c:macro:`Py_ARRAY_LENGTH()` macro on C++: do not use ``__builtin_types_compatible_p()`` on C++. Patch by Victor Stinner."
599+
msgstr ":gh:`149044`: رفع ماکروی :c:macro:`PySlot_END` برای C++: مقداردهی اولیه‌ی همه‌ی اعضا برای جلوگیری از هشدارهای کامپایلر. وصله توسط ویکتور استینر (Victor Stinner)."
600+
567601
msgid ":gh:`157649`: Fix :c:macro:`Py_CLEAR` and :c:macro:`Py_SETREF` macros on C++: implement them using ``auto`` instead of ``decltype()``. Using ``decltype()`` produced invalid code when clearing/setting an array item. Patch by Victor Stinner."
568602
msgstr ""
569603

0 commit comments

Comments
 (0)