Repository navigation
Closed
Labels
تغییرات خودکار در ترجمههاتغییرات اعمال شده خودکار بعد از همگامسازی با CPython
Description
Summary
- 🔍 18 newly fuzzy strings in 4 files
- ✏️ 55 new untranslated strings in 3 files
🔍 Newly fuzzy strings
The source text changed slightly, so the existing translation (msgstr) may need updating. - is the old source, + the new.
builtins/stdtypes.po (10 new fuzzy)
- Iterator Types
+ Iteration-related types
msgstr: انواع پیمایشگر
- literals
+ Iterables
msgstr: مقادیر لفظی
- iterator
+ Iterators
msgstr: پیمایشگر
- Generator Types
+ Generator types
msgstr: انواع تولیدگر
- Generator Types
+ Generator iterators
msgstr: انواع تولیدگر
- operator
+ generator
msgstr: عملگر
- Description
+ exception
msgstr: توضیح
- operation
+ StopIteration
msgstr: عملیات
- Generator Types
+ GeneratorExit
msgstr: انواع تولیدگر
- operation
+ StopAsyncIteration
msgstr: عملیات
library/ctypes.po (1 new fuzzy)
- The *use_errno* parameter, when set to true, enables a ctypes mechanism that allows accessing the system :data:`errno` error number in a safe way. :mod:`!ctype…
+ The *use_errno* parameter, when set to true, enables a ctypes mechanism that allows accessing the system :data:`errno` error number in a safe way. :mod:`!ctype…
msgstr: پارامتر *use_errno*، هنگامی که روی true تنظیم شود، سازوکاری در ctypes را فعال میکند که امکان دسترسی به شمارهی خطای سیستم :data:`errno` را بهشکلی امن فراهم م…
library/multiprocessing.po (1 new fuzzy)
- Available on POSIX platforms which support passing file descriptors over Unix pipes such as Linux. The default on those.
+ Available on POSIX platforms which support passing file descriptors over Unix pipes such as Linux. The default on those, unless there is no writable temporary…
msgstr: در پلتفرمهای POSIX مانند لینوکس که از انتقال توصیفگرهای پرونده از طریق پایپ یونیکس پشتیبانی میکنند، در دسترس است. پیشفرض در آنها.
whatsnew/changelog.po (6 new fuzzy)
- :gh:`91153`: Fix a crash when a :class:`bytearray` is concurrently mutated during item assignment.
+ :gh:`158072`: Fix a JIT crash when a class is instantiated with their default arguments
msgstr: :gh:`91153`: فروپاشی ناشی از تغییر همزمان یک :class:`bytearray` در حین انتساب آیتم را برطرف کنید.
- :gh:`149816`: Fix a race condition in ``_PyBytes_FromList`` in free-threading mode.
+ :gh:`149816`: Fix race conditions in ``invoke_gc_callback`` iterating ``gc.callbacks`` in free-threading mode.
msgstr: :gh:`149816`: رفع یک مشکل شرایط رقابت (race condition) در ``_PyBytes_FromList`` در حالت چندنخی آزاد (free-threading mode).
- :gh:`135853`: :mod:`math`: expose C99 :func:`~math.signbit` function to determine whether the sign bit of a floating-point value is set. Patch by Bénédikt Tran.
+ :gh:`155843`: :mod:`hmac`: ensure that HMAC objects are properly initialized to prevent rare crashes on allocation failures. Patch by Bénédikt Tran.
msgstr: :gh:`135853`: ماژول :mod:`math`: قرار دادن تابع C99 :func:`~math.signbit` در دسترس برای تشخیص این که آیا بیت علامت یک مقدار ممیز شناور تنظیم شده است یا خیر. وص…
- :gh:`134531`: :mod:`!_hashlib`: Rename internal C functions for :class:`!_hashlib.HASH` and :class:`!_hashlib.HASHXOF` objects. Patch by Bénédikt Tran.
+ :gh:`155835`: :mod:`hashlib`: Fix data races when accessing :attr:`~hashlib.hash.digest_size` and :attr:`~hashlib.hash.block_size` on SHA-3 objects. Patch by B…
msgstr: :gh:`134531`: :mod:`!_hashlib`: تغییر نام عملکردهای داخلی C برای شیءهای :class:`!_hashlib.HASH` و :class:`!_hashlib.HASHXOF`. وصله توسط Bénédikt Tran.
- :gh:`141442`: The iOS testbed now correctly handles test arguments that contain spaces.
+ :gh:`159211`: The iOS testbed no longer gathers simulator diagnostics when a test run fails.
msgstr: :gh:`141442`: محیط آزمون iOS اکنون آرگومانهای آزمونی را که حاوی فاصلهها هستند به درستی مدیریت میکند.
- :gh:`156939`: Fix :c:func:`PyBytesWriter_Format` error handling: restore the writer to its previous state on error. Patch by Victor Stinner.
+ :gh:`157242`: Fix :c:func:`PyBytesWriter_Resize` to handle properly memory allocation failure. Leave the writer unchanged on error, instead of leaving it in an…
msgstr: :gh:`156939`: رفع نحوهی مدیریت خطای تابع :c:func:`PyBytesWriter_Format`: بازگرداندن نویسنده (writer) به وضعیت قبلی خود در صورت بروز خطا. وصله توسط Victor Stin…
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
builtins/stdtypes.po (44 new untranslated)
Python's :term:`generators <generator>` -- or more precisely, :term:`generator functions <generator function>` and :term:`generator iterators <generator iterat…
A function that contains one or more :ref:`yield expressions <yieldexpr>` is a :term:`generator function`. For example::
>>> def count_to_three():\n... yield 0\n... yield 1\n... yield 2\n... yield 3
Generator functions behave as regular :ref:`user-defined functions <user-defined-funcs>` (for example, they have the same attributes), except that calling a ge…
>>> count_to_three()\n<generator object count_to_three at 0x7f33a2305000>
Iterating a generator iterator executes code of the underlying generator function, producing each :keyword:`yield`\ed value in turn::
>>> for number in count_to_three():\n... print(number)\n0\n1\n2\n3\n\n>>> list(count_to_three())\n[0, 1, 2, 3]
One common use for generator functions is implementing the :meth:`~object.__iter__` method of custom iterable objects. For example::
>>> class CardDeck:\n... def __iter__(self):\n... yield 'three of clubs'\n... yield 'ace of hearts'\n\n>>> list(CardDeck())\n['three of clu…
Generator iterators implement the :ref:`iterator protocol <stdtypes-iterators>`. Iterating them drives execution of the underlying generator function.
Starts the execution of a generator function or resumes it at the :ref:`yield expression <yieldexpr>` where the function is currently suspended. When a generat…
This method is normally called implicitly, for example by a :keyword:`for` loop, or by the built-in :func:`next` function.
Generator iterators have a few more methods than generic iterators, which can be used to control the execution of the underlying generator function:
"Sends" a value into the generator function: the *value* argument becomes the result of the current yield expression.
Otherwise, this method behaves like :meth:`~generator.__next__`: it resumes the underlying function and either returns the next yielded value or raises :exc:`S…
When :meth:`send` is called to start the generator, it must be called with :const:`None` as the argument, because there is no current yield expression that cou…
Raises an exception at the point where the generator is currently suspended.
Otherwise, this method behaves like :meth:`~generator.__next__`: it resumes the underlying function and either returns the next yielded value or raises :exc:`S…
When :meth:`throw` is called to start the generator, the generator immediately exits (that is, subsequent calls to :meth:`~generator.__next__` will raise :exc:…
In typical use, this is called with a single argument, an exception instance, similar to the way the :keyword:`raise` keyword is used.
For backwards compatibility, however, the second signature is supported, following a convention from older versions of Python. The *type* argument should be an…
The second signature \(type\[, value\[, traceback\]\]\) is deprecated and may be removed in a future version of Python.
Raises a :exc:`GeneratorExit` exception at the point where the generator function is currently suspended (equivalent to calling ``throw(GeneratorExit)``).
If the generator function has already exited (due to an exception or normal return), or raises :exc:`GeneratorExit` (by not catching the exception), :meth:`clo…
When a generator iterator is garbage collected before it has exited, :meth:`~generator.close` is called automatically.
… and 19 more
library/multiprocessing.po (1 new untranslated)
*spawn* is now the default start method when there is no writable temporary directory, for example on a read-only file system. Previously *forkserver* remained…
whatsnew/changelog.po (10 new untranslated)
:gh:`158918`: Reduce C stack usage of ``_PyModule_IsPossiblyShadowing``, which could potentially cause stack overflows during module attribute access while dee…
:gh:`158824`: Fix module-level :meth:`~module.__getattr__` being called before a module's own lazy imports were resolved, which allowed it to shadow them.
:gh:`158219`: Fix :class:`bytearray` constructor: do not use a bytes object if its hash value is already computed. Patch by Cody Maloney and Victor Stinner.
: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…
:gh:`157242`: :class:`io.BytesIO` is no longer closed on ``write()`` and ``truncate()`` failure (:exc:`MemoryError`). Patch by Victor Stinner.
:gh:`156920`: Fix :mod:`asyncio` on Windows: closing a :class:`~asyncio.DatagramTransport` under :class:`~asyncio.ProactorEventLoop` while datagrams were still…
:gh:`156698`: Fix :class:`asyncio.ProactorEventLoop` UDP transports so that a write error no longer strands a paused protocol: the write loop is now reschedule…
:gh:`155717`: :mod:`multiprocessing`'s default start method is now :ref:`"spawn" <multiprocessing-start-methods>` instead of ``"forkserver"`` when there is no …
:gh:`154594`: Fix :func:`copy.deepcopy` so that an object whose deep copy is ``None`` is still memoized. Patch by tonghuaroot.
:gh:`142083`: Document the ``'w'`` type code in the :class:`array.array` docstring, so that it lists the same type codes as :data:`array.typecodes` and the :mo…
Triggered by sync with 3.15 (commit d0e4ed8).
Metadata
Metadata
Assignees
Labels
تغییرات خودکار در ترجمههاتغییرات اعمال شده خودکار بعد از همگامسازی با CPython
Activity