Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit294491f

Browse files
author
github-actions
committed
Merge 3.10 into 3.7
1 parent52c6aed commit294491f

File tree

6 files changed

+1028
-996
lines changed

6 files changed

+1028
-996
lines changed

‎c-api/init.po

Lines changed: 319 additions & 315 deletions
Large diffs are not rendered by default.

‎faq/programming.po

Lines changed: 386 additions & 364 deletions
Large diffs are not rendered by default.

‎howto/pyporting.po

Lines changed: 105 additions & 98 deletions
Large diffs are not rendered by default.

‎library/asyncio-policy.po

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ msgstr ""
1515
"POT-Creation-Date:2020-04-10 22:51+0000\n"
1616
"PO-Revision-Date:2019-09-01 02:45+0000\n"
1717
"Last-Translator:Marco Rougeth <marco@rougeth.com>, 2019\n"
18-
"Language-Team:Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n"
18+
"Language-Team:Portuguese (Brazil) (https://www.transifex.com/python-doc/"
19+
"teams/5390/pt_BR/)\n"
1920
"Language:pt_BR\n"
2021
"MIME-Version:1.0\n"
2122
"Content-Type:text/plain; charset=UTF-8\n"
@@ -32,10 +33,9 @@ msgid ""
3233
"management of the event loop. Each event loop has a default policy, which "
3334
"can be changed and customized using the policy API."
3435
msgstr""
35-
"Uma política de laço de eventos é um objeto global por processo que controla"
36-
" o gerenciamento do laço de eventos. Cada laço de eventos possui uma "
37-
"política padrão, que pode ser alterada e personalizada usando a API de "
38-
"política."
36+
"Uma política de laço de eventos é um objeto global por processo que controla "
37+
"o gerenciamento do laço de eventos. Cada laço de eventos possui uma política "
38+
"padrão, que pode ser alterada e personalizada usando a API de política."
3939

4040
#:../../library/asyncio-policy.rst:14
4141
msgid""
@@ -48,15 +48,15 @@ msgstr ""
4848

4949
#:../../library/asyncio-policy.rst:18
5050
msgid""
51-
"By using a custom event loop policy, the behavior of :func:`get_event_loop`,"
52-
" :func:`set_event_loop`, and :func:`new_event_loop` functions can be "
53-
"customized."
51+
"By using a custom event loop policy, the behavior of :func:"
52+
"`get_event_loop`, :func:`set_event_loop`, and :func:`new_event_loop` "
53+
"functions can becustomized."
5454
msgstr""
5555

5656
#:../../library/asyncio-policy.rst:22
5757
msgid""
58-
"Policy objects should implement the APIs defined in the "
59-
":class:`AbstractEventLoopPolicy` abstract base class."
58+
"Policy objects should implement the APIs defined in the:class:"
59+
"`AbstractEventLoopPolicy` abstract base class."
6060
msgstr""
6161

6262
#:../../library/asyncio-policy.rst:27
@@ -95,7 +95,7 @@ msgstr ""
9595

9696
#:../../library/asyncio-policy.rst:54
9797
msgid"Get the event loop for the current context."
98-
msgstr""
98+
msgstr"Obtém o laço de eventos para o contexto atual."
9999

100100
#:../../library/asyncio-policy.rst:56
101101
msgid""
@@ -109,7 +109,7 @@ msgstr ""
109109

110110
#:../../library/asyncio-policy.rst:65
111111
msgid"Set the event loop for the current context to *loop*."
112-
msgstr""
112+
msgstr"Define o laço de eventos do contexto atual como *loop*."
113113

114114
#:../../library/asyncio-policy.rst:69
115115
msgid"Create and return a new event loop object."
@@ -178,10 +178,10 @@ msgstr ""
178178

179179
#:../../library/asyncio-policy.rst:120
180180
msgid""
181-
"asyncio defines the :class:`AbstractChildWatcher` abstract base class, which"
182-
"child watchers should implement, and has two different implementations: "
183-
":class:`SafeChildWatcher` (configured to be used by default) and "
184-
":class:`FastChildWatcher`."
181+
"asyncio defines the :class:`AbstractChildWatcher` abstract base class, which"
182+
"child watchers should implement, and has two different implementations::"
183+
"class:`SafeChildWatcher` (configured to be used by default) and:class:"
184+
"`FastChildWatcher`."
185185
msgstr""
186186

187187
#:../../library/asyncio-policy.rst:125
@@ -205,8 +205,8 @@ msgstr ""
205205
#:../../library/asyncio-policy.rst:137
206206
msgid""
207207
"Set the current child watcher to *watcher* for the current policy. "
208-
"*watcher* must implement methods defined in the "
209-
":class:`AbstractChildWatcher` base class."
208+
"*watcher* must implement methods defined in the:class:"
209+
"`AbstractChildWatcher` base class."
210210
msgstr""
211211

212212
#:../../library/asyncio-policy.rst:142
@@ -222,8 +222,8 @@ msgstr ""
222222

223223
#:../../library/asyncio-policy.rst:152
224224
msgid""
225-
"Arrange for ``callback(pid, returncode, *args)`` to be called when a process"
226-
"with PID equal to *pid* terminates. Specifying another callback for the "
225+
"Arrange for ``callback(pid, returncode, *args)`` to be called when a process"
226+
"with PID equal to *pid* terminates. Specifying another callback for the "
227227
"same process replaces the previous handler."
228228
msgstr""
229229

@@ -261,8 +261,8 @@ msgstr ""
261261

262262
#:../../library/asyncio-policy.rst:179
263263
msgid""
264-
"This method has to be called to ensure that underlying resources are "
265-
"cleaned-up."
264+
"This method has to be called to ensure that underlying resources arecleaned-"
265+
"up."
266266
msgstr""
267267

268268
#:../../library/asyncio-policy.rst:184
@@ -283,9 +283,9 @@ msgstr ""
283283

284284
#:../../library/asyncio-policy.rst:195
285285
msgid""
286-
"This implementation reaps every terminated processes by calling "
287-
"``os.waitpid(-1)`` directly, possibly breaking other code spawning processes"
288-
" andwaiting for their termination."
286+
"This implementation reaps every terminated processes by calling``os."
287+
"waitpid(-1)`` directly, possibly breaking other code spawning processes and"
288+
"waiting for their termination."
289289
msgstr""
290290

291291
#:../../library/asyncio-policy.rst:199
@@ -300,7 +300,7 @@ msgstr ""
300300

301301
#:../../library/asyncio-policy.rst:206
302302
msgid""
303-
"To implement a new event loop policy, it is recommended to subclass "
304-
":class:`DefaultEventLoopPolicy` and override the methods for which custom "
305-
"behavioris wanted, e.g.::"
303+
"To implement a new event loop policy, it is recommended to subclass:class:"
304+
"`DefaultEventLoopPolicy` and override the methods for which custom behavior "
305+
"is wanted, e.g.::"
306306
msgstr""

‎library/gc.po

Lines changed: 50 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ msgstr ""
1414
"POT-Creation-Date:2020-04-10 22:51+0000\n"
1515
"PO-Revision-Date:2019-09-01 03:23+0000\n"
1616
"Last-Translator:Livia Cavalcanti <livia.juliao@ccc.ufcg.edu.br>, 2019\n"
17-
"Language-Team:Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n"
17+
"Language-Team:Portuguese (Brazil) (https://www.transifex.com/python-doc/"
18+
"teams/5390/pt_BR/)\n"
1819
"Language:pt_BR\n"
1920
"MIME-Version:1.0\n"
2021
"Content-Type:text/plain; charset=UTF-8\n"
@@ -23,33 +24,32 @@ msgstr ""
2324

2425
#:../../library/gc.rst:2
2526
msgid":mod:`gc` --- Garbage Collector interface"
26-
msgstr""
27+
msgstr":mod:`gc` --- Interface para o coletor de lixo"
2728

2829
#:../../library/gc.rst:12
2930
msgid""
3031
"This module provides an interface to the optional garbage collector. It "
3132
"provides the ability to disable the collector, tune the collection "
3233
"frequency, and set debugging options. It also provides access to "
3334
"unreachable objects that the collector found but cannot free. Since the "
34-
"collector supplements the reference counting already used in Python, you can"
35-
" disable the collector if you are sure your program does not create "
36-
"reference cycles. Automatic collection can be disabled by calling "
37-
"``gc.disable()``. To debug a leaking program call "
38-
"``gc.set_debug(gc.DEBUG_LEAK)``. Notice that this includes "
39-
"``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be saved in "
40-
"gc.garbage for inspection."
35+
"collector supplements the reference counting already used in Python, you can "
36+
"disable the collector if you are sure your program does not create reference "
37+
"cycles. Automatic collection can be disabled by calling ``gc.disable()``. "
38+
"To debug a leaking program call ``gc.set_debug(gc.DEBUG_LEAK)``. Notice that "
39+
"this includes ``gc.DEBUG_SAVEALL``, causing garbage-collected objects to be "
40+
"saved in gc.garbage for inspection."
4141
msgstr""
4242
"Este módulo fornece uma interface para o opcional garbage collector. Ele "
4343
"disponibiliza a habilidade de desabilitar o collector, ajustar a frequência "
4444
"da coleção, e configurar as opções de depuração. Ele também fornece acesso "
4545
"para objetos inacessíveis que o collector encontra mas não pode\"limpar\". "
4646
"Como o collector complementa a contagem de referência já usada em Python, "
47-
"você pode desabilitar o collector se você tem certeza que o seu programa não"
48-
"cria ciclos de referências. A coleta automática pode ser desabilitada pela "
49-
"chamada ``gc.disable()``. Para depurar um programa vazando, chame "
50-
"``gc.set_debug(gc.DEBUG_LEAK)``. Perceba que isto inclui "
51-
"``gc.DEBUG_SAVEALL``,fazendo com que objetos coletados pelo garbage-"
52-
"collector sejam salvos parainspeção em gc.garbage."
47+
"você pode desabilitar o collector se você tem certeza que o seu programa não"
48+
"cria ciclos de referências. A coleta automática pode ser desabilitada pela "
49+
"chamada ``gc.disable()``. Para depurar um programa vazando, chame``gc."
50+
"set_debug(gc.DEBUG_LEAK)``. Perceba que isto inclui ``gc.DEBUG_SAVEALL``, "
51+
"fazendo com que objetos coletados pelo garbage-collector sejam salvos para"
52+
"inspeção em gc.garbage."
5353

5454
#:../../library/gc.rst:23
5555
msgid"The :mod:`gc` module provides the following functions:"
@@ -61,11 +61,11 @@ msgstr ""
6161

6262
#:../../library/gc.rst:33
6363
msgid"Disable automatic garbage collection."
64-
msgstr""
64+
msgstr"Desabilita a coleta de lixo automática."
6565

6666
#:../../library/gc.rst:38
6767
msgid"Return ``True`` if automatic collection is enabled."
68-
msgstr""
68+
msgstr"Retorna ``True`` se a coleta automática estiver habilitada."
6969

7070
#:../../library/gc.rst:43
7171
msgid""
@@ -92,7 +92,7 @@ msgstr ""
9292

9393
#:../../library/gc.rst:63
9494
msgid"Return the debugging flags currently set."
95-
msgstr""
95+
msgstr"Retorna os sinalizadores de depuração atualmente definidos."
9696

9797
#:../../library/gc.rst:68
9898
msgid""
@@ -158,11 +158,13 @@ msgid ""
158158
"Return the current collection thresholds as a tuple of ``(threshold0, "
159159
"threshold1, threshold2)``."
160160
msgstr""
161+
"Retorna os limites da coleta atual como uma tupla de ``(threshold0, "
162+
"threshold1, threshold2)``."
161163

162164
#:../../library/gc.rst:125
163165
msgid""
164-
"Return the list of objects that directly refer to any of objs. This function"
165-
"will only locate those containers which support garbage collection; "
166+
"Return the list of objects that directly refer to any of objs. This function"
167+
"will only locate those containers which support garbage collection; "
166168
"extension types which do refer to other objects but do not support garbage "
167169
"collection will not be found."
168170
msgstr""
@@ -179,20 +181,20 @@ msgstr ""
179181
msgid""
180182
"Care must be taken when using objects returned by :func:`get_referrers` "
181183
"because some of them could still be under construction and hence in a "
182-
"temporarily invalid state. Avoid using :func:`get_referrers` for any purpose"
183-
"other than debugging."
184+
"temporarily invalid state. Avoid using :func:`get_referrers` for any purpose"
185+
"other than debugging."
184186
msgstr""
185187

186188
#:../../library/gc.rst:143
187189
msgid""
188190
"Return a list of objects directly referred to by any of the arguments. The "
189-
"referents returned are those objects visited by the arguments' C-level "
190-
":c:member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all "
191+
"referents returned are those objects visited by the arguments' C-level:c:"
192+
"member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all "
191193
"objects actually directly reachable. :c:member:`~PyTypeObject.tp_traverse` "
192194
"methods are supported only by objects that support garbage collection, and "
193-
"are only required to visit objects that may be involved in a cycle. So, for"
194-
"example, if an integer is directly reachable from an argument, that integer"
195-
"object may or may not appear in the result list."
195+
"are only required to visit objects that may be involved in a cycle. So, for"
196+
"example, if an integer is directly reachable from an argument, that integer"
197+
"object may or may not appear in the result list."
196198
msgstr""
197199

198200
#:../../library/gc.rst:154
@@ -209,8 +211,8 @@ msgstr ""
209211
msgid""
210212
"Freeze all the objects tracked by gc - move them to a permanent generation "
211213
"and ignore all the future collections. This can be used before a POSIX "
212-
"fork() call to make the gc copy-on-write friendly or to speed up collection."
213-
"Also collection before a POSIX fork() call may free pages for future "
214+
"fork() call to make the gc copy-on-write friendly or to speed up collection."
215+
"Also collection before a POSIX fork() call may free pages for future "
214216
"allocation which can cause copy-on-write too so it's advised to disable gc "
215217
"in master process and freeze before fork and enable gc in child process."
216218
msgstr""
@@ -235,35 +237,35 @@ msgstr ""
235237
msgid""
236238
"A list of objects which the collector found to be unreachable but could not "
237239
"be freed (uncollectable objects). Starting with Python 3.4, this list "
238-
"should be empty most of the time, except when using instances of C extension"
239-
"types with a non-``NULL`` ``tp_del`` slot."
240+
"should be empty most of the time, except when using instances of C extension"
241+
"types with a non-``NULL`` ``tp_del`` slot."
240242
msgstr""
241243

242244
#:../../library/gc.rst:214
243245
msgid""
244-
"If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be added"
245-
"to this list rather than freed."
246+
"If :const:`DEBUG_SAVEALL` is set, then all unreachable objects will be added"
247+
"to this list rather than freed."
246248
msgstr""
247249

248250
#:../../library/gc.rst:217
249251
msgid""
250-
"If this list is non-empty at :term:`interpreter shutdown`, a "
251-
":exc:`ResourceWarning` is emitted, which is silent by default. If "
252-
":const:`DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects "
253-
"areprinted."
252+
"If this list is non-empty at :term:`interpreter shutdown`, a:exc:"
253+
"`ResourceWarning` is emitted, which is silent by default. If:const:"
254+
"`DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects are "
255+
"printed."
254256
msgstr""
255257

256258
#:../../library/gc.rst:223
257259
msgid""
258-
"Following :pep:`442`, objects with a :meth:`__del__` method don't end up in "
259-
":attr:`gc.garbage` anymore."
260+
"Following :pep:`442`, objects with a :meth:`__del__` method don't end up in:"
261+
"attr:`gc.garbage` anymore."
260262
msgstr""
261263

262264
#:../../library/gc.rst:229
263265
msgid""
264-
"A list of callbacks that will be invoked by the garbage collector before and"
265-
"after collection. The callbacks will be called with two arguments, *phase*"
266-
"and *info*."
266+
"A list of callbacks that will be invoked by the garbage collector before and"
267+
"after collection. The callbacks will be called with two arguments, *phase*"
268+
"and *info*."
267269
msgstr""
268270

269271
#:../../library/gc.rst:233
@@ -280,8 +282,8 @@ msgstr ""
280282

281283
#:../../library/gc.rst:239
282284
msgid""
283-
"*info* is a dict providing more information for the callback. The following"
284-
"keys are currently defined:"
285+
"*info* is a dict providing more information for the callback. The following"
286+
"keys are currently defined:"
285287
msgstr""
286288

287289
#:../../library/gc.rst:242
@@ -347,13 +349,13 @@ msgstr ""
347349

348350
#:../../library/gc.rst:289
349351
msgid""
350-
"When set, all unreachable objects found will be appended to *garbage* rather"
351-
"than being freed. This can be useful for debugging a leaking program."
352+
"When set, all unreachable objects found will be appended to *garbage* rather"
353+
"than being freed. This can be useful for debugging a leaking program."
352354
msgstr""
353355

354356
#:../../library/gc.rst:295
355357
msgid""
356-
"The debugging flags necessary for the collector to print information about a"
357-
"leaking program (equal to ``DEBUG_COLLECTABLE | DEBUG_UNCOLLECTABLE | "
358+
"The debugging flags necessary for the collector to print information about a"
359+
"leaking program (equal to ``DEBUG_COLLECTABLE | DEBUG_UNCOLLECTABLE | "
358360
"DEBUG_SAVEALL``)."
359361
msgstr""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp