@@ -13,8 +13,10 @@ msgstr ""
1313"Report-Msgid-Bugs-To : \n "
1414"POT-Creation-Date : 2020-04-10 22:51+0000\n "
1515"PO-Revision-Date : 2019-09-01 03:15+0000\n "
16- "Last-Translator : Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2019\n "
17- "Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n "
16+ "Last-Translator : Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, "
17+ "2019\n "
18+ "Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
19+ "teams/5390/pt_BR/)\n "
1820"Language : pt_BR\n "
1921"MIME-Version : 1.0\n "
2022"Content-Type : text/plain; charset=UTF-8\n "
@@ -23,7 +25,7 @@ msgstr ""
2325
2426#: ../../library/asyncio-dev.rst:7
2527msgid "Developing with asyncio"
26- msgstr ""
28+ msgstr "Desenvolvendo com asyncio "
2729
2830#: ../../library/asyncio-dev.rst:9
2931msgid ""
@@ -38,7 +40,7 @@ msgstr ""
3840
3941#: ../../library/asyncio-dev.rst:19
4042msgid "Debug Mode"
41- msgstr ""
43+ msgstr "Modo de Depuração "
4244
4345#: ../../library/asyncio-dev.rst:21
4446msgid ""
@@ -51,8 +53,7 @@ msgid "There are several ways to enable asyncio debug mode:"
5153msgstr ""
5254
5355#: ../../library/asyncio-dev.rst:26
54- msgid ""
55- "Setting the :envvar:`PYTHONASYNCIODEBUG` environment variable to ``1``."
56+ msgid "Setting the :envvar:`PYTHONASYNCIODEBUG` environment variable to ``1``."
5657msgstr ""
5758
5859#: ../../library/asyncio-dev.rst:28
@@ -61,21 +62,21 @@ msgstr ""
6162
6263#: ../../library/asyncio-dev.rst:30
6364msgid "Passing ``debug=True`` to :func:`asyncio.run`."
64- msgstr ""
65+ msgstr "Passando ``debug=True`` para :func:`asyncio.run`. "
6566
6667#: ../../library/asyncio-dev.rst:32
6768msgid "Calling :meth:`loop.set_debug`."
68- msgstr ""
69+ msgstr "Chamando :meth:`loop.set_debug`. "
6970
7071#: ../../library/asyncio-dev.rst:34
7172msgid "In addition to enabling the debug mode, consider also:"
72- msgstr ""
73+ msgstr "Além de habilitar o modo de depuração, considere também: "
7374
7475#: ../../library/asyncio-dev.rst:36
7576msgid ""
76- "setting the log level of the :ref:`asyncio logger <asyncio-logger>` to "
77- ":py: data:`logging.DEBUG`, for example the following snippet of code can be "
78- "run at startup of the application::"
77+ "setting the log level of the :ref:`asyncio logger <asyncio-logger>` to :py: "
78+ "data:`logging.DEBUG`, for example the following snippet of code can be run "
79+ "at startup of the application::"
7980msgstr ""
8081
8182#: ../../library/asyncio-dev.rst:42
@@ -87,38 +88,40 @@ msgstr ""
8788
8889#: ../../library/asyncio-dev.rst:47
8990msgid "When the debug mode is enabled:"
90- msgstr ""
91+ msgstr "Quando o modo de depuração está habilitado: "
9192
9293#: ../../library/asyncio-dev.rst:49
9394msgid ""
94- "asyncio checks for :ref:`coroutines that were not awaited <asyncio-"
95- "coroutine- not-scheduled>` and logs them; this mitigates the \" forgotten "
96- "await \" pitfall."
95+ "asyncio checks for :ref:`coroutines that were not awaited <asyncio-coroutine- "
96+ "not-scheduled>` and logs them; this mitigates the \" forgotten await \" "
97+ "pitfall."
9798msgstr ""
9899
99100#: ../../library/asyncio-dev.rst:53
100101msgid ""
101- "Many non-threadsafe asyncio APIs (such as :meth:`loop.call_soon` and "
102- ":meth: `loop.call_at` methods) raise an exception if they are called from a "
103- "wrong thread."
102+ "Many non-threadsafe asyncio APIs (such as :meth:`loop.call_soon` and :meth: "
103+ "`loop.call_at` methods) raise an exception if they are called from a wrong "
104+ "thread."
104105msgstr ""
105106
106107#: ../../library/asyncio-dev.rst:57
107108msgid ""
108109"The execution time of the I/O selector is logged if it takes too long to "
109110"perform an I/O operation."
110111msgstr ""
112+ "O tempo de execução de um seletor I/O é registrado se demorar muito para "
113+ "executar a operação I/O."
111114
112115#: ../../library/asyncio-dev.rst:60
113116msgid ""
114- "Callbacks taking longer than 100ms are logged. The "
115- ":attr:`loop. slow_callback_duration` attribute can be used to set the minimum"
116- " execution duration in seconds that is considered \" slow\" ."
117+ "Callbacks taking longer than 100ms are logged. The :attr:`loop. "
118+ "slow_callback_duration` attribute can be used to set the minimum execution "
119+ "duration in seconds that is considered \" slow\" ."
117120msgstr ""
118121
119122#: ../../library/asyncio-dev.rst:68
120123msgid "Concurrency and Multithreading"
121- msgstr ""
124+ msgstr "Concorrência e Múltiplas Threads "
122125
123126#: ../../library/asyncio-dev.rst:70
124127msgid ""
@@ -131,8 +134,8 @@ msgstr ""
131134
132135#: ../../library/asyncio-dev.rst:76
133136msgid ""
134- "To schedule a callback from a different OS thread, the "
135- ":meth:`loop. call_soon_threadsafe` method should be used. Example::"
137+ "To schedule a callback from a different OS thread, the :meth:`loop. "
138+ "call_soon_threadsafe` method should be used. Example::"
136139msgstr ""
137140
138141#: ../../library/asyncio-dev.rst:81
@@ -145,23 +148,25 @@ msgstr ""
145148
146149#: ../../library/asyncio-dev.rst:89
147150msgid ""
148- "To schedule a coroutine object from a different OS thread, the "
149- ":func: `run_coroutine_threadsafe` function should be used. It returns a "
150- ":class: `concurrent.futures.Future` to access the result::"
151+ "To schedule a coroutine object from a different OS thread, the :func: "
152+ "`run_coroutine_threadsafe` function should be used. It returns a :class: "
153+ "`concurrent.futures.Future` to access the result::"
151154msgstr ""
152155
153156#: ../../library/asyncio-dev.rst:102
154157msgid ""
155- "To handle signals and to execute subprocesses, the event loop must be run in"
156- " the main thread."
158+ "To handle signals and to execute subprocesses, the event loop must be run in "
159+ "the main thread."
157160msgstr ""
161+ "Para tratar sinais e executar subprocessos, o laço de eventos precisa "
162+ "executar na thread principal."
158163
159164#: ../../library/asyncio-dev.rst:105
160165msgid ""
161- "The :meth:`loop.run_in_executor` method can be used with a "
162- ":class: `concurrent.futures.ThreadPoolExecutor` to execute blocking code in a"
163- " different OS thread without blocking the OS thread that the event loop runs"
164- " in."
166+ "The :meth:`loop.run_in_executor` method can be used with a :class: "
167+ "`concurrent.futures.ThreadPoolExecutor` to execute blocking code in a "
168+ "different OS thread without blocking the OS thread that the event loop runs "
169+ "in."
165170msgstr ""
166171
167172#: ../../library/asyncio-dev.rst:114
@@ -191,12 +196,16 @@ msgid ""
191196"asyncio uses the :mod:`logging` module and all logging is performed via the "
192197"``\" asyncio\" `` logger."
193198msgstr ""
199+ "asyncio usa o módulo :mod:`logging` e todo registro é feito via o "
200+ "registrador ``\" asyncio\" ``."
194201
195202#: ../../library/asyncio-dev.rst:135
196203msgid ""
197204"The default log level is :py:data:`logging.INFO`, which can be easily "
198205"adjusted::"
199206msgstr ""
207+ "O nível de log padrão é :py:data:`logging.INFO`, mas pode ser facilmente "
208+ "ajustado::"
200209
201210#: ../../library/asyncio-dev.rst:144
202211msgid "Detect never-awaited coroutines"
@@ -205,8 +214,8 @@ msgstr ""
205214#: ../../library/asyncio-dev.rst:146
206215msgid ""
207216"When a coroutine function is called, but not awaited (e.g. ``coro()`` "
208- "instead of ``await coro()``) or the coroutine is not scheduled with "
209- ":meth: `asyncio.create_task`, asyncio will emit a :exc:`RuntimeWarning`::"
217+ "instead of ``await coro()``) or the coroutine is not scheduled with :meth: "
218+ "`asyncio.create_task`, asyncio will emit a :exc:`RuntimeWarning`::"
210219msgstr ""
211220
212221#: ../../library/asyncio-dev.rst:161 ../../library/asyncio-dev.rst:206
@@ -219,8 +228,8 @@ msgstr ""
219228
220229#: ../../library/asyncio-dev.rst:179
221230msgid ""
222- "The usual fix is to either await the coroutine or call the "
223- ":meth:`asyncio. create_task` function::"
231+ "The usual fix is to either await the coroutine or call the :meth:`asyncio. "
232+ "create_task` function::"
224233msgstr ""
225234
226235#: ../../library/asyncio-dev.rst:187
@@ -237,10 +246,10 @@ msgstr ""
237246
238247#: ../../library/asyncio-dev.rst:194
239248msgid "Example of an unhandled exception::"
240- msgstr ""
249+ msgstr "Exemplo de uma exceção não tratada:: "
241250
242251#: ../../library/asyncio-dev.rst:217
243252msgid ""
244- ":ref:`Enable the debug mode <asyncio-debug-mode>` to get the traceback where"
245- " the task was created::"
253+ ":ref:`Enable the debug mode <asyncio-debug-mode>` to get the traceback where "
254+ "the task was created::"
246255msgstr ""
0 commit comments