FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-docs-ja/library/asyncio-graph.po at refs/heads/3.14 · python/python-docs-ja · GitHub
python
python-docs-ja
Repository navigation
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
python-docs-ja
/
library
/
asyncio-graph.po
Copy path
More file actions
More file actions
Latest commit
History
History
History
242 lines (210 loc) · 9.51 KB
Breadcrumbs
python-docs-ja
/
library
/
asyncio-graph.po
Copy path
File metadata and controls
242 lines (210 loc) · 9.51 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
#
SOME DESCRIPTIVE TITLE.
#
Copyright (C) 2001 Python Software Foundation
#
This file is distributed under the same license as the Python package.
#
FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#
Translators:
#
python-doc bot, 2025
#
#,
fuzzy
msgid ""
msgstr ""
"
Project-Id-Version
:
Python 3.15\n
"
"
Report-Msgid-Bugs-To
:
\n
"
"
POT-Creation-Date
:
2026-09-29 18:58+0000\n
"
"
PO-Revision-Date
:
2025-09-16 00:00+0000\n
"
"
Last-Translator
:
python-doc bot, 2025\n
"
"
Language-Team
:
Japanese (https://app.transifex.com/python-doc/teams/5390/
"
"
ja/)\n
"
"
Language
:
ja\n
"
"
MIME-Version
:
1.0\n
"
"
Content-Type
:
text/plain; charset=UTF-8\n
"
"
Content-Transfer-Encoding
:
8bit\n
"
"
Plural-Forms
:
nplurals=1; plural=0;\n
"
msgid
"Call graph introspection"
msgstr
"呼び出しグラフのイントロスペクション"
msgid
"**Source code:** :source:`Lib/asyncio/graph.py`"
msgstr
"**ソースコード:** :source:`Lib/asyncio/graph.py`"
msgid
""
"asyncio has powerful runtime call graph introspection utilities to trace the "
"entire call graph of a running *coroutine* or *task*, or a suspended "
"*future*. These utilities and the underlying machinery can be used from "
"within a Python program or by external profilers and debuggers."
msgstr
""
"asyncio は、実行中の *コルーチン* や *タスク*、または中断中の *Future* の呼び"
"出しグラフ全体を実行時にたどる、強力なイントロスペクション機能を備えていま"
"す。\n"
"これらの機能とその基盤の仕組みは、Python プログラム内からも、外部のプロファイ"
"ラーやデバッガーからも利用できます。"
msgid
":ref:`asyncio-introspection-tools`"
msgstr
":ref:`asyncio-introspection-tools`"
msgid
""
"Command-line tools for inspecting tasks in another running Python process."
msgstr
""
"実行中の別の Python プロセス内のタスクを調べるコマンドラインツールです。"
msgid
""
"Print the async call graph for the current task or the provided :class:"
"`Task` or :class:`Future`."
msgstr
""
"現在のタスク、または指定した :class:`Task` や :class:`Future` の非同期呼び出"
"しグラフを表示します。"
msgid
""
"This function prints entries starting from the top frame and going down "
"towards the invocation point."
msgstr
""
"スタックの最上部のフレームから、呼び出し元の起点に向かって順に表示します。"
msgid
""
"The function receives an optional *future* argument. If not passed, the "
"current running task will be used."
msgstr
""
"省略可能な *future* 引数を受け取ります。\n"
"指定しなければ、現在実行中のタスクを使います。"
msgid
""
"If the function is called on *the current task*, the optional keyword-only "
"*depth* argument can be used to skip the specified number of frames from top "
"of the stack."
msgstr
""
"*現在のタスク* に対して呼び出す場合、省略可能なキーワード専用引数 *depth* "
"で、スタックの最上部から飛ばすフレーム数を指定できます。"
msgid
""
"If the optional keyword-only *limit* argument is provided, each call stack "
"in the resulting graph is truncated to include at most ``abs(limit)`` "
"entries. If *limit* is positive, the entries left are the closest to the "
"invocation point. If *limit* is negative, the topmost entries are left. If "
"*limit* is omitted or ``None``, all entries are present. If *limit* is "
"``0``, the call stack is not printed at all, only
\"
awaited by
\"
information "
"is printed."
msgstr
""
"省略可能なキーワード専用引数 *limit* を指定すると、グラフ内の各コールスタック"
"のエントリー数を最大 ``abs(limit)`` 個に制限します。\n"
"*limit* が正なら呼び出し元の起点に近いエントリーを、負ならスタックの最上部に"
"近いエントリーを残します。\n"
"*limit* を省略するか ``None`` にすると、すべてのエントリーを含めます。\n"
"``0`` の場合、コールスタックは表示せず、何に await されているかの情報だけを表"
"示します。"
msgid
""
"If *file* is omitted or ``None``, the function will print to :data:`sys."
"stdout`."
msgstr
""
"*file* を省略するか ``None`` にすると、:data:`sys.stdout` に出力します。"
msgid
"**Example:**"
msgstr
"**例:**"
msgid
"The following Python code:"
msgstr
"次の Python コードは、"
msgid
""
"import asyncio\n"
"\n"
"async def test():\n"
" asyncio.print_call_graph()\n"
"\n"
"async def main():\n"
" async with asyncio.TaskGroup() as g:\n"
" g.create_task(test(), name='test')\n"
"\n"
"asyncio.run(main())"
msgstr
""
"import asyncio\n"
"\n"
"async def test():\n"
" asyncio.print_call_graph()\n"
"\n"
"async def main():\n"
" async with asyncio.TaskGroup() as g:\n"
" g.create_task(test(), name='test')\n"
"\n"
"asyncio.run(main())"
#:
../../library/asyncio-graph.rst:72
msgid
"will print::"
msgstr
"このサンプルコードは以下を出力します::"
msgid
""
"* Task(name='test', id=0x1039f0fe0)\n"
"+ Call stack:\n"
"| File 't2.py', line 4, in async test()\n"
"+ Awaited by:\n"
" * Task(name='Task-1', id=0x103a5e060)\n"
" + Call stack:\n"
" | File 'taskgroups.py', line 107, in async TaskGroup.__aexit__()\n"
" | File 't2.py', line 7, in async main()"
msgstr
""
"* Task(name='test', id=0x1039f0fe0)\n"
"+ Call stack:\n"
"| File 't2.py', line 4, in async test()\n"
"+ Awaited by:\n"
" * Task(name='Task-1', id=0x103a5e060)\n"
" + Call stack:\n"
" | File 'taskgroups.py', line 107, in async TaskGroup.__aexit__()\n"
" | File 't2.py', line 7, in async main()"
#:
../../library/asyncio-graph.rst:85
msgid
""
"Like :func:`print_call_graph`, but returns a string. If *future* is ``None`` "
"and there's no current task, the function returns an empty string."
msgstr
""
msgid
""
"Capture the async call graph for the current task or the provided :class:"
"`Task` or :class:`Future`."
msgstr
""
"現在のタスク、または指定した :class:`Task` や :class:`Future` の非同期呼び出"
"しグラフを取得します。"
#:
../../library/asyncio-graph.rst:95
msgid
""
"The function receives an optional *future* argument. If not passed, the "
"current running task will be used. If there's no current task, the function "
"returns ``None``."
msgstr
""
msgid
"Returns a ``FutureCallGraph`` data class object:"
msgstr
"``FutureCallGraph`` データクラスのオブジェクトを返します。"
msgid
"``FutureCallGraph(future, call_stack, awaited_by)``"
msgstr
"``FutureCallGraph(future, call_stack, awaited_by)``"
msgid
""
"Where *future* is a reference to a :class:`Future` or a :class:`Task` (or "
"their subclasses.)"
msgstr
""
"*future* は :class:`Future` または :class:`Task` (またはそのサブクラス) への"
"参照です。"
msgid
"``call_stack`` is a tuple of ``FrameCallGraphEntry`` objects."
msgstr
"``call_stack`` は ``FrameCallGraphEntry`` オブジェクトのタプルです。"
msgid
"``awaited_by`` is a tuple of ``FutureCallGraph`` objects."
msgstr
"``awaited_by`` は ``FutureCallGraph`` オブジェクトのタプルです。"
msgid
"``FrameCallGraphEntry(frame)``"
msgstr
"``FrameCallGraphEntry(frame)``"
msgid
""
"Where *frame* is a frame object of a regular Python function in the call "
"stack."
msgstr
""
"*frame* は、コールスタック内の通常の Python 関数のフレームオブジェクトです。"
msgid
"Low level utility functions"
msgstr
"低水準の補助関数"
msgid
""
"To introspect an async call graph asyncio requires cooperation from control "
"flow structures, such as :func:`shield` or :class:`TaskGroup`. Any time an "
"intermediate :class:`Future` object with low-level APIs like :meth:`Future."
"add_done_callback() <asyncio.Future.add_done_callback>` is involved, the "
"following two functions should be used to inform asyncio about how exactly "
"such intermediate future objects are connected with the tasks they wrap or "
"control."
msgstr
""
"非同期呼び出しグラフを調べるために、asyncio は :func:`shield` や :class:"
"`TaskGroup` などの制御フローを扱う仕組みとの連携を必要とします。\n"
":meth:`Future.add_done_callback() <asyncio.Future.add_done_callback>` のよう"
"な低水準 API を使う中間的な :class:`Future` オブジェクトが関わる場合は、次の"
"二つの関数を使ってください。\n"
"これにより、その Future が、ラップしたり制御したりするタスクとどうつながって"
"いるかを asyncio に伝えます。"
msgid
"Record that *future* is awaited on by *waiter*."
msgstr
"*future* が *waiter* に await されていることを記録します。"
msgid
""
"Both *future* and *waiter* must be instances of :class:`Future` or :class:"
"`Task` or their subclasses, otherwise the call would have no effect."
msgstr
""
"*future* と *waiter* はどちらも :class:`Future` または :class:`Task`、あるい"
"はそのサブクラスのインスタンスでなければなりません。\n"
"それ以外の場合、呼び出しても何も起こりません。"
msgid
""
"A call to ``future_add_to_awaited_by()`` must be followed by an eventual "
"call to the :func:`future_discard_from_awaited_by` function with the same "
"arguments."
msgstr
""
"``future_add_to_awaited_by()`` を呼び出した後は、いずれ同じ引数で :func:"
"`future_discard_from_awaited_by` を呼び出す必要があります。"
msgid
"Record that *future* is no longer awaited on by *waiter*."
msgstr
"*future* が *waiter* に await されなくなったことを記録します。"
Back
|
FazBrowse Home
|
New Git URL