| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9aa9232 commit 7f62e07
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ msgid "" | |||
| 13 | 13 | msgstr "" | |
| 14 | 14 | "Project-Id-Version: Python 3.14\n" | |
| 15 | 15 | "Report-Msgid-Bugs-To: \n" | |
| 16 | - "POT-Creation-Date: 2026-09-16 12:56+0000\n" | ||
| 16 | + "POT-Creation-Date: 2026-10-01 04:48+0000\n" | ||
| 17 | 17 | "PO-Revision-Date: 2026-09-12 16:50+0330\n" | |
| 18 | 18 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 19 | 19 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -445,6 +445,9 @@ msgstr "پارامتر *ssl_shutdown_timeout* اضافه شد." | |||
| 445 | 445 | msgid "*all_errors* was added." | |
| 446 | 446 | msgstr "*all_errors* افزوده شد." | |
| 447 | 447 | ||
| 448 | + msgid "Raises a ``ValueError`` if ``ssl.check_hostname`` is ``True`` and ``server_hostname`` is not supplied." | ||
| 449 | + msgstr "" | ||
| 450 | + | ||
| 448 | 451 | msgid "The :func:`open_connection` function is a high-level alternative API. It returns a pair of (:class:`StreamReader`, :class:`StreamWriter`) that can be used directly in async/await code." | |
| 449 | 452 | msgstr "تابع :func:`open_connection` یک API جایگزین سطحبالا است. این تابع یک جفت (:class:`StreamReader`، :class:`StreamWriter`) را برمیگرداند که میتوان مستقیماً در کد async/await از آنها استفاده کرد." | |
| 450 | 453 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,7 +13,7 @@ msgid "" | |||
| 13 | 13 | msgstr "" | |
| 14 | 14 | "Project-Id-Version: Python 3.14\n" | |
| 15 | 15 | "Report-Msgid-Bugs-To: \n" | |
| 16 | - "POT-Creation-Date: 2026-09-16 12:56+0000\n" | ||
| 16 | + "POT-Creation-Date: 2026-10-01 04:48+0000\n" | ||
| 17 | 17 | "PO-Revision-Date: 2026-09-14 12:05+0330\n" | |
| 18 | 18 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 19 | 19 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -322,6 +322,9 @@ msgstr "*ssl_handshake_timeout* مدت زمان انتظار به ثانیه ب | |||
| 322 | 322 | msgid "*ssl_shutdown_timeout* is the time in seconds to wait for the SSL shutdown to complete before aborting the connection. ``30.0`` seconds if ``None`` (default)." | |
| 323 | 323 | msgstr "*ssl_shutdown_timeout* زمان بر حسب ثانیه است که باید برای تکمیل خاموشسازی SSL پیش از قطع اتصال منتظر بمانید. اگر ``None`` باشد، ``30.0`` ثانیه است (پیشفرض)." | |
| 324 | 324 | ||
| 325 | + msgid "Raises a ``ValueError`` if ``sslcontext.check_hostname`` is ``True`` and ``server_hostname`` is not supplied." | ||
| 326 | + msgstr "" | ||
| 327 | + | ||
| 325 | 328 | msgid "Return ``True`` if the stream is closed or in the process of being closed." | |
| 326 | 329 | msgstr "اگر جریان بسته باشد یا در حال بسته شدن باشد، ``True`` را برمیگرداند." | |
| 327 | 330 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,7 +14,7 @@ msgid "" | |||
| 14 | 14 | msgstr "" | |
| 15 | 15 | "Project-Id-Version: Python 3.14\n" | |
| 16 | 16 | "Report-Msgid-Bugs-To: \n" | |
| 17 | - "POT-Creation-Date: 2026-09-16 12:56+0000\n" | ||
| 17 | + "POT-Creation-Date: 2026-10-01 04:48+0000\n" | ||
| 18 | 18 | "PO-Revision-Date: 2026-09-13 15:23+0330\n" | |
| 19 | 19 | "Last-Translator: Sepehr Rasouli <sepehrrasouli06@gmail.com>, 2026\n" | |
| 20 | 20 | "Language-Team: Persian (https://github.com/python/python-docs-fa/)\n" | |
@@ -1175,6 +1175,9 @@ msgstr "تابع کالبک با ۳ آرگومان فراخوانی میش | |||
| 1175 | 1175 | msgid "A typical use of this callback is to change the :class:`ssl.SSLSocket`'s :attr:`SSLSocket.context` attribute to a new object of type :class:`SSLContext` representing a certificate chain that matches the server name." | |
| 1176 | 1176 | msgstr "یک کاربرد رایج این کالبک، تغییر ویژگی :attr:`SSLSocket.context` مربوط به :class:`ssl.SSLSocket` به شیء جدیدی از نوع :class:`SSLContext` است که نشاندهندهی زنجیرهی گواهیای است که با نام سرور مطابقت دارد." | |
| 1177 | 1177 | ||
| 1178 | + msgid "If the callback assigns a new context to :attr:`SSLSocket.context`, any further ClientHello message on the same connection (for example after a TLS 1.3 HelloRetryRequest) is dispatched to the new context's *sni_callback*, if it has one; the original callback is not called again for that connection." | ||
| 1179 | + msgstr "" | ||
| 1180 | + | ||
| 1178 | 1181 | msgid "Due to the early negotiation phase of the TLS connection, only limited methods and attributes are usable like :meth:`SSLSocket.selected_alpn_protocol` and :attr:`SSLSocket.context`. The :meth:`SSLSocket.getpeercert`, :meth:`SSLSocket.get_verified_chain`, :meth:`SSLSocket.get_unverified_chain` :meth:`SSLSocket.cipher` and :meth:`SSLSocket.compression` methods require that the TLS connection has progressed beyond the TLS Client Hello and therefore will not return meaningful values nor can they be called safely." | |
| 1179 | 1182 | msgstr "به دلیل مرحلهی اولیهی مذاکرهی اتصال TLS، تنها متدها و ویژگیهای محدودی قابل استفاده هستند، مانند :meth:`SSLSocket.selected_alpn_protocol` و :attr:`SSLSocket.context`. متدهای :meth:`SSLSocket.getpeercert`، :meth:`SSLSocket.get_verified_chain`، :meth:`SSLSocket.get_unverified_chain`، :meth:`SSLSocket.cipher` و :meth:`SSLSocket.compression` نیاز دارند که اتصال TLS از TLS Client Hello فراتر رفته باشد؛ بنابراین نه مقادیر معناداری برمیگردانند و نه میتوان آنها را بهطور امن فراخوانی کرد." | |
| 1180 | 1183 | ||
@@ -1187,6 +1190,9 @@ msgstr "اگر استثنایی از تابع *sni_callback* پرتاب شود، | |||
| 1187 | 1190 | msgid "This method will raise :exc:`NotImplementedError` if the OpenSSL library had OPENSSL_NO_TLSEXT defined when it was built." | |
| 1188 | 1191 | msgstr "اگر OPENSSL_NO_TLSEXT هنگام ساخت کتابخانه OpenSSL تعریفشده باشد، این متد :exc:`NotImplementedError` را پرتاب خواهد کرد." | |
| 1189 | 1192 | ||
| 1193 | + msgid "After the callback assigns a new :attr:`SSLSocket.context`, later ClientHello messages on the connection are dispatched to the new context's *sni_callback*." | ||
| 1194 | + msgstr "" | ||
| 1195 | + | ||
| 1190 | 1196 | msgid "This is a legacy API retained for backwards compatibility. When possible, you should use :attr:`sni_callback` instead. The given *server_name_callback* is similar to *sni_callback*, except that when the server hostname is an IDN-encoded internationalized domain name, the *server_name_callback* receives a decoded U-label (``\"pythön.org\"``)." | |
| 1191 | 1197 | msgstr "این یک API قدیمی است که برای سازگاری با نسخههای قبلی حفظ شده است. در صورت امکان، باید بهجای آن از :attr:`sni_callback` استفاده کنید. *server_name_callback* دادهشده مشابه *sni_callback* است، با این تفاوت که وقتی نام میزبان سرور یک IDN کدگذاریشده با IDN باشد، *server_name_callback* یک U-label کدگشاییشده را دریافت میکند (``\"pythön.org\"``)." | |
| 1192 | 1198 | ||
@@ -1253,12 +1259,15 @@ msgstr "نوع بازگشتی :meth:`SSLContext.wrap_socket`، بهطور پ | |||
| 1253 | 1259 | msgid "Wrap the BIO objects *incoming* and *outgoing* and return an instance of :attr:`SSLContext.sslobject_class` (default :class:`SSLObject`). The SSL routines will read input data from the incoming BIO and write data to the outgoing BIO." | |
| 1254 | 1260 | msgstr "اشیای BIO *incoming* و *outgoing* را دربرمیگیرد و نمونهای از :attr:`SSLContext.sslobject_class` (پیشفرض :class:`SSLObject`) برمیگرداند. روالهای SSL دادههای ورودی را از BIO ورودی میخوانند و دادهها را در BIO خروجی مینویسند." | |
| 1255 | 1261 | ||
| 1256 | - msgid "The *server_side*, *server_hostname* and *session* parameters have the same meaning as in :meth:`SSLContext.wrap_socket`." | ||
| 1257 | - msgstr "پارامترهای *server_side*، *server_hostname* و *session* همان معنایی را دارند که در :meth:`SSLContext.wrap_socket` آمده است." | ||
| 1262 | + msgid "The *server_side*, *server_hostname* and *session* parameters have the same meaning as in :meth:`SSLContext.wrap_socket`, and are validated in the same way: in particular a :exc:`ValueError` is raised when :attr:`~SSLContext.check_hostname` is enabled but no *server_hostname* is given, since there would be no name to match the peer's certificate against." | ||
| 1263 | + msgstr "" | ||
| 1258 | 1264 | ||
| 1259 | 1265 | msgid "The method returns an instance of :attr:`SSLContext.sslobject_class` instead of hard-coded :class:`SSLObject`." | |
| 1260 | 1266 | msgstr "این متد بهجای :class:`SSLObject` سختکد، نمونهای از :attr:`SSLContext.sslobject_class` را برمیگرداند." | |
| 1261 | 1267 | ||
| 1268 | + msgid "The *server_side*, *server_hostname* and *session* parameters are now validated as :meth:`SSLContext.wrap_socket` validates them. Previously a context with :attr:`~SSLContext.check_hostname` enabled and no *server_hostname* was accepted, and verified the certificate chain but never the peer's identity." | ||
| 1269 | + msgstr "" | ||
| 1270 | + | ||
| 1262 | 1271 | msgid "The return type of :meth:`SSLContext.wrap_bio`, defaults to :class:`SSLObject`. The attribute can be overridden on instance of class in order to return a custom subclass of :class:`SSLObject`." | |
| 1263 | 1272 | msgstr "نوع بازگشتی :meth:`SSLContext.wrap_bio`، بهطور پیشفرض :class:`SSLObject` است. میتوان این ویژگی را در نمونهای از کلاس بازنویسی کرد تا یک زیرکلاس سفارشی از :class:`SSLObject` بازگردانده شود." | |
| 1264 | 1273 | ||
@@ -2245,3 +2254,6 @@ msgstr "گواهیها" | |||
| 2245 | 2254 | ||
| 2246 | 2255 | msgid "X509 certificate" | |
| 2247 | 2256 | msgstr "گواهی X509" | |
| 2257 | + | ||
| 2258 | + #~ msgid "The *server_side*, *server_hostname* and *session* parameters have the same meaning as in :meth:`SSLContext.wrap_socket`." | ||
| 2259 | + #~ msgstr "پارامترهای *server_side*، *server_hostname* و *session* همان معنایی را دارند که در :meth:`SSLContext.wrap_socket` آمده است." | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments