@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version :Python 3.6\n "
13
13
"Report-Msgid-Bugs-To :\n "
14
- "POT-Creation-Date :2019-01-01 15:22 +0900\n "
14
+ "POT-Creation-Date :2019-03-18 16:02 +0900\n "
15
15
"PO-Revision-Date :2018-06-29 17:32+0000\n "
16
16
"Last-Translator :tomo, 2018\n "
17
17
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -182,15 +182,6 @@ msgstr "最大で *max_workers* 個のスレッドを非同期実行に使う :c
182
182
183
183
#: ../../library/concurrent.futures.rst:140
184
184
msgid ""
185
- "*initializer* is an optional callable that is called at the start of each "
186
- "worker thread; *initargs* is a tuple of arguments passed to the initializer."
187
- " Should *initializer* raise an exception, all currently pending jobs will "
188
- "raise a :exc:`~concurrent.futures.thread.BrokenThreadPool`, as well any "
189
- "attempt to submit more jobs to the pool."
190
- msgstr ""
191
-
192
- #: ../../library/concurrent.futures.rst:146
193
- msgid ""
194
185
"If *max_workers* is ``None`` or not given, it will default to the number of "
195
186
"processors on the machine, multiplied by ``5``, assuming that "
196
187
":class:`ThreadPoolExecutor` is often used to overlap I/O instead of CPU work"
@@ -201,22 +192,22 @@ msgstr ""
201
192
":class:`ThreadPoolExecutor` は CPU の処理ではなく I/O をオーバーラップするのによく使用されるため、 "
202
193
":class:`ProcessPoolExecutor` のワーカーの数よりもこのワーカーの数を増やすべきであるという想定に基づいています。"
203
194
204
- #: ../../library/concurrent.futures.rst:154
195
+ #: ../../library/concurrent.futures.rst:148
205
196
msgid ""
206
197
"The *thread_name_prefix* argument was added to allow users to control the "
207
198
":class:`threading.Thread` names for worker threads created by the pool for "
208
199
"easier debugging."
209
200
msgstr ""
210
201
211
- #: ../../library/concurrent.futures.rst:162
202
+ #: ../../library/concurrent.futures.rst:156
212
203
msgid "ThreadPoolExecutor Example"
213
204
msgstr "ThreadPoolExecutor の例"
214
205
215
- #: ../../library/concurrent.futures.rst:194
206
+ #: ../../library/concurrent.futures.rst:188
216
207
msgid "ProcessPoolExecutor"
217
208
msgstr "ProcessPoolExecutor"
218
209
219
- #: ../../library/concurrent.futures.rst:196
210
+ #: ../../library/concurrent.futures.rst:190
220
211
msgid ""
221
212
"The :class:`ProcessPoolExecutor` class is an :class:`Executor` subclass that"
222
213
" uses a pool of processes to execute calls asynchronously. "
@@ -229,7 +220,7 @@ msgstr ""
229
220
"モジュールを利用します。このため :term:`Global Interpreter Lock` を回避することができますが、pickle "
230
221
"化できるオブジェクトしか実行したり返したりすることができません。"
231
222
232
- #: ../../library/concurrent.futures.rst:202
223
+ #: ../../library/concurrent.futures.rst:196
233
224
msgid ""
234
225
"The ``__main__`` module must be importable by worker subprocesses. This "
235
226
"means that :class:`ProcessPoolExecutor` will not work in the interactive "
@@ -238,15 +229,15 @@ msgstr ""
238
229
"``__main__`` モジュールはワーカサブプロセスでインポート可能でなければなりません。\n"
239
230
"すなわち、 :class:`ProcessPoolExecutor` は対話的インタープリタでは動きません。"
240
231
241
- #: ../../library/concurrent.futures.rst:205
232
+ #: ../../library/concurrent.futures.rst:199
242
233
msgid ""
243
234
"Calling :class:`Executor` or :class:`Future` methods from a callable "
244
235
"submitted to a :class:`ProcessPoolExecutor` will result in deadlock."
245
236
msgstr ""
246
237
":class:`ProcessPoolExecutor` に渡された呼び出し可能オブジェクトから :class:`Executor` や "
247
238
":class:`Future` メソッドを呼ぶとデッドロックに陥ります。"
248
239
249
- #: ../../library/concurrent.futures.rst:210
240
+ #: ../../library/concurrent.futures.rst:204
250
241
msgid ""
251
242
"An :class:`Executor` subclass that executes calls asynchronously using a "
252
243
"pool of at most *max_workers* processes. If *max_workers* is ``None`` or "
@@ -258,7 +249,7 @@ msgstr ""
258
249
"*max_workers* が ``None`` や与えられなかった場合、デフォルトでマシンのプロセッサの数になります。\n"
259
250
"*max_workers* が ``0`` 以下の場合 :exc:`ValueError` が送出されます。"
260
251
261
- #: ../../library/concurrent.futures.rst:216
252
+ #: ../../library/concurrent.futures.rst:210
262
253
msgid ""
263
254
"When one of the worker processes terminates abruptly, a "
264
255
":exc:`BrokenProcessPool` error is now raised. Previously, behaviour was "
@@ -268,23 +259,23 @@ msgstr ""
268
259
"ワーカプロセスの1つが突然終了した場合、:exc:`BrokenProcessPool` エラーが送出されるようになりました。\n"
269
260
"以前は挙動は未定義でしたが、 executor や futures がフリーズしたりデッドロックを起こすことがしばしばでした。"
270
261
271
- #: ../../library/concurrent.futures.rst:226
262
+ #: ../../library/concurrent.futures.rst:220
272
263
msgid "ProcessPoolExecutor Example"
273
264
msgstr "ProcessPoolExecutor の例"
274
265
275
- #: ../../library/concurrent.futures.rst:260
266
+ #: ../../library/concurrent.futures.rst:254
276
267
msgid "Future Objects"
277
268
msgstr "Future オブジェクト"
278
269
279
- #: ../../library/concurrent.futures.rst:262
270
+ #: ../../library/concurrent.futures.rst:256
280
271
msgid ""
281
272
"The :class:`Future` class encapsulates the asynchronous execution of a "
282
273
"callable. :class:`Future` instances are created by :meth:`Executor.submit`."
283
274
msgstr ""
284
275
":class:`Future` クラスは呼び出し可能オブジェクトの非同期実行をカプセル化します。 :class:`Future` のインスタンスは "
285
276
":meth:`Executor.submit` によって生成されます。"
286
277
287
- #: ../../library/concurrent.futures.rst:267
278
+ #: ../../library/concurrent.futures.rst:261
288
279
msgid ""
289
280
"Encapsulates the asynchronous execution of a callable. :class:`Future` "
290
281
"instances are created by :meth:`Executor.submit` and should not be created "
@@ -293,7 +284,7 @@ msgstr ""
293
284
"呼び出し可能オブジェクトの非同期実行をカプセル化します。 :class:`Future` インスタンスは :meth:`Executor.submit`"
294
285
" で生成され、テストを除いて直接生成すべきではありません。"
295
286
296
- #: ../../library/concurrent.futures.rst:273
287
+ #: ../../library/concurrent.futures.rst:267
297
288
msgid ""
298
289
"Attempt to cancel the call. If the call is currently being executed and "
299
290
"cannot be cancelled then the method will return ``False``, otherwise the "
@@ -302,22 +293,22 @@ msgstr ""
302
293
"呼び出しのキャンセルを試みます。もし呼び出しが現在実行中でキャンセルすることができない場合、メソッドは ``False`` "
303
294
"を返します。そうでない場合呼び出しはキャンセルされ、``True`` を返します。"
304
295
305
- #: ../../library/concurrent.futures.rst:279
296
+ #: ../../library/concurrent.futures.rst:273
306
297
msgid "Return ``True`` if the call was successfully cancelled."
307
298
msgstr "呼び出しが正常にキャンセルされた場合 ``True`` を返します。"
308
299
309
- #: ../../library/concurrent.futures.rst:283
300
+ #: ../../library/concurrent.futures.rst:277
310
301
msgid ""
311
302
"Return ``True`` if the call is currently being executed and cannot be "
312
303
"cancelled."
313
304
msgstr "現在呼び出しが実行中でキャンセルできない場合 ``True`` を返します。"
314
305
315
- #: ../../library/concurrent.futures.rst:288
306
+ #: ../../library/concurrent.futures.rst:282
316
307
msgid ""
317
308
"Return ``True`` if the call was successfully cancelled or finished running."
318
309
msgstr "呼び出しが正常にキャンセルされたか終了した場合 ``True`` を返します。"
319
310
320
- #: ../../library/concurrent.futures.rst:293
311
+ #: ../../library/concurrent.futures.rst:287
321
312
msgid ""
322
313
"Return the value returned by the call. If the call hasn't yet completed then"
323
314
" this method will wait up to *timeout* seconds. If the call hasn't "
@@ -331,18 +322,18 @@ msgstr ""
331
322
"*timeout* にはintかfloatを指定できます。*timeout* が指定されていないか、 ``None`` "
332
323
"である場合、待機時間に制限はありません。"
333
324
334
- #: ../../library/concurrent.futures.rst:300
335
- #: ../../library/concurrent.futures.rst:314
325
+ #: ../../library/concurrent.futures.rst:294
326
+ #: ../../library/concurrent.futures.rst:308
336
327
msgid ""
337
328
"If the future is cancelled before completing then :exc:`.CancelledError` "
338
329
"will be raised."
339
330
msgstr "future が完了する前にキャンセルされた場合 :exc:`CancelledError` が送出されます。"
340
331
341
- #: ../../library/concurrent.futures.rst:303
332
+ #: ../../library/concurrent.futures.rst:297
342
333
msgid "If the call raised, this method will raise the same exception."
343
334
msgstr "呼び出しが例外を送出した場合、このメソッドは同じ例外を送出します。"
344
335
345
- #: ../../library/concurrent.futures.rst:307
336
+ #: ../../library/concurrent.futures.rst:301
346
337
msgid ""
347
338
"Return the exception raised by the call. If the call hasn't yet completed "
348
339
"then this method will wait up to *timeout* seconds. If the call hasn't "
@@ -356,11 +347,11 @@ msgstr ""
356
347
"*timeout* にはintかfloatを指定できます。 *timeout* が指定されていないか、 ``None`` "
357
348
"である場合、待機時間に制限はありません。"
358
349
359
- #: ../../library/concurrent.futures.rst:317
350
+ #: ../../library/concurrent.futures.rst:311
360
351
msgid "If the call completed without raising, ``None`` is returned."
361
352
msgstr "呼び出しが例外を送出することなく完了した場合、``None`` を返します。"
362
353
363
- #: ../../library/concurrent.futures.rst:321
354
+ #: ../../library/concurrent.futures.rst:315
364
355
msgid ""
365
356
"Attaches the callable *fn* to the future. *fn* will be called, with the "
366
357
"future as its only argument, when the future is cancelled or finishes "
@@ -369,7 +360,7 @@ msgstr ""
369
360
"呼び出し可能な *fn* オブジェクトを future にアタッチします。futureがキャンセルされたか、実行を終了した際に、future "
370
361
"をそのただ一つの引数として *fn* が呼び出されます。"
371
362
372
- #: ../../library/concurrent.futures.rst:325
363
+ #: ../../library/concurrent.futures.rst:319
373
364
msgid ""
374
365
"Added callables are called in the order that they were added and are always "
375
366
"called in a thread belonging to the process that added them. If the "
@@ -381,20 +372,20 @@ msgstr ""
381
372
" :exc:`Exception` のサブクラスを送出した場合、それはログに記録され無視されます。呼び出し可能オブジェクトが "
382
373
":exc:`BaseException` のサブクラスを送出した場合の動作は未定義です。"
383
374
384
- #: ../../library/concurrent.futures.rst:331
375
+ #: ../../library/concurrent.futures.rst:325
385
376
msgid ""
386
377
"If the future has already completed or been cancelled, *fn* will be called "
387
378
"immediately."
388
379
msgstr "もしfutureがすでに完了しているか、キャンセル済みであれば、*fn* は即座に実行されます。"
389
380
390
- #: ../../library/concurrent.futures.rst:334
381
+ #: ../../library/concurrent.futures.rst:328
391
382
msgid ""
392
383
"The following :class:`Future` methods are meant for use in unit tests and "
393
384
":class:`Executor` implementations."
394
385
msgstr ""
395
386
"以下の :class:`Future` メソッドは、ユニットテストでの使用と :class:`Executor` を実装することを意図しています。"
396
387
397
- #: ../../library/concurrent.futures.rst:339
388
+ #: ../../library/concurrent.futures.rst:333
398
389
msgid ""
399
390
"This method should only be called by :class:`Executor` implementations "
400
391
"before executing the work associated with the :class:`Future` and by unit "
@@ -403,7 +394,7 @@ msgstr ""
403
394
"このメソッドは、:class:`Future` に関連付けられたワークやユニットテストによるワークの実行前に、 :class:`Executor` "
404
395
"の実装によってのみ呼び出してください。"
405
396
406
- #: ../../library/concurrent.futures.rst:343
397
+ #: ../../library/concurrent.futures.rst:337
407
398
msgid ""
408
399
"If the method returns ``False`` then the :class:`Future` was cancelled, i.e."
409
400
" :meth:`Future.cancel` was called and returned `True`. Any threads waiting "
@@ -414,7 +405,7 @@ msgstr ""
414
405
":meth:`Future.cancel` が呼び出されて `True` が返っています。:class:`Future` の完了を "
415
406
"(:func:`as_completed` または :func:`wait` により) 待機するすべてのスレッドが起動します。"
416
407
417
- #: ../../library/concurrent.futures.rst:348
408
+ #: ../../library/concurrent.futures.rst:342
418
409
msgid ""
419
410
"If the method returns ``True`` then the :class:`Future` was not cancelled "
420
411
"and has been put in the running state, i.e. calls to :meth:`Future.running` "
@@ -423,38 +414,38 @@ msgstr ""
423
414
"このメソッドが ``True`` を返す場合、 :class:`Future` はキャンセルされて、実行状態に移行されています。つまり、 "
424
415
":meth:`Future.running` を呼び出すと `True` が返ります。"
425
416
426
- #: ../../library/concurrent.futures.rst:352
417
+ #: ../../library/concurrent.futures.rst:346
427
418
msgid ""
428
419
"This method can only be called once and cannot be called after "
429
420
":meth:`Future.set_result` or :meth:`Future.set_exception` have been called."
430
421
msgstr ""
431
422
"このメソッドは、一度だけ呼び出すことができ、:meth:`Future.set_result` または "
432
423
":meth:`Future.set_exception` がキャンセルされた後には呼び出すことができません。"
433
424
434
- #: ../../library/concurrent.futures.rst:358
425
+ #: ../../library/concurrent.futures.rst:352
435
426
msgid ""
436
427
"Sets the result of the work associated with the :class:`Future` to *result*."
437
428
msgstr ":class:`Future` に関連付けられたワークの結果を *result* に設定します。"
438
429
439
- #: ../../library/concurrent.futures.rst:361
440
- #: ../../library/concurrent.futures.rst:369
430
+ #: ../../library/concurrent.futures.rst:355
431
+ #: ../../library/concurrent.futures.rst:363
441
432
msgid ""
442
433
"This method should only be used by :class:`Executor` implementations and "
443
434
"unit tests."
444
435
msgstr "このメソッドは、 :class:`Executor` の実装またはユニットテストによってのみ使用してください。"
445
436
446
- #: ../../library/concurrent.futures.rst:366
437
+ #: ../../library/concurrent.futures.rst:360
447
438
msgid ""
448
439
"Sets the result of the work associated with the :class:`Future` to the "
449
440
":class:`Exception` *exception*."
450
441
msgstr ""
451
442
":class:`Future` に関連付けられたワークの結果を :class:`Exception` *exception* に設定します。"
452
443
453
- #: ../../library/concurrent.futures.rst:374
444
+ #: ../../library/concurrent.futures.rst:368
454
445
msgid "Module Functions"
455
446
msgstr "モジュール関数"
456
447
457
- #: ../../library/concurrent.futures.rst:378
448
+ #: ../../library/concurrent.futures.rst:372
458
449
msgid ""
459
450
"Wait for the :class:`Future` instances (possibly created by different "
460
451
":class:`Executor` instances) given by *fs* to complete. Returns a named "
@@ -467,7 +458,7 @@ msgstr ""
467
458
"には、待機の完了前に完了したフューチャ (完了またはキャンセル済み) が含まれます。2 つめの集合 ``not_done`` "
468
459
"には、未完了のフューチャが含まれます。"
469
460
470
- #: ../../library/concurrent.futures.rst:384
461
+ #: ../../library/concurrent.futures.rst:378
471
462
msgid ""
472
463
"*timeout* can be used to control the maximum number of seconds to wait "
473
464
"before returning. *timeout* can be an int or float. If *timeout* is not "
@@ -476,33 +467,33 @@ msgstr ""
476
467
"*timeout* で結果を返すまで待機する最大秒数を指定できます。*timeout* は整数か浮動小数点数をとります。*timeout* "
477
468
"が指定されないか ``None`` の場合、無期限に待機します。"
478
469
479
- #: ../../library/concurrent.futures.rst:388
470
+ #: ../../library/concurrent.futures.rst:382
480
471
msgid ""
481
472
"*return_when* indicates when this function should return. It must be one of"
482
473
" the following constants:"
483
474
msgstr "*return_when* でこの関数がいつ結果を返すか指定します。指定できる値は以下の 定数のどれか一つです:"
484
475
485
- #: ../../library/concurrent.futures.rst:394
476
+ #: ../../library/concurrent.futures.rst:388
486
477
msgid "Constant"
487
478
msgstr "定数"
488
479
489
- #: ../../library/concurrent.futures.rst:394
480
+ #: ../../library/concurrent.futures.rst:388
490
481
msgid "Description"
491
482
msgstr "説明"
492
483
493
- #: ../../library/concurrent.futures.rst:396
484
+ #: ../../library/concurrent.futures.rst:390
494
485
msgid ":const:`FIRST_COMPLETED`"
495
486
msgstr ":const:`FIRST_COMPLETED`"
496
487
497
- #: ../../library/concurrent.futures.rst:396
488
+ #: ../../library/concurrent.futures.rst:390
498
489
msgid "The function will return when any future finishes or is cancelled."
499
490
msgstr "いずれかのフューチャが終了したかキャンセルされたときに返します。"
500
491
501
- #: ../../library/concurrent.futures.rst:399
492
+ #: ../../library/concurrent.futures.rst:393
502
493
msgid ":const:`FIRST_EXCEPTION`"
503
494
msgstr ":const:`FIRST_EXCEPTION`"
504
495
505
- #: ../../library/concurrent.futures.rst:399
496
+ #: ../../library/concurrent.futures.rst:393
506
497
msgid ""
507
498
"The function will return when any future finishes by raising an exception. "
508
499
"If no future raises an exception then it is equivalent to "
@@ -511,15 +502,15 @@ msgstr ""
511
502
"いずれかのフューチャが例外の送出で終了した場合に返します。例外を送出したフューチャがない場合は、:const:`ALL_COMPLETED` "
512
503
"と等価になります。"
513
504
514
- #: ../../library/concurrent.futures.rst:405
505
+ #: ../../library/concurrent.futures.rst:399
515
506
msgid ":const:`ALL_COMPLETED`"
516
507
msgstr ":const:`ALL_COMPLETED`"
517
508
518
- #: ../../library/concurrent.futures.rst:405
509
+ #: ../../library/concurrent.futures.rst:399
519
510
msgid "The function will return when all futures finish or are cancelled."
520
511
msgstr "すべてのフューチャが終了したかキャンセルされたときに返します。"
521
512
522
- #: ../../library/concurrent.futures.rst:411
513
+ #: ../../library/concurrent.futures.rst:405
523
514
msgid ""
524
515
"Returns an iterator over the :class:`Future` instances (possibly created by "
525
516
"different :class:`Executor` instances) given by *fs* that yields futures as "
@@ -540,29 +531,29 @@ msgstr ""
540
531
"を送出します。*timeout* は整数または浮動小数点数です。*timeout* が指定されないか ``None`` "
541
532
"である場合、待ち時間に制限はありません。"
542
533
543
- #: ../../library/concurrent.futures.rst:425
534
+ #: ../../library/concurrent.futures.rst:419
544
535
msgid ":pep:`3148` -- futures - execute computations asynchronously"
545
536
msgstr ":pep:`3148` -- futures - execute computations asynchronously"
546
537
547
- #: ../../library/concurrent.futures.rst:425
538
+ #: ../../library/concurrent.futures.rst:419
548
539
msgid ""
549
540
"The proposal which described this feature for inclusion in the Python "
550
541
"standard library."
551
542
msgstr "この機能を Python 標準ライブラリに含めることを述べた提案です。"
552
543
553
- #: ../../library/concurrent.futures.rst:430
544
+ #: ../../library/concurrent.futures.rst:424
554
545
msgid "Exception classes"
555
546
msgstr "例外クラス"
556
547
557
- #: ../../library/concurrent.futures.rst:436
548
+ #: ../../library/concurrent.futures.rst:430
558
549
msgid "Raised when a future is cancelled."
559
550
msgstr "future がキャンセルされたときに送出されます。"
560
551
561
- #: ../../library/concurrent.futures.rst:440
552
+ #: ../../library/concurrent.futures.rst:434
562
553
msgid "Raised when a future operation exceeds the given timeout."
563
554
msgstr "future の操作が与えられたタイムアウトを超過したときに送出されます。"
564
555
565
- #: ../../library/concurrent.futures.rst:446
556
+ #: ../../library/concurrent.futures.rst:440
566
557
msgid ""
567
558
"Derived from :exc:`RuntimeError`, this exception class is raised when one of"
568
559
" the workers of a :class:`ProcessPoolExecutor` has terminated in a non-clean"