88msgstr ""
99"Project-Id-Version : Python 3.7\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-30 05:56 +0900\n "
11+ "POT-Creation-Date : 2018-10-17 09:30 +0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : Shun Sakurai, 2017\n "
1414"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -119,19 +119,14 @@ msgid ""
119119"system memory page size - platform documentation should be referred to for "
120120"more information (4 KiB pages are common; using multiples of 4096 for the "
121121"stack size is the suggested approach in the absence of more specific "
122- "information). Availability: Windows, systems with POSIX threads. "
122+ "information)."
123123msgstr ""
124- "新しいスレッドを作るときのスレッドスタックサイズを返します。オプションの *size* 引数にはこれ以降に作成するスレッドのスタックサイズを指定し、0 "
125- "(プラットフォームのデフォルト値または設定されたデフォルト値) か、 32,768 (32 KiB) 以上の正の整数でなければなりません。*size* "
126- "が指定されない場合 0 が使われます。スレッドのスタックサイズの変更がサポートされていない場合、 :exc:`RuntimeError` "
127- "を送出します。不正なスタックサイズが指定された場合、 :exc:`ValueError` を送出して、スタックサイズは変更されません。32 KiB "
128- "は現在のインタープリタ自身のために十分であると保証された最小のスタックサイズです。いくつかのプラットフォームではスタックサイズに対して制限があることに注意してください。例えば最小のスタックサイズが"
129- " 32 KiB より大きかったり、システムのメモリページサイズ "
130- "の整数倍の必要があるなどです。この制限についてはプラットフォームのドキュメントを参照してください (一般的なページサイズは 4 KiB "
131- "なので、プラットフォームに関する情報がない場合は 4096 の整数倍のスタックサイズを選ぶといいかもしれません)。利用可能な環境: "
132- "Windows、POSIX スレッドに対応したシステム。"
133124
134- #: ../../library/_thread.rst:109
125+ #: ../../library/_thread.rst:105
126+ msgid "Availability: Windows, systems with POSIX threads."
127+ msgstr ""
128+
129+ #: ../../library/_thread.rst:110
135130msgid ""
136131"The maximum value allowed for the *timeout* parameter of "
137132":meth:`Lock.acquire`. Specifying a timeout greater than this value will "
@@ -140,11 +135,11 @@ msgstr ""
140135":meth:`Lock.acquire` の *timeout* 引数に許される最大値です。これ以上の値を timeout に指定すると "
141136":exc:`OverflowError` を発生させます。"
142137
143- #: ../../library/_thread.rst:116
138+ #: ../../library/_thread.rst:117
144139msgid "Lock objects have the following methods:"
145140msgstr "ロックオブジェクトは次のようなメソッドを持っています:"
146141
147- #: ../../library/_thread.rst:121
142+ #: ../../library/_thread.rst:122
148143msgid ""
149144"Without any optional argument, this method acquires the lock "
150145"unconditionally, if necessary waiting until it is released by another thread"
@@ -154,7 +149,7 @@ msgstr ""
154149"オプションの引数なしで使用すると、このメソッドは他のスレッドがロックしているかどうかにかかわらずロックを獲得します。ただし、他のスレッドがすでにロックしている場合には解除されるまで待ってからロックを獲得します"
155150" (同時にロックを獲得できるスレッドはひとつだけであり、これこそがロックの存在理由です)。"
156151
157- #: ../../library/_thread.rst:125
152+ #: ../../library/_thread.rst:126
158153msgid ""
159154"If the integer *waitflag* argument is present, the action depends on its "
160155"value: if it is zero, the lock is only acquired if it can be acquired "
@@ -164,7 +159,7 @@ msgstr ""
164159"整数の引数 *waitflag* を指定すると、その値によって動作が変わります。引数が ``0`` "
165160"のときは、待たずにすぐ獲得できる場合にだけロックを獲得します。``0`` 以外の値を与えると、先の例と同様、ロックの状態にかかわらず獲得をおこないます。"
166161
167- #: ../../library/_thread.rst:130
162+ #: ../../library/_thread.rst:131
168163msgid ""
169164"If the floating-point *timeout* argument is present and positive, it "
170165"specifies the maximum wait time in seconds before returning. A negative "
@@ -174,43 +169,43 @@ msgstr ""
174169"*timeout* 引数に正の float 値が指定された場合、返る前に待つ最大の時間を秒数で指定します。負の *timeout* "
175170"引数は無制限に待つことを指定します。*waitflag* が 0 の時は *timeout* を指定することはできません。"
176171
177- #: ../../library/_thread.rst:135
172+ #: ../../library/_thread.rst:136
178173msgid ""
179174"The return value is ``True`` if the lock is acquired successfully, ``False``"
180175" if not."
181176msgstr "なお、ロックを獲得できた場合は ``True``、できなかった場合は ``False`` を返します。"
182177
183- #: ../../library/_thread.rst:138
178+ #: ../../library/_thread.rst:139
184179msgid "The *timeout* parameter is new."
185180msgstr "新しい *timeout* 引数。"
186181
187- #: ../../library/_thread.rst:141
182+ #: ../../library/_thread.rst:142
188183msgid "Lock acquires can now be interrupted by signals on POSIX."
189184msgstr "POSIX ではロックの取得がシグナルに割り込まれるようになりました。"
190185
191- #: ../../library/_thread.rst:147
186+ #: ../../library/_thread.rst:148
192187msgid ""
193188"Releases the lock. The lock must have been acquired earlier, but not "
194189"necessarily by the same thread."
195190msgstr "ロックを解放します。そのロックは既に獲得されたものでなければなりませんが、しかし同じスレッドによって獲得されたものである必要はありません。"
196191
197- #: ../../library/_thread.rst:153
192+ #: ../../library/_thread.rst:154
198193msgid ""
199194"Return the status of the lock: ``True`` if it has been acquired by some "
200195"thread, ``False`` if not."
201196msgstr "ロックの状態を返します: 同じスレッドによって獲得されたものなら ``True`` 、違うのなら ``False`` を返します。"
202197
203- #: ../../library/_thread.rst:156
198+ #: ../../library/_thread.rst:157
204199msgid ""
205200"In addition to these methods, lock objects can also be used via the "
206201":keyword:`with` statement, e.g.::"
207202msgstr "これらのメソッドに加えて、ロックオブジェクトは :keyword:`with` 文を通じて以下の例のように使うこともできます。 ::"
208203
209- #: ../../library/_thread.rst:166
204+ #: ../../library/_thread.rst:167
210205msgid "**Caveats:**"
211206msgstr "**警告:**"
212207
213- #: ../../library/_thread.rst:170
208+ #: ../../library/_thread.rst:171
214209msgid ""
215210"Threads interact strangely with interrupts: the :exc:`KeyboardInterrupt` "
216211"exception will be received by an arbitrary thread. (When the :mod:`signal` "
@@ -219,15 +214,15 @@ msgstr ""
219214"スレッドは割り込みと奇妙な相互作用をします: :exc:`KeyboardInterrupt` 例外は任意のスレッドによって受け取られます。 "
220215"(:mod:`signal` モジュールが利用可能なとき、割り込みは常にメインスレッドへ行きます。)"
221216
222- #: ../../library/_thread.rst:174
217+ #: ../../library/_thread.rst:175
223218msgid ""
224219"Calling :func:`sys.exit` or raising the :exc:`SystemExit` exception is "
225220"equivalent to calling :func:`_thread.exit`."
226221msgstr ""
227222":func:`sys.exit` を呼び出す、あるいは :exc:`SystemExit` 例外を送出することは、 "
228223":func:`_thread.exit` を呼び出すことと同じです。"
229224
230- #: ../../library/_thread.rst:177
225+ #: ../../library/_thread.rst:178
231226msgid ""
232227"It is not possible to interrupt the :meth:`acquire` method on a lock --- the"
233228" :exc:`KeyboardInterrupt` exception will happen after the lock has been "
@@ -236,7 +231,7 @@ msgstr ""
236231"ロックの :meth:`acquire` メソッドに割り込むことはできません --- :exc:`KeyboardInterrupt` "
237232"例外は、ロックが獲得された後に発生します。"
238233
239- #: ../../library/_thread.rst:180
234+ #: ../../library/_thread.rst:181
240235msgid ""
241236"When the main thread exits, it is system defined whether the other threads "
242237"survive. On most systems, they are killed without executing :keyword:`try` "
@@ -245,7 +240,7 @@ msgstr ""
245240"メインスレッドが終了したとき、他のスレッドが生き残るかどうかは、システムに依存します。多くのシステムでは、 :keyword:`try` ... "
246241":keyword:`finally` 節や、オブジェクトデストラクタを実行せずに終了されます。"
247242
248- #: ../../library/_thread.rst:185
243+ #: ../../library/_thread.rst:186
249244msgid ""
250245"When the main thread exits, it does not do any of its usual cleanup (except "
251246"that :keyword:`try` ... :keyword:`finally` clauses are honored), and the "
0 commit comments