| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 90a8c37 commit 73ccf58
8 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-05-08 19:31+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-07-09 16:24+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2026-05-08 17:17+0000\n" | |
| 16 | 16 | "Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n" | |
| 17 | 17 | "Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/" | |
@@ -24,8 +24,8 @@ msgstr "" | |||
| 24 | 24 | "1000000 == 0 ? 1 : 2;\n" | |
| 25 | 25 | ||
| 26 | 26 | #: ../../library/asyncio-graph.rst:8 | |
| 27 | - msgid "Call Graph Introspection" | ||
| 28 | - msgstr "Introspeção do grafo de chamadas" | ||
| 27 | + msgid "Call graph introspection" | ||
| 28 | + msgstr "" | ||
| 29 | 29 | ||
| 30 | 30 | #: ../../library/asyncio-graph.rst:10 | |
| 31 | 31 | msgid "**Source code:** :source:`Lib/asyncio/graph.py`" | |
@@ -44,31 +44,40 @@ msgstr "" | |||
| 44 | 44 | "suspenso. Estes utilitários e a respectiva maquinaria subjacente podem ser " | |
| 45 | 45 | "utilizados em um programa Python ou por perfis externos e depuradores." | |
| 46 | 46 | ||
| 47 | - #: ../../library/asyncio-graph.rst:25 | ||
| 47 | + #: ../../library/asyncio-graph.rst:22 | ||
| 48 | + msgid ":ref:`asyncio-introspection-tools`" | ||
| 49 | + msgstr "" | ||
| 50 | + | ||
| 51 | + #: ../../library/asyncio-graph.rst:23 | ||
| 52 | + msgid "" | ||
| 53 | + "Command-line tools for inspecting tasks in another running Python process." | ||
| 54 | + msgstr "" | ||
| 55 | + | ||
| 56 | + #: ../../library/asyncio-graph.rst:31 | ||
| 48 | 57 | msgid "" | |
| 49 | 58 | "Print the async call graph for the current task or the provided :class:" | |
| 50 | 59 | "`Task` or :class:`Future`." | |
| 51 | 60 | msgstr "" | |
| 52 | 61 | "Exibe o grafo de chamadas assíncronas para a tarefa atual ou para a :class:" | |
| 53 | 62 | "`Task` ou :class:`Future` fornecida." | |
| 54 | 63 | ||
| 55 | - #: ../../library/asyncio-graph.rst:28 | ||
| 64 | + #: ../../library/asyncio-graph.rst:34 | ||
| 56 | 65 | msgid "" | |
| 57 | 66 | "This function prints entries starting from the top frame and going down " | |
| 58 | 67 | "towards the invocation point." | |
| 59 | 68 | msgstr "" | |
| 60 | 69 | "Esta função exibe as entradas a partir do quadro superior até ao ponto de " | |
| 61 | 70 | "invocação." | |
| 62 | 71 | ||
| 63 | - #: ../../library/asyncio-graph.rst:31 | ||
| 72 | + #: ../../library/asyncio-graph.rst:37 | ||
| 64 | 73 | msgid "" | |
| 65 | 74 | "The function receives an optional *future* argument. If not passed, the " | |
| 66 | 75 | "current running task will be used." | |
| 67 | 76 | msgstr "" | |
| 68 | 77 | "A função recebe um argumento opcional *future*. Se não for fornecido, será " | |
| 69 | 78 | "utilizada a tarefa em execução atual." | |
| 70 | 79 | ||
| 71 | - #: ../../library/asyncio-graph.rst:34 ../../library/asyncio-graph.rst:93 | ||
| 80 | + #: ../../library/asyncio-graph.rst:40 ../../library/asyncio-graph.rst:99 | ||
| 72 | 81 | msgid "" | |
| 73 | 82 | "If the function is called on *the current task*, the optional keyword-only " | |
| 74 | 83 | "*depth* argument can be used to skip the specified number of frames from top " | |
@@ -78,7 +87,7 @@ msgstr "" | |||
| 78 | 87 | "nomeado *depth* pode ser usado para ignorar o número especificado de quadros " | |
| 79 | 88 | "a partir do topo da pilha." | |
| 80 | 89 | ||
| 81 | - #: ../../library/asyncio-graph.rst:38 | ||
| 90 | + #: ../../library/asyncio-graph.rst:44 | ||
| 82 | 91 | msgid "" | |
| 83 | 92 | "If the optional keyword-only *limit* argument is provided, each call stack " | |
| 84 | 93 | "in the resulting graph is truncated to include at most ``abs(limit)`` " | |
@@ -96,23 +105,23 @@ msgstr "" | |||
| 96 | 105 | "entradas são apresentadas. Se *limit* for ``0``, a pilha de chamadas não é " | |
| 97 | 106 | "exibida, apenas as informações \"aguardadas por\" são exibidas." | |
| 98 | 107 | ||
| 99 | - #: ../../library/asyncio-graph.rst:46 | ||
| 108 | + #: ../../library/asyncio-graph.rst:52 | ||
| 100 | 109 | msgid "" | |
| 101 | 110 | "If *file* is omitted or ``None``, the function will print to :data:`sys." | |
| 102 | 111 | "stdout`." | |
| 103 | 112 | msgstr "" | |
| 104 | 113 | "Se *file* for omitido ou for ``None``, a saída da função será encaminhada " | |
| 105 | 114 | "para :data:`sys.stdout`." | |
| 106 | 115 | ||
| 107 | - #: ../../library/asyncio-graph.rst:49 | ||
| 116 | + #: ../../library/asyncio-graph.rst:55 | ||
| 108 | 117 | msgid "**Example:**" | |
| 109 | 118 | msgstr "**Exemplo:**" | |
| 110 | 119 | ||
| 111 | - #: ../../library/asyncio-graph.rst:51 | ||
| 120 | + #: ../../library/asyncio-graph.rst:57 | ||
| 112 | 121 | msgid "The following Python code:" | |
| 113 | 122 | msgstr "O seguinte código Python:" | |
| 114 | 123 | ||
| 115 | - #: ../../library/asyncio-graph.rst:53 | ||
| 124 | + #: ../../library/asyncio-graph.rst:59 | ||
| 116 | 125 | msgid "" | |
| 117 | 126 | "import asyncio\n" | |
| 118 | 127 | "\n" | |
@@ -129,11 +138,11 @@ msgstr "" | |||
| 129 | 138 | "main(): async with asyncio.TaskGroup() as g: g.create_task(test(), " | |
| 130 | 139 | "name='test')asyncio.run(main())" | |
| 131 | 140 | ||
| 132 | - #: ../../library/asyncio-graph.rst:66 | ||
| 141 | + #: ../../library/asyncio-graph.rst:72 | ||
| 133 | 142 | msgid "will print::" | |
| 134 | 143 | msgstr "irá exibir::" | |
| 135 | 144 | ||
| 136 | - #: ../../library/asyncio-graph.rst:68 | ||
| 145 | + #: ../../library/asyncio-graph.rst:74 | ||
| 137 | 146 | msgid "" | |
| 138 | 147 | "* Task(name='test', id=0x1039f0fe0)\n" | |
| 139 | 148 | "+ Call stack:\n" | |
@@ -149,7 +158,7 @@ msgstr "" | |||
| 149 | 158 | "Call stack: | File 'taskgroups.py', line 107, in async TaskGroup." | |
| 150 | 159 | "__aexit__() | File 't2.py', line 7, in async main()" | |
| 151 | 160 | ||
| 152 | - #: ../../library/asyncio-graph.rst:79 | ||
| 161 | + #: ../../library/asyncio-graph.rst:85 | ||
| 153 | 162 | msgid "" | |
| 154 | 163 | "Like :func:`print_call_graph`, but returns a string. If *future* is ``None`` " | |
| 155 | 164 | "and there's no current task, the function returns an empty string." | |
@@ -158,15 +167,15 @@ msgstr "" | |||
| 158 | 167 | "for ``None`` e não houver nenhuma tarefa atual, a função retorna uma string " | |
| 159 | 168 | "vazia." | |
| 160 | 169 | ||
| 161 | - #: ../../library/asyncio-graph.rst:86 | ||
| 170 | + #: ../../library/asyncio-graph.rst:92 | ||
| 162 | 171 | msgid "" | |
| 163 | 172 | "Capture the async call graph for the current task or the provided :class:" | |
| 164 | 173 | "`Task` or :class:`Future`." | |
| 165 | 174 | msgstr "" | |
| 166 | 175 | "Captura o grafo de chamadas assíncronas para a tarefa atual ou para a :class:" | |
| 167 | 176 | "`Task` ou :class:`Future` fornecida." | |
| 168 | 177 | ||
| 169 | - #: ../../library/asyncio-graph.rst:89 | ||
| 178 | + #: ../../library/asyncio-graph.rst:95 | ||
| 170 | 179 | msgid "" | |
| 171 | 180 | "The function receives an optional *future* argument. If not passed, the " | |
| 172 | 181 | "current running task will be used. If there's no current task, the function " | |
@@ -176,47 +185,47 @@ msgstr "" | |||
| 176 | 185 | "utilizada a tarefa em execução atual. Se não existir nenhuma tarefa atual, a " | |
| 177 | 186 | "função retorna ``None``." | |
| 178 | 187 | ||
| 179 | - #: ../../library/asyncio-graph.rst:97 | ||
| 188 | + #: ../../library/asyncio-graph.rst:103 | ||
| 180 | 189 | msgid "Returns a ``FutureCallGraph`` data class object:" | |
| 181 | 190 | msgstr "Retorna um objeto da classe de dados ``FutureCallGraph``:" | |
| 182 | 191 | ||
| 183 | - #: ../../library/asyncio-graph.rst:99 | ||
| 192 | + #: ../../library/asyncio-graph.rst:105 | ||
| 184 | 193 | msgid "``FutureCallGraph(future, call_stack, awaited_by)``" | |
| 185 | 194 | msgstr "``FutureCallGraph(future, call_stack, awaited_by)``" | |
| 186 | 195 | ||
| 187 | - #: ../../library/asyncio-graph.rst:101 | ||
| 196 | + #: ../../library/asyncio-graph.rst:107 | ||
| 188 | 197 | msgid "" | |
| 189 | 198 | "Where *future* is a reference to a :class:`Future` or a :class:`Task` (or " | |
| 190 | 199 | "their subclasses.)" | |
| 191 | 200 | msgstr "" | |
| 192 | 201 | "Onde *future* é uma referência a um :class:`Future` ou a uma :class:`Task` " | |
| 193 | 202 | "(ou às suas subclasses)." | |
| 194 | 203 | ||
| 195 | - #: ../../library/asyncio-graph.rst:104 | ||
| 204 | + #: ../../library/asyncio-graph.rst:110 | ||
| 196 | 205 | msgid "``call_stack`` is a tuple of ``FrameCallGraphEntry`` objects." | |
| 197 | 206 | msgstr "``call_stack`` é uma tupla de objetos ``FrameCallGraphEntry``." | |
| 198 | 207 | ||
| 199 | - #: ../../library/asyncio-graph.rst:106 | ||
| 208 | + #: ../../library/asyncio-graph.rst:112 | ||
| 200 | 209 | msgid "``awaited_by`` is a tuple of ``FutureCallGraph`` objects." | |
| 201 | 210 | msgstr "``awaited_by`` é uma tupla de objetos ``FutureCallGraph``." | |
| 202 | 211 | ||
| 203 | - #: ../../library/asyncio-graph.rst:108 | ||
| 212 | + #: ../../library/asyncio-graph.rst:114 | ||
| 204 | 213 | msgid "``FrameCallGraphEntry(frame)``" | |
| 205 | 214 | msgstr "``FrameCallGraphEntry(frame)``" | |
| 206 | 215 | ||
| 207 | - #: ../../library/asyncio-graph.rst:110 | ||
| 216 | + #: ../../library/asyncio-graph.rst:116 | ||
| 208 | 217 | msgid "" | |
| 209 | 218 | "Where *frame* is a frame object of a regular Python function in the call " | |
| 210 | 219 | "stack." | |
| 211 | 220 | msgstr "" | |
| 212 | 221 | "Onde *frame* é um objeto de quadro de uma função Python regular na pilha de " | |
| 213 | 222 | "chamadas." | |
| 214 | 223 | ||
| 215 | - #: ../../library/asyncio-graph.rst:115 | ||
| 224 | + #: ../../library/asyncio-graph.rst:121 | ||
| 216 | 225 | msgid "Low level utility functions" | |
| 217 | 226 | msgstr "Funções utilitárias de baixo nível" | |
| 218 | 227 | ||
| 219 | - #: ../../library/asyncio-graph.rst:117 | ||
| 228 | + #: ../../library/asyncio-graph.rst:123 | ||
| 220 | 229 | msgid "" | |
| 221 | 230 | "To introspect an async call graph asyncio requires cooperation from control " | |
| 222 | 231 | "flow structures, such as :func:`shield` or :class:`TaskGroup`. Any time an " | |
@@ -235,11 +244,11 @@ msgstr "" | |||
| 235 | 244 | "objetos *future* intermédios estão ligados às tarefas que envolvem ou " | |
| 236 | 245 | "controlam." | |
| 237 | 246 | ||
| 238 | - #: ../../library/asyncio-graph.rst:128 | ||
| 247 | + #: ../../library/asyncio-graph.rst:134 | ||
| 239 | 248 | msgid "Record that *future* is awaited on by *waiter*." | |
| 240 | 249 | msgstr "Registra que *future* está a ser aguardado por *waiter*." | |
| 241 | 250 | ||
| 242 | - #: ../../library/asyncio-graph.rst:130 ../../library/asyncio-graph.rst:143 | ||
| 251 | + #: ../../library/asyncio-graph.rst:136 ../../library/asyncio-graph.rst:149 | ||
| 243 | 252 | msgid "" | |
| 244 | 253 | "Both *future* and *waiter* must be instances of :class:`Future` or :class:" | |
| 245 | 254 | "`Task` or their subclasses, otherwise the call would have no effect." | |
@@ -248,7 +257,7 @@ msgstr "" | |||
| 248 | 257 | "class:`Task` ou de suas subclasses; caso contrário, a chamada não terá " | |
| 249 | 258 | "efeito." | |
| 250 | 259 | ||
| 251 | - #: ../../library/asyncio-graph.rst:134 | ||
| 260 | + #: ../../library/asyncio-graph.rst:140 | ||
| 252 | 261 | msgid "" | |
| 253 | 262 | "A call to ``future_add_to_awaited_by()`` must be followed by an eventual " | |
| 254 | 263 | "call to the :func:`future_discard_from_awaited_by` function with the same " | |
@@ -258,6 +267,6 @@ msgstr "" | |||
| 258 | 267 | "chamada eventual à função :func:`future_discard_from_awaited_by` com os " | |
| 259 | 268 | "mesmos argumentos." | |
| 260 | 269 | ||
| 261 | - #: ../../library/asyncio-graph.rst:141 | ||
| 270 | + #: ../../library/asyncio-graph.rst:147 | ||
| 262 | 271 | msgid "Record that *future* is no longer awaited on by *waiter*." | |
| 263 | 272 | msgstr "Registra que *future* não está mais sendo aguardado por *waiter*." | |
| Back | FazBrowse Home | New Git URL |
0 commit comments