Summary
- 🔍 12 newly fuzzy strings in 8 files
- ✏️ 27 new untranslated strings in 4 files
🔍 Newly fuzzy strings
The source text changed slightly, so the existing translation (msgstr) may need updating. - is the old source, + the new.
c-api/import.po (1 new fuzzy)
- Gets the current lazy imports mode.
+ Sets the current lazy imports mode.
msgstr: حالت فعلی ایمپورتهای تنبل را دریافت میکند.
library/dbm.po (2 new fuzzy)
- Key and values are always stored as :class:`bytes`. This means that when strings are used they are implicitly converted to the default encoding before being st…
+ Key and values are always stored as :class:`bytes`. This means that when strings are used they are implicitly converted to the default encoding before being st…
msgstr: کلید و مقادیر همیشه بهصورت :class:`bytes` ذخیره میشوند. این بدان معناست که وقتی از رشتهها استفاده میشود، آنها پیش از ذخیره شدن بهطور ضمنی به کدگذاری پیش…
- import dbm\n\n# Open database, creating it if necessary.\nwith dbm.open('cache', 'c') as db:\n\n # Record some values\n db[b'hello'] = b'there'\n db['…
+ import dbm\n\n# Open database, creating it if necessary.\nwith dbm.open('cache', 'c') as db:\n\n # Record some values\n db[b'hello'] = b'there'\n db['…
msgstr: import dbm\n\n# Open database, creating it if necessary.\nwith dbm.open('cache', 'c') as db:\n\n # Record some values\n db[b'hello'] = b'there'\n db['…
library/email.charset.po (1 new fuzzy)
- Optional *output_charset* is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output charset whe…
+ Optional *output_charset* is the character set that the output should be in. Conversions will proceed from input charset, to Unicode, to the output charset whe…
msgstr: *output_charset* اختیاری، مجموعه نویسهای است که خروجی باید با آن باشد. هنگامی که متد :meth:`Charset.convert` فراخوانی میشود، تبدیلها از مجموعه نویسه ورودی، …
library/email.parser.po (2 new fuzzy)
- The :class:`BytesFeedParser`, imported from the :mod:`email.feedparser` module, provides an API that is conducive to incremental parsing of email messages, suc…
+ The :class:`BytesFeedParser`, imported from the :mod:`!email.feedparser` module, provides an API that is conducive to incremental parsing of email messages, su…
msgstr: :class:`BytesFeedParser`، که از ماژول :mod:`email.feedparser` ایمپورت میشود، یک API فراهم میکند که برای تجزیه تدریجی پیامهای ایمیل مناسب است، مانند حالتی که…
- Note: **The policy keyword should always be specified**; The default will change to :data:`email.policy.default` in a future version of Python.
+ Note: **The policy keyword should always be specified**. The default will change to :data:`email.policy.default` in a future version of Python.
msgstr: توجه: **کلیدواژهی policy همیشه باید تعیین شود**؛ مقدار پیشفرض در نسخهی آیندهی پایتون به :data:`email.policy.default` تغییر خواهد کرد.
library/re.po (3 new fuzzy)
- The special characters are:
+ Special characters
msgstr: نویسههای خاص عبارتند از:
- The sequence ::
+ Special sequences
msgstr: دنباله ::
- (?
+ (?>
msgstr: (?
library/sys.po (1 new fuzzy)
- Added the ``gil`` attribute.
+ Added the ``lazy_imports`` attribute.
msgstr: ویژگی ``gil`` افزوده شد.
reference/grammar.po (1 new fuzzy)
- # PEG grammar for Python\n\n@trailer '''\nvoid *\n_PyPegen_parse(Parser *p)\n{\n // Initialize keywords\n p->keywords = reserved_keywords;\n p->n_keyw…
+ # PEG grammar for Python\n\n@trailer '''\nvoid *\n_PyPegen_parse(Parser *p)\n{\n // Initialize keywords\n p->keywords = reserved_keywords;\n p->n_keyw…
msgstr: # گرامر PEG برای پایتون\n\n@trailer '''\nvoid *\n_PyPegen_parse(Parser *p)\n{\n // مقداردهی اولیه کلیدواژهها\n p->keywords = reserved_keywords;\n p->…
whatsnew/changelog.po (1 new fuzzy)
- :gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when passing :class:`ctypes.Structure` or :class:`ctypes.Union` ins…
+ :gh:`151126`: Fix a crash caused by failing to set :exc:`MemoryError` on allocation failure when first using a Chinese, Japanese or Korean codec.
msgstr: :gh:`151126`: رفع فروپاشی ناشی از تنظیمنشدن :exc:`MemoryError` هنگام شکست در تخصیص حافظه، در زمان ارسال نمونههای :class:`ctypes.Structure` یا :class:`ctypes.…
✏️ New untranslated strings
Brand-new source strings with no close match to an existing translation.
library/dbm.po (17 new untranslated)
Key and value types
The accepted types for keys and values vary by backend. Keys and values are handled the same way, except where noted below:
**Traditional backends:**
:mod:`dbm.gnu` and :mod:`dbm.ndbm`: Accept :class:`str` and :class:`bytes` objects.
:mod:`dbm.dumb`: Accepts :class:`str` and :class:`bytes` objects; :class:`bytearray` is acceptable as a value, but not as a key.
**SQLite backend** (:mod:`dbm.sqlite3`): Accepts :class:`str`, :class:`bytes`, :class:`int`, :class:`float`, :class:`bool`, :class:`bytearray`, :class:`memoryv…
**Storage format:**
All keys and values are stored as :class:`bytes` objects in the database. When retrieving, you'll always get bytes back, regardless of the original type stored.
**Type conversion examples:**
``db['key'] = 'string'`` stored as ``b'string'``
``db['key'] = bytearray(b'data')`` stored as ``b'data'`` (:mod:`dbm.dumb` and :mod:`dbm.sqlite3` only)
``db['key'] = 42`` stored as ``b'42'`` (:mod:`dbm.sqlite3` only)
``db['key'] = 3.14`` stored as ``b'3.14'`` (:mod:`dbm.sqlite3` only)
``db['key'] = True`` stored as ``b'1'`` (:mod:`dbm.sqlite3` only)
``db['key'] = False`` stored as ``b'0'`` (:mod:`dbm.sqlite3` only)
``db['key'] = memoryview(b'data')`` stored as ``b'data'`` (:mod:`dbm.sqlite3` only)
``db['key'] = array.array('i', [1, 2, 3])`` stored as bytes (for example, on little-endian: ``b'\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00'``) (:mod:`dbm…
library/re.po (1 new untranslated)
library/sys.po (1 new untranslated)
:option:`-X lazy_imports <-X>` and :envvar:`PYTHON_LAZY_IMPORTS` (``1`` for ``all``, ``-1`` otherwise; not changed by :func:`set_lazy_imports`)
whatsnew/changelog.po (8 new untranslated)
:gh:`160300`: Fix :class:`http.cookiejar.DefaultCookiePolicy` accepting and returning cookies with a negative ``Version`` attribute without checking their doma…
:gh:`152631`: Fix :func:`ast.parse` ability to parse lazy imports with *feature_version* older than 3.15, now it properly raises :exc:`SyntaxError`.
:gh:`160549`: Fix a crash when a :class:`compression.zstd.ZstdCompressor` that uses worker threads and a :class:`~compression.zstd.ZstdDict` is deallocated, or…
:gh:`160535`: Fix a crash in :mod:`compression.zstd` when the garbage collector frees a :class:`~compression.zstd.ZstdCompressor` that uses worker threads toge…
:gh:`160520`: Fix :mod:`asyncio` SSL transports not applying *ssl_shutdown_timeout* when the peer has sent EOF but does not read the data still queued for it. …
:gh:`160513`: Fix :meth:`asyncio.loop.start_tls` and :meth:`asyncio.StreamWriter.start_tls` not calling the protocol's :meth:`~asyncio.BaseProtocol.connection_…
:gh:`153319`: The :mod:`turtledemo` viewer now reads each demo script as UTF-8 instead of the locale encoding.
:gh:`157354`: Fix the :samp:`--with-{name}-sanitizer=no` and :samp:`--without-{name}-sanitizer` :program:`configure` options enabling the sanitizer instead of …
Triggered by sync with 3.15 (commit 8f54635).