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

Commitb22f5ea

Browse files
pomerge from 3.10 branch into 3.7
1 parent46893d8 commitb22f5ea

File tree

1 file changed

+61
-10
lines changed

1 file changed

+61
-10
lines changed

‎library/asyncio-eventloop.po

Lines changed: 61 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,49 +1006,69 @@ msgid ""
10061006
"AF_INET6` to force the socket to use IPv4 or IPv6. If not set, the *family* "
10071007
"will be determined from host name (defaults to :data:`~socket.AF_UNSPEC`)."
10081008
msgstr""
1009+
"*family* pode ser definido para :data:`socket.AF_INET` ou :data:`~socket."
1010+
"AF_INET6` para forçar o soquete a usar IPv4 ou IPv6. Se não for definido, "
1011+
"*family* será determinado a partir do nome do servidor (por padrão será :"
1012+
"data:`~socket.AF_UNSPEC`)."
10091013

10101014
#:../../library/asyncio-eventloop.rst:573
10111015
msgid"*flags* is a bitmask for :meth:`getaddrinfo`."
1012-
msgstr""
1016+
msgstr"*flags* é uma máscara de bits para :meth:`getaddrinfo`."
10131017

10141018
#:../../library/asyncio-eventloop.rst:575
10151019
msgid""
10161020
"*sock* can optionally be specified in order to use a preexisting socket "
10171021
"object. If specified, *host* and *port* must not be specified."
10181022
msgstr""
1023+
"*sock* pode opcionalmente ser especificado para usar um objeto soquete pré-"
1024+
"existente. Se especificado, *host* e *port* não devem ser especificados."
10191025

10201026
#:../../library/asyncio-eventloop.rst:578
10211027
msgid""
10221028
"*backlog* is the maximum number of queued connections passed to :meth:"
10231029
"`~socket.socket.listen` (defaults to 100)."
10241030
msgstr""
1031+
"*backlog* é o número máximo de conexões enfileiradas pasadas para :meth:"
1032+
"`~socket.socket.listen` (padrão é 100)."
10251033

10261034
#:../../library/asyncio-eventloop.rst:581
10271035
msgid""
10281036
"*ssl* can be set to an :class:`~ssl.SSLContext` instance to enable TLS over "
10291037
"the accepted connections."
10301038
msgstr""
1039+
"*ssl* pode ser definido para uma instância de :class:`~ssl.SSLContext` para "
1040+
"habilitar TLS sobre as conexões aceitas."
10311041

10321042
#:../../library/asyncio-eventloop.rst:584
10331043
msgid""
10341044
"*reuse_address* tells the kernel to reuse a local socket in ``TIME_WAIT`` "
10351045
"state, without waiting for its natural timeout to expire. If not specified "
10361046
"will automatically be set to ``True`` on Unix."
10371047
msgstr""
1048+
"*reuse_address* diz ao kernel para reusar um soquete local em estado "
1049+
"``TIME_WAIT``, serm aguardar pela expiração natural do seu tempo limite. Se "
1050+
"não especificado, será automaticamente definida como ``True`` no Unix."
10381051

10391052
#:../../library/asyncio-eventloop.rst:589
10401053
msgid""
10411054
"*reuse_port* tells the kernel to allow this endpoint to be bound to the same "
10421055
"port as other existing endpoints are bound to, so long as they all set this "
10431056
"flag when being created. This option is not supported on Windows."
10441057
msgstr""
1058+
"*reuse_port* diz ao kernel para permitir que este endpoint seja vinculado a "
1059+
"mesma porta que outros endpoints existentes estão vinculados, contanto que "
1060+
"todos eles definam este sinalizador quando forem criados. Esta opção não é "
1061+
"suportada no Windows."
10451062

10461063
#:../../library/asyncio-eventloop.rst:594
10471064
msgid""
10481065
"*ssl_handshake_timeout* is (for a TLS server) the time in seconds to wait "
10491066
"for the TLS handshake to complete before aborting the connection. ``60.0`` "
10501067
"seconds if ``None`` (default)."
10511068
msgstr""
1069+
"*ssl_handshake_timeout* é (para um servidor TLS) o tempo em segundos para "
1070+
"aguardar pelo aperto de mão TLS ser concluído, antes de abortar a conexão. "
1071+
"``60.0`` segundos se ``None`` (valor padrão)."
10521072

10531073
#:../../library/asyncio-eventloop.rst:598
10541074
msgid""
@@ -1057,103 +1077,128 @@ msgid ""
10571077
"should await on :meth:`Server.start_serving` or :meth:`Server.serve_forever` "
10581078
"to make the server to start accepting connections."
10591079
msgstr""
1080+
"Definir *start_serving* para ``True`` (o valor padrão) faz o servidor criado "
1081+
"começar a aceitar conexões imediatamente. Quando definido para ``False``, o "
1082+
"usuário deve aguardar com :meth:`Server.start_serving` ou :meth:`Server."
1083+
"serve_forever` para fazer o servidor começar a aceitar conexões."
10601084

10611085
#:../../library/asyncio-eventloop.rst:606
10621086
msgid"Added *ssl_handshake_timeout* and *start_serving* parameters."
1063-
msgstr""
1087+
msgstr"Adicionado os parâmetros *ssl_handshake_timeout* e *start_serving*."
10641088

10651089
#:../../library/asyncio-eventloop.rst:619
10661090
msgid"The *host* parameter can be a sequence of strings."
1067-
msgstr""
1091+
msgstr"O parâmetro *host* pode ser uma sequência de strings."
10681092

10691093
#:../../library/asyncio-eventloop.rst:623
10701094
msgid""
10711095
"The :func:`start_server` function is a higher-level alternative API that "
10721096
"returns a pair of :class:`StreamReader` and :class:`StreamWriter` that can "
10731097
"be used in an async/await code."
10741098
msgstr""
1099+
"A função :func:`start_server` é uma API alternativa de alto nível que "
1100+
"retorna um par de :class:`StreamReader` e :class:`StreamWriter` que pode ser "
1101+
"usado em um código async/await."
10751102

10761103
#:../../library/asyncio-eventloop.rst:632
10771104
msgid""
10781105
"Similar to :meth:`loop.create_server` but works with the :py:data:`~socket."
10791106
"AF_UNIX` socket family."
10801107
msgstr""
1108+
"Similar a :meth:`loop.create_server`, mas trabalha com a familia de soquete :"
1109+
"py:data:`~socket.AF_UNIX`."
10811110

10821111
#:../../library/asyncio-eventloop.rst:635
10831112
msgid""
10841113
"*path* is the name of a Unix domain socket, and is required, unless a *sock* "
10851114
"argument is provided. Abstract Unix sockets, :class:`str`, :class:`bytes`, "
10861115
"and :class:`~pathlib.Path` paths are supported."
10871116
msgstr""
1117+
"*path* é o nome de um soquete de domínio Unix, e é obrigatório, a não ser "
1118+
"que um argumento *sock* seja fornecido. Soquetes Unix abstratos, :class:"
1119+
"`str`, :class:`bytes`, e caminhos :class:`~pathlib.Path` são suportados."
10881120

10891121
#:../../library/asyncio-eventloop.rst:640
10901122
msgid""
10911123
"See the documentation of the :meth:`loop.create_server` method for "
10921124
"information about arguments to this method."
10931125
msgstr""
1126+
"Veja a documentação do método :meth:`loop.create_server` para informações "
1127+
"sobre argumentos para este método."
10941128

10951129
#:../../library/asyncio-eventloop.rst:647
10961130
msgid"The *ssl_handshake_timeout* and *start_serving* parameters."
10971131
msgstr"Os parâmetros *ssl_handshake_timeout* e *start_serving*."
10981132

10991133
#:../../library/asyncio-eventloop.rst:651
11001134
msgid"The *path* parameter can now be a :class:`~pathlib.Path` object."
1101-
msgstr""
1135+
msgstr"O parâmetro *path* agora pode ser um objeto :class:`~pathlib.Path`."
11021136

11031137
#:../../library/asyncio-eventloop.rst:656
11041138
msgid"Wrap an already accepted connection into a transport/protocol pair."
1105-
msgstr""
1139+
msgstr"Envolve uma conexão já aceita em um par transporte/protocolo."
11061140

11071141
#:../../library/asyncio-eventloop.rst:658
11081142
msgid""
11091143
"This method can be used by servers that accept connections outside of "
11101144
"asyncio but that use asyncio to handle them."
11111145
msgstr""
1146+
"Este método pode ser usado por servidores que aceitam conexões fora do "
1147+
"asyncio, mas que usam asyncio para manipulá-las."
11121148

11131149
#:../../library/asyncio-eventloop.rst:661
11141150
#:../../library/asyncio-eventloop.rst:728
11151151
msgid"Parameters:"
1116-
msgstr""
1152+
msgstr"Parâmetros:"
11171153

11181154
#:../../library/asyncio-eventloop.rst:666
11191155
msgid""
11201156
"*sock* is a preexisting socket object returned from :meth:`socket.accept "
11211157
"<socket.socket.accept>`."
11221158
msgstr""
1159+
"*sock* é um objeto soquete pré-existente retornado a partir de :meth:`socket."
1160+
"accept <socket.socket.accept>`."
11231161

11241162
#:../../library/asyncio-eventloop.rst:669
11251163
msgid""
11261164
"*ssl* can be set to an :class:`~ssl.SSLContext` to enable SSL over the "
11271165
"accepted connections."
11281166
msgstr""
1167+
"*ssl* pode ser definido para um :class:`~ssl.SSLContext` para habilitar SSL "
1168+
"sobre as conexões aceitas."
11291169

11301170
#:../../library/asyncio-eventloop.rst:672
11311171
msgid""
11321172
"*ssl_handshake_timeout* is (for an SSL connection) the time in seconds to "
11331173
"wait for the SSL handshake to complete before aborting the connection. "
11341174
"``60.0`` seconds if ``None`` (default)."
11351175
msgstr""
1176+
"*ssl_handshake_timeout* é (para uma conexão SSL) o tempo em segundos para "
1177+
"aguardar pelo aperto de mão SSL ser concluído, antes de abortar a conexão. "
1178+
"``60.0`` segundos se ``None`` (valor padrão)."
11361179

11371180
#:../../library/asyncio-eventloop.rst:676
11381181
msgid"Returns a ``(transport, protocol)`` pair."
1139-
msgstr""
1182+
msgstr"Retorna um par ``(transport, protocol)``."
11401183

11411184
#:../../library/asyncio-eventloop.rst:686
11421185
msgid"Transferring files"
1143-
msgstr""
1186+
msgstr"Transferindo arquivos"
11441187

11451188
#:../../library/asyncio-eventloop.rst:691
11461189
msgid""
11471190
"Send a *file* over a *transport*. Return the total number of bytes sent."
11481191
msgstr""
1192+
"Envia um *file* sobre um *transport*. Retorna o número total de bytes "
1193+
"enviados."
11491194

11501195
#:../../library/asyncio-eventloop.rst:694
11511196
msgid"The method uses high-performance :meth:`os.sendfile` if available."
1152-
msgstr""
1197+
msgstr"O método usa :meth:`os.sendfile` de alto desempenho, se disponível."
11531198

11541199
#:../../library/asyncio-eventloop.rst:696
11551200
msgid"*file* must be a regular file object opened in binary mode."
1156-
msgstr""
1201+
msgstr"*file* deve ser um objeto arquivo regular aberto em modo binário."
11571202

11581203
#:../../library/asyncio-eventloop.rst:698
11591204
#:../../library/asyncio-eventloop.rst:888
@@ -1164,6 +1209,12 @@ msgid ""
11641209
"raises an error, and :meth:`file.tell() <io.IOBase.tell>` can be used to "
11651210
"obtain the actual number of bytes sent."
11661211
msgstr""
1212+
"*offset* indica a partir de onde deve iniciar a leitura do arquivo. Se "
1213+
"especificado, *count* é o número total de bytes para transmitir, ao "
1214+
"contrário de transmitir o arquivo até que EOF seja atingido. A posição do "
1215+
"arquivo é sempre atualizada, mesmo quando este método levanta um erro, e :"
1216+
"meth:`file.tell() <io.IOBase.tell>` pode ser usado para obter o número atual "
1217+
"de bytes enviados."
11671218

11681219
#:../../library/asyncio-eventloop.rst:705
11691220
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp