Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0da1846

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.11 (#442)
* sync with cpython e0d951d6* sync with cpython ada22db1* sync with cpython 80117dd4* sync with cpython 2d037fb4* sync with cpython dd046973* sync with cpython 247f0500* sync with cpython a276ce45* sync with cpython 21862121* sync with cpython c73f9c04* sync with cpython a7acc5cb* sync with cpython 38553442* fix: resolve fuzzy entries---------Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>Co-authored-by: Matt Wang <mattwang44@gmail.com>
1 parent665154d commit0da1846

13 files changed

+1807
-1782
lines changed

‎howto/clinic.po

Lines changed: 294 additions & 296 deletions
Large diffs are not rendered by default.

‎library/asyncio-exceptions.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 3.11\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2022-10-15 20:43+0000\n"
11+
"POT-Creation-Date:2023-07-06 00:19+0000\n"
1212
"PO-Revision-Date:2022-01-31 21:41+0800\n"
1313
"Last-Translator:Matt Wang <mattwang44@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -32,7 +32,9 @@ msgstr "**原始碼:**\\ :source:`Lib/asyncio/exceptions.py`"
3232
msgid""
3333
"A deprecated alias of :exc:`TimeoutError`, raised when the operation has "
3434
"exceeded the given deadline."
35-
msgstr":exc:`TimeoutError` 的一個已被棄用的別名,當操作已超過規定的截止時間時被引發。"
35+
msgstr""
36+
":exc:`TimeoutError` 的一個已被棄用的別名,當操作已超過規定的截止時間時被引"
37+
"發。"
3638

3739
#:../../library/asyncio-exceptions.rst:21
3840
msgid"This class was made an alias of :exc:`TimeoutError`."
@@ -51,8 +53,10 @@ msgstr ""
5153
"該例外必須重新被引發。"
5254

5355
#:../../library/asyncio-exceptions.rst:34
54-
msgid":exc:`CancelledError` is now a subclass of :class:`BaseException`."
55-
msgstr":exc:`CancelledError` 現在是 :class:`BaseException` 的子類別。"
56+
msgid""
57+
":exc:`CancelledError` is now a subclass of :class:`BaseException` rather "
58+
"than :class:`Exception`."
59+
msgstr":exc:`CancelledError` 現在是 :class:`BaseException` 而非 :class:`Exception` 的子類別。"
5660

5761
#:../../library/asyncio-exceptions.rst:39
5862
msgid"Invalid internal state of :class:`Task` or :class:`Future`."

‎library/crypt.po

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version:Python 3.11\n"
99
"Report-Msgid-Bugs-To:\n"
10-
"POT-Creation-Date:2023-05-09 00:15+0000\n"
10+
"POT-Creation-Date:2023-07-13 00:19+0000\n"
1111
"PO-Revision-Date:2018-05-23 14:42+0000\n"
1212
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -26,14 +26,15 @@ msgstr ":mod:`crypt` --- 用於檢查 Unix 密碼的函式"
2626
msgid"**Source code:** :source:`Lib/crypt.py`"
2727
msgstr"**原始碼:**\\ :source:`Lib/crypt.py`"
2828

29-
#:../../library/crypt.rst:23
29+
#:../../library/crypt.rst:24
3030
msgid""
3131
"The :mod:`crypt` module is deprecated (see :pep:`PEP 594 <594#crypt>` for "
3232
"details and alternatives). The :mod:`hashlib` module is a potential "
33-
"replacement for certain use cases."
33+
"replacement for certain use cases. The `passlib <https://pypi.org/project/"
34+
"passlib/>`_ package can replace all use cases of this module."
3435
msgstr""
3536

36-
#:../../library/crypt.rst:26
37+
#:../../library/crypt.rst:27
3738
msgid""
3839
"This module implements an interface to the :manpage:`crypt(3)` routine, "
3940
"which is a one-way hash function based upon a modified DES algorithm; see "
@@ -42,15 +43,15 @@ msgid ""
4243
"attempting to crack Unix passwords with a dictionary."
4344
msgstr""
4445

45-
#:../../library/crypt.rst:34
46+
#:../../library/crypt.rst:35
4647
msgid""
4748
"Notice that the behavior of this module depends on the actual "
4849
"implementation of the :manpage:`crypt(3)` routine in the running system. "
4950
"Therefore, any extensions available on the current implementation will also "
5051
"be available on this module."
5152
msgstr""
5253

53-
#:../../library/crypt.rst:39
54+
#:../../library/crypt.rst:40
5455
msgid":ref:`Availability <availability>`: Unix, not VxWorks."
5556
msgstr":ref:`適用 <availability>`:Unix,非 VxWorks。"
5657

@@ -65,65 +66,65 @@ msgid ""
6566
"more information."
6667
msgstr""
6768

68-
#:../../library/crypt.rst:44
69+
#:../../library/crypt.rst:45
6970
msgid"Hashing Methods"
7071
msgstr""
7172

72-
#:../../library/crypt.rst:48
73+
#:../../library/crypt.rst:49
7374
msgid""
7475
"The :mod:`crypt` module defines the list of hashing methods (not all methods "
7576
"are available on all platforms):"
7677
msgstr""
7778

78-
#:../../library/crypt.rst:53
79+
#:../../library/crypt.rst:54
7980
msgid""
8081
"A Modular Crypt Format method with 16 character salt and 86 character hash "
8182
"based on the SHA-512 hash function. This is the strongest method."
8283
msgstr""
8384

84-
#:../../library/crypt.rst:58
85+
#:../../library/crypt.rst:59
8586
msgid""
8687
"Another Modular Crypt Format method with 16 character salt and 43 character "
8788
"hash based on the SHA-256 hash function."
8889
msgstr""
8990

90-
#:../../library/crypt.rst:63
91+
#:../../library/crypt.rst:64
9192
msgid""
9293
"Another Modular Crypt Format method with 22 character salt and 31 character "
9394
"hash based on the Blowfish cipher."
9495
msgstr""
9596

96-
#:../../library/crypt.rst:70
97+
#:../../library/crypt.rst:71
9798
msgid""
9899
"Another Modular Crypt Format method with 8 character salt and 22 character "
99100
"hash based on the MD5 hash function."
100101
msgstr""
101102

102-
#:../../library/crypt.rst:75
103+
#:../../library/crypt.rst:76
103104
msgid""
104105
"The traditional method with a 2 character salt and 13 characters of hash. "
105106
"This is the weakest method."
106107
msgstr""
107108

108-
#:../../library/crypt.rst:80
109+
#:../../library/crypt.rst:81
109110
msgid"Module Attributes"
110111
msgstr"模組屬性"
111112

112-
#:../../library/crypt.rst:86
113+
#:../../library/crypt.rst:87
113114
msgid""
114115
"A list of available password hashing algorithms, as ``crypt.METHOD_*`` "
115116
"objects. This list is sorted from strongest to weakest."
116117
msgstr""
117118

118-
#:../../library/crypt.rst:92
119+
#:../../library/crypt.rst:93
119120
msgid"Module Functions"
120121
msgstr"模組函式"
121122

122-
#:../../library/crypt.rst:94
123+
#:../../library/crypt.rst:95
123124
msgid"The :mod:`crypt` module defines the following functions:"
124125
msgstr":mod:`crypt` 模組定義了以下函式:"
125126

126-
#:../../library/crypt.rst:98
127+
#:../../library/crypt.rst:99
127128
msgid""
128129
"*word* will usually be a user's password as typed at a prompt or in a "
129130
"graphical interface. The optional *salt* is either a string as returned "
@@ -133,14 +134,14 @@ msgid ""
133134
"strongest method available in :attr:`methods` will be used."
134135
msgstr""
135136

136-
#:../../library/crypt.rst:105
137+
#:../../library/crypt.rst:106
137138
msgid""
138139
"Checking a password is usually done by passing the plain-text password as "
139140
"*word* and the full results of a previous :func:`crypt` call, which should "
140141
"be the same as the results of this call."
141142
msgstr""
142143

143-
#:../../library/crypt.rst:109
144+
#:../../library/crypt.rst:110
144145
msgid""
145146
"*salt* (either a random 2 or 16 character string, possibly prefixed with "
146147
"``$digit$`` to indicate the method) which will be used to perturb the "
@@ -149,36 +150,36 @@ msgid ""
149150
"``$digit$``."
150151
msgstr""
151152

152-
#:../../library/crypt.rst:115
153+
#:../../library/crypt.rst:116
153154
msgid""
154155
"Returns the hashed password as a string, which will be composed of "
155156
"characters from the same alphabet as the salt."
156157
msgstr""
157158

158-
#:../../library/crypt.rst:120
159+
#:../../library/crypt.rst:121
159160
msgid""
160161
"Since a few :manpage:`crypt(3)` extensions allow different values, with "
161162
"different sizes in the *salt*, it is recommended to use the full crypted "
162163
"password as salt when checking for a password."
163164
msgstr""
164165

165-
#:../../library/crypt.rst:124
166+
#:../../library/crypt.rst:125
166167
msgid"Accept ``crypt.METHOD_*`` values in addition to strings for *salt*."
167168
msgstr""
168169

169-
#:../../library/crypt.rst:130
170+
#:../../library/crypt.rst:131
170171
msgid""
171172
"Return a randomly generated salt of the specified method. If no *method* is "
172173
"given, the strongest method available in :attr:`methods` is used."
173174
msgstr""
174175

175-
#:../../library/crypt.rst:134
176+
#:../../library/crypt.rst:135
176177
msgid""
177178
"The return value is a string suitable for passing as the *salt* argument to :"
178179
"func:`crypt`."
179180
msgstr""
180181

181-
#:../../library/crypt.rst:137
182+
#:../../library/crypt.rst:138
182183
msgid""
183184
"*rounds* specifies the number of rounds for ``METHOD_SHA256``, "
184185
"``METHOD_SHA512`` and ``METHOD_BLOWFISH``. For ``METHOD_SHA256`` and "
@@ -188,29 +189,29 @@ msgid ""
188189
"sup:`31`), the default is ``4096`` (2\\ :sup:`12`)."
189190
msgstr""
190191

191-
#:../../library/crypt.rst:147
192+
#:../../library/crypt.rst:148
192193
msgid"Added the *rounds* parameter."
193194
msgstr"新增 *rounds* 參數。"
194195

195-
#:../../library/crypt.rst:152
196+
#:../../library/crypt.rst:153
196197
msgid"Examples"
197198
msgstr"範例"
198199

199-
#:../../library/crypt.rst:154
200+
#:../../library/crypt.rst:155
200201
msgid""
201202
"A simple example illustrating typical use (a constant-time comparison "
202203
"operation is needed to limit exposure to timing attacks. :func:`hmac."
203204
"compare_digest` is suitable for this purpose)::"
204205
msgstr""
205206

206-
#:../../library/crypt.rst:174
207+
#:../../library/crypt.rst:175
207208
msgid""
208209
"To generate a hash of a password using the strongest available method and "
209210
"check it against the original::"
210211
msgstr""
211212

212-
#:../../library/crypt.rst:15../../library/crypt.rst:32
213-
#:../../library/crypt.rst:118
213+
#:../../library/crypt.rst:15../../library/crypt.rst:33
214+
#:../../library/crypt.rst:119
214215
msgid"crypt(3)"
215216
msgstr"crypt(3)"
216217

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp