9
9
# SHIMIZU Taku <shimizu.taku@gmail.com>, 2019
10
10
# Yuto <ogran.std@gmail.com>, 2019
11
11
# Osamu NAKAMURA, 2019
12
+ # Naoki Nakamura <agent@sohzoh.com>, 2020
12
13
#
13
14
#, fuzzy
14
15
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
17
18
"Report-Msgid-Bugs-To :\n "
18
19
"POT-Creation-Date :2020-02-10 04:47+0000\n "
19
20
"PO-Revision-Date :2019-09-01 03:30+0000\n "
20
- "Last-Translator :Osamu NAKAMURA, 2019 \n "
21
+ "Last-Translator :Naoki Nakamura <agent@sohzoh.com>, 2020 \n "
21
22
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
22
23
"MIME-Version :1.0\n "
23
24
"Content-Type :text/plain; charset=UTF-8\n "
@@ -187,6 +188,8 @@ msgid ""
187
188
"Future objects in asyncio are needed to allow callback-based code to be used"
188
189
" with async/await."
189
190
msgstr ""
191
+ "asyncio での Future オブジェクトは、async/await "
192
+ "と共に使用できるようにするため、コールバック形式のコードを使用できるように設計すべきです。"
190
193
191
194
#: ../../library/asyncio-task.rst:191
192
195
msgid ""
@@ -213,7 +216,7 @@ msgstr "非同期プログラムの実行"
213
216
214
217
#: ../../library/asyncio-task.rst:215
215
218
msgid "Execute the :term:`coroutine` *coro* and return the result."
216
- msgstr ""
219
+ msgstr ":term:`coroutine` *coro* を実行し、結果を返します。 "
217
220
218
221
#: ../../library/asyncio-task.rst:217
219
222
msgid ""
@@ -345,6 +348,9 @@ msgid ""
345
348
"awaitables in the *aws* sequence **won't be cancelled** and will continue to"
346
349
" run."
347
350
msgstr ""
351
+ "*return_exceptions* が ``False`` である場合(デフォルト)、``gather()`` で await "
352
+ "しているタスクに対して、最初の例外が直接伝えられます。*aws* に並んでいる他の awaitable は、**キャンセルされずに** "
353
+ "引き続いて実行されます。"
348
354
349
355
#: ../../library/asyncio-task.rst:329
350
356
msgid ""
@@ -479,7 +485,7 @@ msgstr ""
479
485
480
486
#: ../../library/asyncio-task.rst:476
481
487
msgid "Waiting Primitives"
482
- msgstr ""
488
+ msgstr "要素の待機 "
483
489
484
490
#: ../../library/asyncio-task.rst:481
485
491
msgid ""
@@ -725,34 +731,44 @@ msgid ""
725
731
"coroutine. If a coroutine is awaiting on a Future object during "
726
732
"cancellation, the Future object will be cancelled."
727
733
msgstr ""
734
+ "実行中のタスクをキャンセルするためには、:meth:`cancel` "
735
+ "メソッドを使用します。このメソッドを呼ぶと、タスクはそれを内包するコルーチンに対して :exc:`CancelledError` "
736
+ "例外を送出します。キャンセルの際にコルーチンが Future オブジェクトを待っていた場合、その Future オブジェクトはキャンセルされます。"
728
737
729
738
#: ../../library/asyncio-task.rst:678
730
739
msgid ""
731
740
":meth:`cancelled` can be used to check if the Task was cancelled. The method"
732
741
" returns ``True`` if the wrapped coroutine did not suppress the "
733
742
":exc:`CancelledError` exception and was actually cancelled."
734
743
msgstr ""
744
+ ":meth:`cancelled` は、タスクがキャンセルされたかを調べるのに使用できます。タスクを内包するコルーチンで "
745
+ ":exc:`CancelledError` 例外が抑制されておらず、かつタスクが実際にキャンセルされている場合に、このメソッドは ``True`` "
746
+ "を変えます。"
735
747
736
748
#: ../../library/asyncio-task.rst:683
737
749
msgid ""
738
750
":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except "
739
751
":meth:`Future.set_result` and :meth:`Future.set_exception`."
740
752
msgstr ""
753
+ ":class:`asyncio.Task` は、:meth:`Future.set_result` と "
754
+ ":meth:`Future.set_exception` を除いて、:class:`Future` の API をすべて継承しています。"
741
755
742
756
#: ../../library/asyncio-task.rst:687
743
757
msgid ""
744
758
"Tasks support the :mod:`contextvars` module. When a Task is created it "
745
759
"copies the current context and later runs its coroutine in the copied "
746
760
"context."
747
761
msgstr ""
762
+ "Task は :mod:`contextvars` モジュールをサポートします。Task が作られたときに現在のコンテキストがコピーされ、のちに "
763
+ "Task のコルーチンを実行する際に、コピーされたコンテキストが使用されます。"
748
764
749
765
#: ../../library/asyncio-task.rst:691
750
766
msgid "Added support for the :mod:`contextvars` module."
751
- msgstr ""
767
+ msgstr ":mod:`contextvars` モジュールのサポートを追加。 "
752
768
753
769
#: ../../library/asyncio-task.rst:696
754
770
msgid "Request the Task to be cancelled."
755
- msgstr ""
771
+ msgstr "このタスクに、自身のキャンセルを要求します。 "
756
772
757
773
#: ../../library/asyncio-task.rst:698
758
774
msgid ""