99# SHIMIZU Taku <shimizu.taku@gmail.com>, 2019
1010# Yuto <ogran.std@gmail.com>, 2019
1111# Osamu NAKAMURA, 2019
12+ # Naoki Nakamura <agent@sohzoh.com>, 2020
1213#
1314#, fuzzy
1415msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718"Report-Msgid-Bugs-To : \n "
1819"POT-Creation-Date : 2020-02-10 04:47+0000\n "
1920"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 "
2122"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
2223"MIME-Version : 1.0\n "
2324"Content-Type : text/plain; charset=UTF-8\n "
@@ -187,6 +188,8 @@ msgid ""
187188"Future objects in asyncio are needed to allow callback-based code to be used"
188189" with async/await."
189190msgstr ""
191+ "asyncio での Future オブジェクトは、async/await "
192+ "と共に使用できるようにするため、コールバック形式のコードを使用できるように設計すべきです。"
190193
191194#: ../../library/asyncio-task.rst:191
192195msgid ""
@@ -213,7 +216,7 @@ msgstr "非同期プログラムの実行"
213216
214217#: ../../library/asyncio-task.rst:215
215218msgid "Execute the :term:`coroutine` *coro* and return the result."
216- msgstr ""
219+ msgstr ":term:`coroutine` *coro* を実行し、結果を返します。 "
217220
218221#: ../../library/asyncio-task.rst:217
219222msgid ""
@@ -345,6 +348,9 @@ msgid ""
345348"awaitables in the *aws* sequence **won't be cancelled** and will continue to"
346349" run."
347350msgstr ""
351+ "*return_exceptions* が ``False`` である場合(デフォルト)、``gather()`` で await "
352+ "しているタスクに対して、最初の例外が直接伝えられます。*aws* に並んでいる他の awaitable は、**キャンセルされずに** "
353+ "引き続いて実行されます。"
348354
349355#: ../../library/asyncio-task.rst:329
350356msgid ""
@@ -479,7 +485,7 @@ msgstr ""
479485
480486#: ../../library/asyncio-task.rst:476
481487msgid "Waiting Primitives"
482- msgstr ""
488+ msgstr "要素の待機 "
483489
484490#: ../../library/asyncio-task.rst:481
485491msgid ""
@@ -725,34 +731,44 @@ msgid ""
725731"coroutine. If a coroutine is awaiting on a Future object during "
726732"cancellation, the Future object will be cancelled."
727733msgstr ""
734+ "実行中のタスクをキャンセルするためには、:meth:`cancel` "
735+ "メソッドを使用します。このメソッドを呼ぶと、タスクはそれを内包するコルーチンに対して :exc:`CancelledError` "
736+ "例外を送出します。キャンセルの際にコルーチンが Future オブジェクトを待っていた場合、その Future オブジェクトはキャンセルされます。"
728737
729738#: ../../library/asyncio-task.rst:678
730739msgid ""
731740":meth:`cancelled` can be used to check if the Task was cancelled. The method"
732741" returns ``True`` if the wrapped coroutine did not suppress the "
733742":exc:`CancelledError` exception and was actually cancelled."
734743msgstr ""
744+ ":meth:`cancelled` は、タスクがキャンセルされたかを調べるのに使用できます。タスクを内包するコルーチンで "
745+ ":exc:`CancelledError` 例外が抑制されておらず、かつタスクが実際にキャンセルされている場合に、このメソッドは ``True`` "
746+ "を変えます。"
735747
736748#: ../../library/asyncio-task.rst:683
737749msgid ""
738750":class:`asyncio.Task` inherits from :class:`Future` all of its APIs except "
739751":meth:`Future.set_result` and :meth:`Future.set_exception`."
740752msgstr ""
753+ ":class:`asyncio.Task` は、:meth:`Future.set_result` と "
754+ ":meth:`Future.set_exception` を除いて、:class:`Future` の API をすべて継承しています。"
741755
742756#: ../../library/asyncio-task.rst:687
743757msgid ""
744758"Tasks support the :mod:`contextvars` module. When a Task is created it "
745759"copies the current context and later runs its coroutine in the copied "
746760"context."
747761msgstr ""
762+ "Task は :mod:`contextvars` モジュールをサポートします。Task が作られたときに現在のコンテキストがコピーされ、のちに "
763+ "Task のコルーチンを実行する際に、コピーされたコンテキストが使用されます。"
748764
749765#: ../../library/asyncio-task.rst:691
750766msgid "Added support for the :mod:`contextvars` module."
751- msgstr ""
767+ msgstr ":mod:`contextvars` モジュールのサポートを追加。 "
752768
753769#: ../../library/asyncio-task.rst:696
754770msgid "Request the Task to be cancelled."
755- msgstr ""
771+ msgstr "このタスクに、自身のキャンセルを要求します。 "
756772
757773#: ../../library/asyncio-task.rst:698
758774msgid ""
0 commit comments