Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c24605

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent 7129778 commit 2c24605

File tree

4 files changed

+795
-798
lines changed

4 files changed

+795
-798
lines changed

library/select.po

Lines changed: 80 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ msgstr ""
1919
"POT-Creation-Date: 2020-05-26 14:03+0000\n"
2020
"PO-Revision-Date: 2017-02-16 23:25+0000\n"
2121
"Last-Translator: i17obot <[email protected]>, 2020\n"
22-
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/teams/5390/pt_BR/)\n"
22+
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/python-doc/"
23+
"teams/5390/pt_BR/)\n"
2324
"Language: pt_BR\n"
2425
"MIME-Version: 1.0\n"
2526
"Content-Type: text/plain; charset=UTF-8\n"
@@ -34,11 +35,11 @@ msgstr ""
3435
msgid ""
3536
"This module provides access to the :c:func:`select` and :c:func:`poll` "
3637
"functions available in most operating systems, :c:func:`devpoll` available "
37-
"on Solaris and derivatives, :c:func:`epoll` available on Linux 2.5+ and "
38-
":c:func:`kqueue` available on most BSD. Note that on Windows, it only works "
39-
"for sockets; on other operating systems, it also works for other file types "
40-
"(in particular, on Unix, it works on pipes). It cannot be used on regular "
41-
"files to determine whether a file has grown since it was last read."
38+
"on Solaris and derivatives, :c:func:`epoll` available on Linux 2.5+ and :c:"
39+
"func:`kqueue` available on most BSD. Note that on Windows, it only works for "
40+
"sockets; on other operating systems, it also works for other file types (in "
41+
"particular, on Unix, it works on pipes). It cannot be used on regular files "
42+
"to determine whether a file has grown since it was last read."
4243
msgstr ""
4344

4445
#: ../../library/select.rst:20
@@ -71,9 +72,9 @@ msgstr ""
7172
#: ../../library/select.rst:43
7273
msgid ""
7374
":c:func:`devpoll` objects are linked to the number of file descriptors "
74-
"allowed at the time of instantiation. If your program reduces this value, "
75-
":c:func:`devpoll` will fail. If your program increases this value, "
76-
":c:func:`devpoll` may return an incomplete list of active file descriptors."
75+
"allowed at the time of instantiation. If your program reduces this value, :c:"
76+
"func:`devpoll` will fail. If your program increases this value, :c:func:"
77+
"`devpoll` may return an incomplete list of active file descriptors."
7778
msgstr ""
7879

7980
#: ../../library/select.rst:49 ../../library/select.rst:78
@@ -114,9 +115,9 @@ msgstr ""
114115

115116
#: ../../library/select.rst:74
116117
msgid ""
117-
"``epoll`` objects support the context management protocol: when used in a "
118-
":keyword:`with` statement, the new file descriptor is automatically closed "
119-
"at the end of the block."
118+
"``epoll`` objects support the context management protocol: when used in a :"
119+
"keyword:`with` statement, the new file descriptor is automatically closed at "
120+
"the end of the block."
120121
msgstr ""
121122

122123
#: ../../library/select.rst:80
@@ -125,14 +126,14 @@ msgstr ""
125126

126127
#: ../../library/select.rst:83
127128
msgid ""
128-
"Support for the :keyword:`with` statement was added. The new file descriptor"
129-
" is now non-inheritable."
129+
"Support for the :keyword:`with` statement was added. The new file descriptor "
130+
"is now non-inheritable."
130131
msgstr ""
131132

132133
#: ../../library/select.rst:87
133134
msgid ""
134-
"The *flags* parameter. ``select.EPOLL_CLOEXEC`` is used by default now. Use"
135-
" :func:`os.set_inheritable` to make the file descriptor inheritable."
135+
"The *flags* parameter. ``select.EPOLL_CLOEXEC`` is used by default now. "
136+
"Use :func:`os.set_inheritable` to make the file descriptor inheritable."
136137
msgstr ""
137138

138139
#: ../../library/select.rst:94
@@ -145,14 +146,14 @@ msgstr ""
145146

146147
#: ../../library/select.rst:102
147148
msgid ""
148-
"(Only supported on BSD.) Returns a kernel queue object; see section "
149-
":ref:`kqueue-objects` below for the methods supported by kqueue objects."
149+
"(Only supported on BSD.) Returns a kernel queue object; see section :ref:"
150+
"`kqueue-objects` below for the methods supported by kqueue objects."
150151
msgstr ""
151152

152153
#: ../../library/select.rst:113
153154
msgid ""
154-
"(Only supported on BSD.) Returns a kernel event object; see section "
155-
":ref:`kevent-objects` below for the methods supported by kevent objects."
155+
"(Only supported on BSD.) Returns a kernel event object; see section :ref:"
156+
"`kevent-objects` below for the methods supported by kevent objects."
156157
msgstr ""
157158

158159
#: ../../library/select.rst:119
@@ -173,8 +174,8 @@ msgstr ""
173174

174175
#: ../../library/select.rst:126
175176
msgid ""
176-
"*xlist*: wait for an \"exceptional condition\" (see the manual page for what"
177-
" your system considers such a condition)"
177+
"*xlist*: wait for an \"exceptional condition\" (see the manual page for what "
178+
"your system considers such a condition)"
178179
msgstr ""
179180

180181
#: ../../library/select.rst:129
@@ -197,35 +198,35 @@ msgstr ""
197198
#: ../../library/select.rst:144
198199
msgid ""
199200
"Among the acceptable object types in the iterables are Python :term:`file "
200-
"objects <file object>` (e.g. ``sys.stdin``, or objects returned by "
201-
":func:`open` or :func:`os.popen`), socket objects returned by "
202-
":func:`socket.socket`. You may also define a :dfn:`wrapper` class yourself,"
203-
" as long as it has an appropriate :meth:`~io.IOBase.fileno` method (that "
204-
"really returns a file descriptor, not just a random integer)."
201+
"objects <file object>` (e.g. ``sys.stdin``, or objects returned by :func:"
202+
"`open` or :func:`os.popen`), socket objects returned by :func:`socket."
203+
"socket`. You may also define a :dfn:`wrapper` class yourself, as long as it "
204+
"has an appropriate :meth:`~io.IOBase.fileno` method (that really returns a "
205+
"file descriptor, not just a random integer)."
205206
msgstr ""
206207

207208
#: ../../library/select.rst:155
208209
msgid ""
209210
"File objects on Windows are not acceptable, but sockets are. On Windows, "
210-
"the underlying :c:func:`select` function is provided by the WinSock library,"
211-
" and does not handle file descriptors that don't originate from WinSock."
211+
"the underlying :c:func:`select` function is provided by the WinSock library, "
212+
"and does not handle file descriptors that don't originate from WinSock."
212213
msgstr ""
213214

214215
#: ../../library/select.rst:160 ../../library/select.rst:266
215216
#: ../../library/select.rst:363 ../../library/select.rst:451
216217
#: ../../library/select.rst:492
217218
msgid ""
218219
"The function is now retried with a recomputed timeout when interrupted by a "
219-
"signal, except if the signal handler raises an exception (see :pep:`475` for"
220-
" the rationale), instead of raising :exc:`InterruptedError`."
220+
"signal, except if the signal handler raises an exception (see :pep:`475` for "
221+
"the rationale), instead of raising :exc:`InterruptedError`."
221222
msgstr ""
222223

223224
#: ../../library/select.rst:169
224225
msgid ""
225226
"The minimum number of bytes which can be written without blocking to a pipe "
226-
"when the pipe has been reported as ready for writing by "
227-
":func:`~select.select`, :func:`poll` or another interface in this module. "
228-
"This doesn't apply to other kind of file-like objects such as sockets."
227+
"when the pipe has been reported as ready for writing by :func:`~select."
228+
"select`, :func:`poll` or another interface in this module. This doesn't "
229+
"apply to other kind of file-like objects such as sockets."
229230
msgstr ""
230231

231232
#: ../../library/select.rst:174
@@ -234,7 +235,7 @@ msgstr ""
234235

235236
#: ../../library/select.rst:177
236237
msgid ":ref:`Availability <availability>`: Unix"
237-
msgstr ""
238+
msgstr ":ref:`Disponibilidade <availability>`: Unix"
238239

239240
#: ../../library/select.rst:184
240241
msgid "``/dev/poll`` Polling Objects"
@@ -266,39 +267,39 @@ msgstr ""
266267

267268
#: ../../library/select.rst:217 ../../library/select.rst:386
268269
msgid ""
269-
"Register a file descriptor with the polling object. Future calls to the "
270-
":meth:`poll` method will then check whether the file descriptor has any "
271-
"pending I/O events. *fd* can be either an integer, or an object with a "
272-
":meth:`~io.IOBase.fileno` method that returns an integer. File objects "
270+
"Register a file descriptor with the polling object. Future calls to the :"
271+
"meth:`poll` method will then check whether the file descriptor has any "
272+
"pending I/O events. *fd* can be either an integer, or an object with a :"
273+
"meth:`~io.IOBase.fileno` method that returns an integer. File objects "
273274
"implement :meth:`!fileno`, so they can also be used as the argument."
274275
msgstr ""
275276

276277
#: ../../library/select.rst:223
277278
msgid ""
278-
"*eventmask* is an optional bitmask describing the type of events you want to"
279-
" check for. The constants are the same that with :c:func:`poll` object. The "
280-
"default value is a combination of the constants :const:`POLLIN`, "
281-
":const:`POLLPRI`, and :const:`POLLOUT`."
279+
"*eventmask* is an optional bitmask describing the type of events you want to "
280+
"check for. The constants are the same that with :c:func:`poll` object. The "
281+
"default value is a combination of the constants :const:`POLLIN`, :const:"
282+
"`POLLPRI`, and :const:`POLLOUT`."
282283
msgstr ""
283284

284285
#: ../../library/select.rst:230
285286
msgid ""
286-
"Registering a file descriptor that's already registered is not an error, but"
287-
" the result is undefined. The appropriate action is to unregister or modify "
287+
"Registering a file descriptor that's already registered is not an error, but "
288+
"the result is undefined. The appropriate action is to unregister or modify "
288289
"it first. This is an important difference compared with :c:func:`poll`."
289290
msgstr ""
290291

291292
#: ../../library/select.rst:238
292293
msgid ""
293-
"This method does an :meth:`unregister` followed by a :meth:`register`. It is"
294-
" (a bit) more efficient that doing the same explicitly."
294+
"This method does an :meth:`unregister` followed by a :meth:`register`. It is "
295+
"(a bit) more efficient that doing the same explicitly."
295296
msgstr ""
296297

297298
#: ../../library/select.rst:245 ../../library/select.rst:430
298299
msgid ""
299-
"Remove a file descriptor being tracked by a polling object. Just like the "
300-
":meth:`register` method, *fd* can be an integer or an object with a "
301-
":meth:`~io.IOBase.fileno` method that returns an integer."
300+
"Remove a file descriptor being tracked by a polling object. Just like the :"
301+
"meth:`register` method, *fd* can be an integer or an object with a :meth:"
302+
"`~io.IOBase.fileno` method that returns an integer."
302303
msgstr ""
303304

304305
#: ../../library/select.rst:249
@@ -312,14 +313,13 @@ msgid ""
312313
"Polls the set of registered file descriptors, and returns a possibly-empty "
313314
"list containing ``(fd, event)`` 2-tuples for the descriptors that have "
314315
"events or errors to report. *fd* is the file descriptor, and *event* is a "
315-
"bitmask with bits set for the reported events for that descriptor --- "
316-
":const:`POLLIN` for waiting input, :const:`POLLOUT` to indicate that the "
317-
"descriptor can be written to, and so forth. An empty list indicates that the"
318-
" call timed out and no file descriptors had any events to report. If "
319-
"*timeout* is given, it specifies the length of time in milliseconds which "
320-
"the system will wait for events before returning. If *timeout* is omitted, "
321-
"-1, or :const:`None`, the call will block until there is an event for this "
322-
"poll object."
316+
"bitmask with bits set for the reported events for that descriptor --- :const:"
317+
"`POLLIN` for waiting input, :const:`POLLOUT` to indicate that the descriptor "
318+
"can be written to, and so forth. An empty list indicates that the call timed "
319+
"out and no file descriptors had any events to report. If *timeout* is given, "
320+
"it specifies the length of time in milliseconds which the system will wait "
321+
"for events before returning. If *timeout* is omitted, -1, or :const:`None`, "
322+
"the call will block until there is an event for this poll object."
323323
msgstr ""
324324

325325
#: ../../library/select.rst:276
@@ -422,8 +422,7 @@ msgstr ":const:`EPOLLRDHUP`"
422422

423423
#: ../../library/select.rst:306
424424
msgid ""
425-
"Stream socket peer closed connection or shut down writing half of "
426-
"connection."
425+
"Stream socket peer closed connection or shut down writing half of connection."
427426
msgstr ""
428427

429428
#: ../../library/select.rst:309
@@ -522,10 +521,10 @@ msgstr ""
522521

523522
#: ../../library/select.rst:392
524523
msgid ""
525-
"*eventmask* is an optional bitmask describing the type of events you want to"
526-
" check for, and can be a combination of the constants :const:`POLLIN`, "
527-
":const:`POLLPRI`, and :const:`POLLOUT`, described in the table below. If "
528-
"not specified, the default value used will check for all 3 types of events."
524+
"*eventmask* is an optional bitmask describing the type of events you want to "
525+
"check for, and can be a combination of the constants :const:`POLLIN`, :const:"
526+
"`POLLPRI`, and :const:`POLLOUT`, described in the table below. If not "
527+
"specified, the default value used will check for all 3 types of events."
529528
msgstr ""
530529

531530
#: ../../library/select.rst:400
@@ -574,8 +573,7 @@ msgstr ":const:`POLLRDHUP`"
574573

575574
#: ../../library/select.rst:410
576575
msgid ""
577-
"Stream socket peer closed connection, or shut down writing half of "
578-
"connection"
576+
"Stream socket peer closed connection, or shut down writing half of connection"
579577
msgstr ""
580578

581579
#: ../../library/select.rst:413
@@ -588,37 +586,36 @@ msgstr ""
588586

589587
#: ../../library/select.rst:416
590588
msgid ""
591-
"Registering a file descriptor that's already registered is not an error, and"
592-
" has the same effect as registering the descriptor exactly once."
589+
"Registering a file descriptor that's already registered is not an error, and "
590+
"has the same effect as registering the descriptor exactly once."
593591
msgstr ""
594592

595593
#: ../../library/select.rst:422
596594
msgid ""
597595
"Modifies an already registered fd. This has the same effect as "
598596
"``register(fd, eventmask)``. Attempting to modify a file descriptor that "
599-
"was never registered causes an :exc:`OSError` exception with errno "
600-
":const:`ENOENT` to be raised."
597+
"was never registered causes an :exc:`OSError` exception with errno :const:"
598+
"`ENOENT` to be raised."
601599
msgstr ""
602600

603601
#: ../../library/select.rst:434
604602
msgid ""
605-
"Attempting to remove a file descriptor that was never registered causes a "
606-
":exc:`KeyError` exception to be raised."
603+
"Attempting to remove a file descriptor that was never registered causes a :"
604+
"exc:`KeyError` exception to be raised."
607605
msgstr ""
608606

609607
#: ../../library/select.rst:440
610608
msgid ""
611609
"Polls the set of registered file descriptors, and returns a possibly-empty "
612610
"list containing ``(fd, event)`` 2-tuples for the descriptors that have "
613611
"events or errors to report. *fd* is the file descriptor, and *event* is a "
614-
"bitmask with bits set for the reported events for that descriptor --- "
615-
":const:`POLLIN` for waiting input, :const:`POLLOUT` to indicate that the "
616-
"descriptor can be written to, and so forth. An empty list indicates that the"
617-
" call timed out and no file descriptors had any events to report. If "
618-
"*timeout* is given, it specifies the length of time in milliseconds which "
619-
"the system will wait for events before returning. If *timeout* is omitted, "
620-
"negative, or :const:`None`, the call will block until there is an event for "
621-
"this poll object."
612+
"bitmask with bits set for the reported events for that descriptor --- :const:"
613+
"`POLLIN` for waiting input, :const:`POLLOUT` to indicate that the descriptor "
614+
"can be written to, and so forth. An empty list indicates that the call timed "
615+
"out and no file descriptors had any events to report. If *timeout* is given, "
616+
"it specifies the length of time in milliseconds which the system will wait "
617+
"for events before returning. If *timeout* is omitted, negative, or :const:"
618+
"`None`, the call will block until there is an event for this poll object."
622619
msgstr ""
623620

624621
#: ../../library/select.rst:461
@@ -666,8 +663,8 @@ msgstr ""
666663
#: ../../library/select.rst:508
667664
msgid ""
668665
"Value used to identify the event. The interpretation depends on the filter "
669-
"but it's usually the file descriptor. In the constructor ident can either be"
670-
" an int or an object with a :meth:`~io.IOBase.fileno` method. kevent stores "
666+
"but it's usually the file descriptor. In the constructor ident can either be "
667+
"an int or an object with a :meth:`~io.IOBase.fileno` method. kevent stores "
671668
"the integer internally."
672669
msgstr ""
673670

@@ -680,8 +677,7 @@ msgid ":const:`KQ_FILTER_READ`"
680677
msgstr ":const:`KQ_FILTER_READ`"
681678

682679
#: ../../library/select.rst:520
683-
msgid ""
684-
"Takes a descriptor and returns whenever there is data available to read"
680+
msgid "Takes a descriptor and returns whenever there is data available to read"
685681
msgstr ""
686682

687683
#: ../../library/select.rst:523

0 commit comments

Comments
 (0)