@@ -14,7 +14,8 @@ msgstr ""
14
14
"MIME-Version : 1.0\n "
15
15
"Content-Type : text/plain; charset=UTF-8\n "
16
16
"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 "
18
19
"Language : es\n "
19
20
"X-Generator : Poedit 2.3.1\n "
20
21
@@ -103,7 +104,8 @@ msgstr ""
103
104
"La idea básica detrás de ambos módulos es crear uno o más *canales* de red, "
104
105
"instancias de clase :class:`asyncore.dispatcher` y :class:`asynchat."
105
106
"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*."
107
109
108
110
#: ../Doc/library/asyncore.rst:54
109
111
msgid ""
@@ -119,25 +121,25 @@ msgstr ""
119
121
120
122
#: ../Doc/library/asyncore.rst:61
121
123
msgid ""
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 "
126
128
"parameter for the appropriate :func:`~select.select` or :func:`~select.poll` "
127
129
"call, measured in seconds; the default is 30 seconds. The *use_poll* "
128
130
"parameter, if true, indicates that :func:`~select.poll` should be used in "
129
131
"preference to :func:`~select.select` (the default is ``False``)."
130
132
msgstr ""
131
133
"Ingrese un bucle de sondeo que termine después de que se hayan cerrado los "
132
134
"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``)."
141
143
142
144
#: ../Doc/library/asyncore.rst:70
143
145
msgid ""
@@ -157,8 +159,8 @@ msgstr ""
157
159
msgid ""
158
160
"The :class:`dispatcher` class is a thin wrapper around a low-level socket "
159
161
"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."
162
164
msgstr ""
163
165
"La clase :class:`dispatcher` es un contenedor fino alrededor de un objeto de "
164
166
"socket de bajo nivel. Para hacerlo más útil, tiene algunos métodos para el "
@@ -178,9 +180,9 @@ msgstr ""
178
180
"La activación de eventos de bajo nivel en determinados momentos o en "
179
181
"determinados estados de conexión indica al bucle asincrónico que se han "
180
182
"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 "
184
186
"eventos de nivel superior implícitos son:"
185
187
186
188
#: ../Doc/library/asyncore.rst:93
@@ -222,19 +224,19 @@ msgid ""
222
224
"should be added to the list of channels :c:func:`select`\\ ed or :c:func:"
223
225
"`poll`\\ ed for read and write events."
224
226
msgstr ""
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."
229
231
230
232
#: ../Doc/library/asyncore.rst:110
231
233
msgid ""
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:"
234
236
msgstr ""
235
237
"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:"
238
240
239
241
#: ../Doc/library/asyncore.rst:116
240
242
msgid ""
@@ -250,18 +252,18 @@ msgid ""
250
252
"written. Often this method will implement the necessary buffering for "
251
253
"performance. For example::"
252
254
msgstr ""
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:"
256
258
257
259
#: ../Doc/library/asyncore.rst:133
258
260
msgid ""
259
261
"Called when there is out of band (OOB) data for a socket connection. This "
260
262
"will almost never happen, as OOB is tenuously supported and rarely used."
261
263
msgstr ""
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."
265
267
266
268
#: ../Doc/library/asyncore.rst:139
267
269
msgid ""
@@ -301,16 +303,16 @@ msgstr ""
301
303
msgid ""
302
304
"Called on listening channels (passive openers) when a connection has been "
303
305
"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."
307
309
msgstr ""
308
310
"Se llama en los canales de escucha (abridores pasivos) cuando se ha "
309
311
"establecido una conexión con un nuevo punto de conexión remoto que ha "
310
312
"emitido una llamada :meth:`connect` para el punto de conexión local. *sock* "
311
313
"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."
314
316
315
317
#: ../Doc/library/asyncore.rst:178
316
318
msgid ""
@@ -348,8 +350,8 @@ msgstr ""
348
350
349
351
#: ../Doc/library/asyncore.rst:198
350
352
msgid ""
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 "
353
355
"information on creating sockets."
354
356
msgstr ""
355
357
"Esto es idéntico a la creación de un socket normal y usará las mismas "
@@ -395,38 +397,37 @@ msgstr ""
395
397
396
398
#: ../Doc/library/asyncore.rst:230
397
399
msgid ""
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)."
401
403
msgstr ""
402
404
"Escucha las conexiones realizadas al socket. El argumento *backlog* "
403
405
"especifica el número máximo de conexiones en cola y debe ser al menos 1; el "
404
406
"valor máximo depende del sistema (normalmente 5)."
405
407
406
408
#: ../Doc/library/asyncore.rst:237
407
409
msgid ""
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:"
410
412
"`socket` documentation for more information.) To mark the socket as re-"
411
413
"usable (setting the :const:`SO_REUSEADDR` option), call the :class:"
412
414
"`dispatcher` object's :meth:`set_reuse_addr` method."
413
415
msgstr ""
414
416
"Enlaza el socket a *address*. El socket no debe estar enlazado ya. (El "
415
417
"formato de *address* depende de la familia de direcciones — consulte la "
416
418
"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`."
420
421
421
422
#: ../Doc/library/asyncore.rst:246
422
423
msgid ""
423
424
"Accept a connection. The socket must be bound to an address and listening "
424
425
"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."
430
431
msgstr ""
431
432
"Acepta una conexión. El socket debe estar enlazado a una dirección y "
432
433
"escuchar las conexiones. El valor devuelto puede ser ``None`` o un par "
@@ -439,15 +440,14 @@ msgstr ""
439
440
440
441
#: ../Doc/library/asyncore.rst:258
441
442
msgid ""
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."
446
446
msgstr ""
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."
451
451
452
452
#: ../Doc/library/asyncore.rst:266
453
453
msgid ""
@@ -463,15 +463,15 @@ msgstr ""
463
463
msgid ""
464
464
"A file_dispatcher takes a file descriptor or :term:`file object` along with "
465
465
"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:"
468
468
"`file_wrapper` constructor."
469
469
msgstr ""
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`."
475
475
476
476
#: ../Doc/library/asyncore.rst:278 ../Doc/library/asyncore.rst:287
477
477
msgid ":ref:`Availability <availability>`: Unix."
@@ -487,8 +487,8 @@ msgstr ""
487
487
"Un file_wrapper toma un descriptor de archivo entero y llama a :func:`os."
488
488
"dup` para duplicar el identificador de modo que el identificador original se "
489
489
"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."
492
492
493
493
#: ../Doc/library/asyncore.rst:293
494
494
msgid "asyncore Example basic HTTP client"
0 commit comments