@@ -14,7 +14,8 @@ msgstr ""
1414"MIME-Version : 1.0\n "
1515"Content-Type : text/plain; charset=UTF-8\n "
1616"Content-Transfer-Encoding : 8bit\n "
17- "Last-Translator : Juan Diego Alfonso Ocampo <juandiego.alfonsoocampo@gmail.com>\n "
17+ "Last-Translator : Juan Diego Alfonso Ocampo <juandiego.alfonsoocampo@gmail. "
18+ "com>\n "
1819"Language : es\n "
1920"X-Generator : Poedit 2.3.1\n "
2021
@@ -103,7 +104,8 @@ msgstr ""
103104"La idea básica detrás de ambos módulos es crear uno o más *canales* de red, "
104105"instancias de clase :class:`asyncore.dispatcher` y :class:`asynchat."
105106"async_chat`. La creación de los canales los agrega a un mapa global, "
106- "utilizado por la función :func:`loop` si no lo proporciona con su propio *map*."
107+ "utilizado por la función :func:`loop` si no lo proporciona con su propio "
108+ "*map*."
107109
108110#: ../Doc/library/asyncore.rst:54
109111msgid ""
@@ -119,25 +121,25 @@ msgstr ""
119121
120122#: ../Doc/library/asyncore.rst:61
121123msgid ""
122- "Enter a polling loop that terminates after count passes or all open "
123- "channels have been closed. All arguments are optional. The *count* "
124- "parameter defaults to ``None``, resulting in the loop terminating only "
125- "when all channels have been closed. The *timeout* argument sets the timeout "
124+ "Enter a polling loop that terminates after count passes or all open channels "
125+ "have been closed. All arguments are optional. The *count* parameter "
126+ "defaults to ``None``, resulting in the loop terminating only when all "
127+ "channels have been closed. The *timeout* argument sets the timeout "
126128"parameter for the appropriate :func:`~select.select` or :func:`~select.poll` "
127129"call, measured in seconds; the default is 30 seconds. The *use_poll* "
128130"parameter, if true, indicates that :func:`~select.poll` should be used in "
129131"preference to :func:`~select.select` (the default is ``False``)."
130132msgstr ""
131133"Ingrese un bucle de sondeo que termine después de que se hayan cerrado los "
132134"pases de conteo o todos los canales abiertos. Todos los argumentos son "
133- "opcionales. El parámetro *count* tiene como valor predeterminado "
134- "``None``, lo que da como resultado que el bucle termine solo cuando se "
135- "hayan cerrado todos los canales. El argumento *timeout* establece el "
136- "parámetro de tiempo de espera para la llamada adecuada a:func:`-select."
137- "select` o :func:`-select. poll`, medida en segundos; el valor predeterminado "
138- "es 30 segundos. El parámetro *use_poll*, si es true, indica que :func:"
139- "``select.poll` debe utilizarse en lugar de :func:``select.select` (el valor "
140- "predeterminado es ``False``)."
135+ "opcionales. El parámetro *count* tiene como valor predeterminado ``None``, "
136+ "lo que da como resultado que el bucle termine solo cuando se hayan cerrado "
137+ "todos los canales. El argumento *timeout* establece el parámetro de tiempo "
138+ "de espera para la llamada adecuada a:func:`-select.select` o :func:`-select."
139+ "poll`, medida en segundos; el valor predeterminado es 30 segundos. El "
140+ "parámetro *use_poll*, si es true, indica que :func:``select.poll` debe "
141+ "utilizarse en lugar de :func:``select.select` (el valor predeterminado es "
142+ "``False``)."
141143
142144#: ../Doc/library/asyncore.rst:70
143145msgid ""
@@ -157,8 +159,8 @@ msgstr ""
157159msgid ""
158160"The :class:`dispatcher` class is a thin wrapper around a low-level socket "
159161"object. To make it more useful, it has a few methods for event-handling "
160- "which are called from the asynchronous loop. Otherwise, it can be "
161- "treated as a normal non-blocking socket object."
162+ "which are called from the asynchronous loop. Otherwise, it can be treated "
163+ "as a normal non-blocking socket object."
162164msgstr ""
163165"La clase :class:`dispatcher` es un contenedor fino alrededor de un objeto de "
164166"socket de bajo nivel. Para hacerlo más útil, tiene algunos métodos para el "
@@ -178,9 +180,9 @@ msgstr ""
178180"La activación de eventos de bajo nivel en determinados momentos o en "
179181"determinados estados de conexión indica al bucle asincrónico que se han "
180182"producido determinados eventos de nivel superior. Por ejemplo, si hemos "
181- "pedido un socket para conectarse a otro host, sabemos que la conexión se "
182- "ha realizado cuando el socket se vuelve *grabable* por primera vez (en "
183- "este punto sabe que puede escribir a él con la expectativa de éxito). Los "
183+ "pedido un socket para conectarse a otro host, sabemos que la conexión se ha "
184+ "realizado cuando el socket se vuelve *grabable* por primera vez (en este "
185+ "punto sabe que puede escribir a él con la expectativa de éxito). Los "
184186"eventos de nivel superior implícitos son:"
185187
186188#: ../Doc/library/asyncore.rst:93
@@ -222,19 +224,19 @@ msgid ""
222224"should be added to the list of channels :c:func:`select`\\ ed or :c:func:"
223225"`poll`\\ ed for read and write events."
224226msgstr ""
225- "Durante el procesamiento asincrónico, se utilizan los métodos :"
226- "meth: `readable` y :meth:`writable` de cada canal asignado para determinar si "
227- "el socket del canal debe agregarse a la lista de canales :c:func:`select`- "
228- "ed o :c:func:`poll`- para eventos de lectura y escritura."
227+ "Durante el procesamiento asincrónico, se utilizan los métodos :meth: "
228+ "`readable` y :meth:`writable` de cada canal asignado para determinar si el "
229+ "socket del canal debe agregarse a la lista de canales :c:func:`select`- ed "
230+ "o :c:func:`poll`- para eventos de lectura y escritura."
229231
230232#: ../Doc/library/asyncore.rst:110
231233msgid ""
232- "Thus, the set of channel events is larger than the basic socket events. "
233- "The full set of methods that can be overridden in your subclass follows:"
234+ "Thus, the set of channel events is larger than the basic socket events. The "
235+ "full set of methods that can be overridden in your subclass follows:"
234236msgstr ""
235237"Por lo tanto, el conjunto de eventos de canal es mayor que los eventos de "
236- "socket básicos. El conjunto completo de métodos que se pueden invalidar "
237- "en la subclase es el siguiente:"
238+ "socket básicos. El conjunto completo de métodos que se pueden invalidar en "
239+ "la subclase es el siguiente:"
238240
239241#: ../Doc/library/asyncore.rst:116
240242msgid ""
@@ -250,18 +252,18 @@ msgid ""
250252"written. Often this method will implement the necessary buffering for "
251253"performance. For example::"
252254msgstr ""
253- "Se llama cuando el bucle asincrónico detecta que se puede escribir un "
254- "socket grabable. A menudo, este método implementará el almacenamiento "
255- "en búfer necesario para el rendimiento. Por ejemplo:"
255+ "Se llama cuando el bucle asincrónico detecta que se puede escribir un socket "
256+ "grabable. A menudo, este método implementará el almacenamiento en búfer "
257+ "necesario para el rendimiento. Por ejemplo:"
256258
257259#: ../Doc/library/asyncore.rst:133
258260msgid ""
259261"Called when there is out of band (OOB) data for a socket connection. This "
260262"will almost never happen, as OOB is tenuously supported and rarely used."
261263msgstr ""
262- "Se llama cuando hay datos fuera de banda (OOB) para una conexión de "
263- "socket. Esto casi nunca sucederá, ya que OOB es tenuemente compatible y "
264- "rara vez se utiliza."
264+ "Se llama cuando hay datos fuera de banda (OOB) para una conexión de socket. "
265+ "Esto casi nunca sucederá, ya que OOB es tenuemente compatible y rara vez se "
266+ "utiliza."
265267
266268#: ../Doc/library/asyncore.rst:139
267269msgid ""
@@ -301,16 +303,16 @@ msgstr ""
301303msgid ""
302304"Called on listening channels (passive openers) when a connection has been "
303305"established with a new remote endpoint that has issued a :meth:`connect` "
304- "call for the local endpoint. *sock* is a *new* socket object usable to "
305- "send and receive data on the connection, and *addr* is the address bound to "
306- "the socket on the other end of the connection."
306+ "call for the local endpoint. *sock* is a *new* socket object usable to send "
307+ "and receive data on the connection, and *addr* is the address bound to the "
308+ "socket on the other end of the connection."
307309msgstr ""
308310"Se llama en los canales de escucha (abridores pasivos) cuando se ha "
309311"establecido una conexión con un nuevo punto de conexión remoto que ha "
310312"emitido una llamada :meth:`connect` para el punto de conexión local. *sock* "
311313"es un objeto de socket *new* utilizable para enviar y recibir datos en la "
312- "conexión, y *addr* es la dirección enlazada al socket en el otro extremo "
313- "de la conexión."
314+ "conexión, y *addr* es la dirección enlazada al socket en el otro extremo de "
315+ "la conexión."
314316
315317#: ../Doc/library/asyncore.rst:178
316318msgid ""
@@ -348,8 +350,8 @@ msgstr ""
348350
349351#: ../Doc/library/asyncore.rst:198
350352msgid ""
351- "This is identical to the creation of a normal socket, and will use the "
352- "same options for creation. Refer to the :mod:`socket` documentation for "
353+ "This is identical to the creation of a normal socket, and will use the same "
354+ "options for creation. Refer to the :mod:`socket` documentation for "
353355"information on creating sockets."
354356msgstr ""
355357"Esto es idéntico a la creación de un socket normal y usará las mismas "
@@ -395,38 +397,37 @@ msgstr ""
395397
396398#: ../Doc/library/asyncore.rst:230
397399msgid ""
398- "Listen for connections made to the socket. The *backlog* argument "
399- "specifies the maximum number of queued connections and should be at least 1; "
400- "the maximum value is system-dependent (usually 5)."
400+ "Listen for connections made to the socket. The *backlog* argument specifies "
401+ "the maximum number of queued connections and should be at least 1; the "
402+ "maximum value is system-dependent (usually 5)."
401403msgstr ""
402404"Escucha las conexiones realizadas al socket. El argumento *backlog* "
403405"especifica el número máximo de conexiones en cola y debe ser al menos 1; el "
404406"valor máximo depende del sistema (normalmente 5)."
405407
406408#: ../Doc/library/asyncore.rst:237
407409msgid ""
408- "Bind the socket to *address*. The socket must not already be bound. "
409- "(The format of *address* depends on the address family --- refer to the :mod:"
410+ "Bind the socket to *address*. The socket must not already be bound. (The "
411+ "format of *address* depends on the address family --- refer to the :mod:"
410412"`socket` documentation for more information.) To mark the socket as re-"
411413"usable (setting the :const:`SO_REUSEADDR` option), call the :class:"
412414"`dispatcher` object's :meth:`set_reuse_addr` method."
413415msgstr ""
414416"Enlaza el socket a *address*. El socket no debe estar enlazado ya. (El "
415417"formato de *address* depende de la familia de direcciones — consulte la "
416418"documentación :mod:`socket` para obtener más información.) Para marcar el "
417- "socket como *reutilizable* (estableciendo la opción :"
418- "const:`SO_REUSEADDR`), llame al método :meth:`set_reuse_addr` del objeto :"
419- "class:`dispatcher`."
419+ "socket como *reutilizable* (estableciendo la opción :const:`SO_REUSEADDR`), "
420+ "llame al método :meth:`set_reuse_addr` del objeto :class:`dispatcher`."
420421
421422#: ../Doc/library/asyncore.rst:246
422423msgid ""
423424"Accept a connection. The socket must be bound to an address and listening "
424425"for connections. The return value can be either ``None`` or a pair ``(conn, "
425- "address)`` where *conn* is a *new* socket object usable to send and "
426- "receive data on the connection, and *address* is the address bound to the "
427- "socket on the other end of the connection. When ``None`` is returned it "
428- "means the connection didn't take place, in which case the server should just "
429- "ignore this event and keep listening for further incoming connections."
426+ "address)`` where *conn* is a *new* socket object usable to send and receive "
427+ "data on the connection, and *address* is the address bound to the socket on "
428+ "the other end of the connection. When ``None`` is returned it means the "
429+ "connection didn't take place, in which case the server should just ignore "
430+ "this event and keep listening for further incoming connections."
430431msgstr ""
431432"Acepta una conexión. El socket debe estar enlazado a una dirección y "
432433"escuchar las conexiones. El valor devuelto puede ser ``None`` o un par "
@@ -439,15 +440,14 @@ msgstr ""
439440
440441#: ../Doc/library/asyncore.rst:258
441442msgid ""
442- "Close the socket. All future operations on the socket object will fail. "
443- "The remote end-point will receive no more data (after queued data is "
444- "flushed). sockets are automatically closed when they are garbage-"
445- "collected."
443+ "Close the socket. All future operations on the socket object will fail. The "
444+ "remote end-point will receive no more data (after queued data is flushed). "
445+ "sockets are automatically closed when they are garbage-collected."
446446msgstr ""
447- "Cierra el socket. Se producirá un error en todas las operaciones futuras "
448- "en el objeto de socket. El punto final remoto no recibirá más datos "
449- "(después de vaciar los datos en cola). Los sockets se cierran "
450- "automáticamente cuando se recogen como elementos no utilizados."
447+ "Cierra el socket. Se producirá un error en todas las operaciones futuras en "
448+ "el objeto de socket. El punto final remoto no recibirá más datos (después de "
449+ "vaciar los datos en cola). Los sockets se cierran automáticamente cuando se "
450+ "recogen como elementos no utilizados."
451451
452452#: ../Doc/library/asyncore.rst:266
453453msgid ""
@@ -463,15 +463,15 @@ msgstr ""
463463msgid ""
464464"A file_dispatcher takes a file descriptor or :term:`file object` along with "
465465"an optional map argument and wraps it for use with the :c:func:`poll` or :c:"
466- "func:`loop` functions. If provided a file object or anything with a :c:"
467- "func: `fileno` method, that method will be called and passed to the :class:"
466+ "func:`loop` functions. If provided a file object or anything with a :c:func: "
467+ "`fileno` method, that method will be called and passed to the :class:"
468468"`file_wrapper` constructor."
469469msgstr ""
470- "Un file_dispatcher toma un descriptor de archivo o :term:`file object` "
471- "junto con un argumento de mapa opcional y lo ajusta para su uso con las "
472- "funciones : c:func:`poll` o :c:func:`loop`. Si se proporciona un objeto de "
473- "archivo o cualquier cosa con un método :c:func:`fileno`, ese método se "
474- "llamará y se pasará al constructor :class:`file_wrapper`."
470+ "Un file_dispatcher toma un descriptor de archivo o :term:`file object` junto "
471+ "con un argumento de mapa opcional y lo ajusta para su uso con las funciones : "
472+ "c:func:`poll` o :c:func:`loop`. Si se proporciona un objeto de archivo o "
473+ "cualquier cosa con un método :c:func:`fileno`, ese método se llamará y se "
474+ "pasará al constructor :class:`file_wrapper`."
475475
476476#: ../Doc/library/asyncore.rst:278 ../Doc/library/asyncore.rst:287
477477msgid ":ref:`Availability <availability>`: Unix."
@@ -487,8 +487,8 @@ msgstr ""
487487"Un file_wrapper toma un descriptor de archivo entero y llama a :func:`os."
488488"dup` para duplicar el identificador de modo que el identificador original se "
489489"pueda cerrar independientemente del file_wrapper. Esta clase implementa "
490- "métodos suficientes para emular un socket para su uso por la :"
491- "class: `file_dispatcher` clase."
490+ "métodos suficientes para emular un socket para su uso por la :class: "
491+ "`file_dispatcher` clase."
492492
493493#: ../Doc/library/asyncore.rst:293
494494msgid "asyncore Example basic HTTP client"
0 commit comments