Summary
- 🔍 14 newly fuzzy strings in 3 files
- ✏️ 39 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.
library/ssl.po (2 new fuzzy)
- hostname = 'www.python.org'\n# PROTOCOL_TLS_CLIENT requires valid cert chain and hostname\ncontext = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)\ncontext.load_veri…
+ hostname = 'www.python.org'\n# PROTOCOL_TLS_CLIENT requires valid cert chain and hostname\ncontext = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)\ncontext.load_veri…
msgstr: hostname = 'www.python.org'\n# PROTOCOL_TLS_CLIENT requires valid cert chain and hostname\ncontext = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)\ncontext.load_veri…
- For client-side sockets, the context construction is lazy; if the underlying socket isn't connected yet, the context construction will be performed after :meth…
+ For client-side sockets, if *sock* is not yet connected, the underlying SSL object is created when :meth:`~socket.socket.connect` is called. For server-side so…
msgstr: برای سوکتهای سمت کلاینت، ساخت زمینه با تأخیر انجام میشود؛ اگر سوکت زیرین هنوز متصل نشده باشد، ساخت زمینه پس از فراخوانی :meth:`connect` روی سوکت انجام خواهد …
library/test.po (11 new fuzzy)
- Delete *name* from ``sys.modules``.
+ Remove the module named *name* from :data:`sys.modules`.
msgstr: *name* را از ``sys.modules`` حذف میکند.
- Remove the module named *module_name* from ``sys.modules`` and delete any byte-compiled files of the module.
+ Remove the module named *modname* from :data:`sys.modules` and delete any byte-compiled files of the module.
msgstr: ماژول با نام *module_name* را از ``sys.modules`` حذف کنید و هرگونه پرونده کامپایلشده به بایت آن ماژول را پاک کنید.
- Return a copy of :data:`sys.modules`.
+ Return a tuple containing a copy of :data:`sys.modules`.
msgstr: یک کپی از :data:`sys.modules` برمیگرداند.
- Remove modules except for *oldmodules* and ``encodings`` in order to preserve internal cache.
+ Remove modules except for *oldmodules* and ``encodings`` from :data:`sys.modules` in order to preserve the internal cache.
msgstr: ماژولها را به جز *oldmodules* و ``encodings`` حذف کنید تا نهانگاه داخلی حفظ شود.
- A context manager to force import to return a new module reference. This is useful for testing module-level behaviors, such as the emission of a :exc:`Depreca…
+ A context manager to force imports to return new module references. This is useful for testing module-level behaviors, such as the emission of a :exc:`Depreca…
msgstr: یک مدیریتکننده زمینه برای وادار کردن ایمپورت به بازگرداندن مرجع جدیدی از ماژول. این برای آزمایش رفتارهای سطح ماژول، مانند صدور یک :exc:`DeprecationWarning` هن…
- Example use::
+ Example usage::
msgstr: نمونه استفاده::
- with CleanImport('foo'):\n importlib.import_module('foo') # New reference.
+ with CleanImport('foo'):\n importlib.import_module('foo') # New reference.
msgstr: with CleanImport('foo'):\n importlib.import_module('foo') # New reference.
- This function imports and returns a fresh copy of the named Python module by removing the named module from ``sys.modules`` before doing the import. Note that …
+ This function imports and returns a fresh copy of the named Python module by removing the named module from :data:`sys.modules` before doing the import. Note t…
msgstr: این تابع با حذف کردن ماژول نامبرده از ``sys.modules`` پیش از انجام عمل ایمپورت، یک نسخهی تازه از آن ماژول نامبرده را ایمپورت کرده و برمیگرداند. توجه داشته …
- *fresh* is an iterable of additional module names that are also removed from the ``sys.modules`` cache before doing the import.
+ *fresh* is an iterable of additional module names that are also removed from the :data:`sys.modules` cache before doing the import.
msgstr: *fresh* یک پیمایشپذیر از نامهای ماژول اضافی است که همچنین پیش از انجام ایمپورت از نهانگاه ``sys.modules`` حذف میشوند.
- The named module and any modules named in the *fresh* and *blocked* parameters are saved before starting the import and then reinserted into ``sys.modules`` wh…
+ The named module and any modules named in the *fresh* and *blocked* parameters are saved before starting the import and then reinserted into :data:`sys.modules…
msgstr: ماژول نامبردهشده و هر ماژولی که در پارامترهای *fresh* و *blocked* نامبردهشده باشد، پیش از آغاز ایمپورت ذخیره میشوند و سپس هنگامی که ایمپورت تازه کامل میش…
… and 1 more
whatsnew/changelog.po (1 new fuzzy)
- :gh:`97725`: Fix :meth:`asyncio.Task.print_stack` description for ``file=None``. Patch by Oleg Iarygin.
+ :gh:`161166`: Fix :meth:`asyncio.Task.print_stack` displaying an incorrect exception line after a ``finally`` block. Patch by Timofei Ivankov.
msgstr: :gh:`97725`: رفع توضیحات :meth:`asyncio.Task.print_stack` برای ``file=None``. وصله توسط Oleg Iarygin.
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
library/test.po (30 new untranslated)
Creating module objects
Create a new, empty :term:`module` or :term:`package` and return it.
*name*, *loader* and *ispkg* (as ``is_package``) are passed to :class:`importlib.machinery.ModuleSpec`.
Create a :term:`module` from a name or spec and add it to :data:`sys.modules`.
If *parents* is ``True``, create any missing parent modules.
Return the new module.
Create a :term:`package` from a name or spec and add it to :data:`sys.modules`.
Return the new package.
Manipulating sys.modules
A context manager that makes a copy of :data:`sys.modules` on entry and restores it on exit.
When created, this makes a copy of :data:`sys.modules` and removes names from *module_names* from the original. On exit, the original module references are res…
If *usefrozen* is False (the default) then the frozen importer is disabled (except for essential modules like ``importlib._bootstrap``).
Importing modules
Import and return the named module.
If the module is already imported, this is returned. Otherwise, import the module and return it. If the module is not found a new, empty module will be created.
If *clearnone* is ``True``, this will first remove any ``None`` values that would block the import.
Manipulating sys.path
A context manager that will create a new Python module *name* with *source* source code in a temporary directory and inserts this directory at the start of :da…
If the name matches an existing module, this will be cleared from :data:`sys.modules` on entry and restored on exit.
If no name is given, the module will be named "spam".
Manipulating internals
If *allow_compile* is ``True`` this will create a .pyc file if it does not exist.
A context manager that forces frozen modules to be used or excluded.
If *enabled* is ``True`` frozen modules are used, otherwise they are excluded.
This only applies to modules that have not yet been imported. Some essential modules will always be imported frozen.
… and 5 more
library/urllib.request.po (4 new untranslated)
Because *proxies* holds at most one proxy for each protocol, it cannot use a proxy auto-config (PAC) file, which selects a proxy for each URL. See :ref:`this …
Proxy auto-config (PAC) files select a proxy for each URL, so they cannot be described by the *proxies* mapping that :class:`ProxyHandler` expects. The :pypi:…
import urllib.error\nimport urllib.request\nfrom pypac import get_pac\nfrom pypac.resolver import ProxyResolver\n\nclass PACProxyHandler(urllib.request.ProxyHa…
Note that a PAC file may also select a SOCKS proxy, which :mod:`urllib.request` cannot use, and that the :envvar:`no_proxy` environment variable and the operat…
whatsnew/changelog.po (5 new untranslated)
:gh:`160303`: Fix :class:`bytearray` reading and writing memory outside of its buffer after ``del b[:n]`` or ``b[:n] = shorter`` failed with :exc:`MemoryError`…
:gh:`161712`: Fix :meth:`threading.Thread.join` with a timeout blocking forever when the deadline passed between the two reads of the clock used to compute the…
:gh:`161060`: Fix a crash in :mod:`xml.parsers.expat` when a handler raises an exception, or the :meth:`~xml.parsers.expat.xmlparser.DefaultHandler` or :meth:`…
:gh:`160708`: Fix out-of-bounds memory access in :func:`bool` on :mod:`ctypes` simple objects enlarged by :func:`ctypes.resize`, and when passing such objects …
:gh:`155003`: Fix :class:`multiprocessing.shared_memory.SharedMemory` leaking its file descriptor and printing an ignored :exc:`BufferError` when garbage colle…
Triggered by sync with 3.15 (commit 9e8581d).