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

Skip to content

Commit 33bb198

Browse files
committed
Complete translation
1 parent 7ebc5bb commit 33bb198

File tree

1 file changed

+102
-19
lines changed

1 file changed

+102
-19
lines changed

library/concurrent.futures.po

Lines changed: 102 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
14-
"PO-Revision-Date: 2020-06-20 21:39-0300\n"
14+
"PO-Revision-Date: 2020-06-21 16:40-0300\n"
1515
"Language-Team: python-doc-es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
@@ -49,10 +49,10 @@ msgid ""
4949
"`ProcessPoolExecutor`. Both implement the same interface, which is defined "
5050
"by the abstract :class:`Executor` class."
5151
msgstr ""
52-
"La ejecución asincrónica se puede realizar mediante hilos, usando :"
53-
"class:`ThreadPoolExecutor`, o procesos independientes, mediante :"
54-
"class:`ProcessPoolExecutor`. Ambos implementan la misma interfaz, que se "
55-
"encuentra definida por la clase abstracta :class:`Executor`."
52+
"La ejecución asincrónica se puede realizar mediante hilos, usando :class:"
53+
"`ThreadPoolExecutor`, o procesos independientes, mediante :class:"
54+
"`ProcessPoolExecutor`. Ambos implementan la misma interfaz, que se encuentra "
55+
"definida por la clase abstracta :class:`Executor`."
5656

5757
#: ../Doc/library/concurrent.futures.rst:24
5858
msgid "Executor Objects"
@@ -96,8 +96,8 @@ msgstr ""
9696

9797
#: ../Doc/library/concurrent.futures.rst:50
9898
msgid ""
99-
"The returned iterator raises a :exc:`concurrent.futures.TimeoutError` if "
100-
":meth:`~iterator.__next__` is called and the result isn't available after "
99+
"The returned iterator raises a :exc:`concurrent.futures.TimeoutError` if :"
100+
"meth:`~iterator.__next__` is called and the result isn't available after "
101101
"*timeout* seconds from the original call to :meth:`Executor.map`. *timeout* "
102102
"can be an int or a float. If *timeout* is not specified or ``None``, there "
103103
"is no limit to the wait time."
@@ -473,45 +473,67 @@ msgid ""
473473
"TimeoutError` will be raised. *timeout* can be an int or float. If "
474474
"*timeout* is not specified or ``None``, there is no limit to the wait time."
475475
msgstr ""
476+
"Retorna la excepción lanzada por la llamada. Si la llamada aún no ha "
477+
"finalizado, el método esperará un máximo de *timeout* segundos. Si la "
478+
"llamada aún no ha finalizado luego de *timeout* segundos, entonces :exc:"
479+
"`concurrent.futures.TimeoutError` será lanzada. *timeout* puede ser un int o "
480+
"un float. Si *timeout* es ``None`` o no es especificado, no hay limite en el "
481+
"tiempo de espera."
476482

477483
#: ../Doc/library/concurrent.futures.rst:354
478484
msgid "If the call completed without raising, ``None`` is returned."
479-
msgstr ""
485+
msgstr "Si la llamada es completada sin excepciones, se retornará ```None``."
480486

481487
#: ../Doc/library/concurrent.futures.rst:358
482488
msgid ""
483489
"Attaches the callable *fn* to the future. *fn* will be called, with the "
484490
"future as its only argument, when the future is cancelled or finishes "
485491
"running."
486492
msgstr ""
493+
"Asocia el invocable *fn* al futuro. *fn* va a ser llamada, con el futuro "
494+
"como su único argumento, cuando el futuro sea cancelado o finalice su "
495+
"ejecución."
487496

488497
#: ../Doc/library/concurrent.futures.rst:362
498+
#, fuzzy
489499
msgid ""
490500
"Added callables are called in the order that they were added and are always "
491501
"called in a thread belonging to the process that added them. If the "
492502
"callable raises an :exc:`Exception` subclass, it will be logged and "
493503
"ignored. If the callable raises a :exc:`BaseException` subclass, the "
494504
"behavior is undefined."
495505
msgstr ""
506+
"Los invocables agregados son llamados en el orden que fueron añadidos y son "
507+
"llamados en el hilo que pertenece al proceso que los añadió. Si el invocable "
508+
"lanza una subclase de :exc:`Exception`, esta será registrada e ignorada. Si "
509+
"el invocable lanza una subclase de :exc:`BaseException` el comportamiento no "
510+
"está definido."
496511

497512
#: ../Doc/library/concurrent.futures.rst:368
498513
msgid ""
499514
"If the future has already completed or been cancelled, *fn* will be called "
500515
"immediately."
501516
msgstr ""
517+
"Si el futuro ya ha finalizado su ejecución o fue cancelado, *fn* retornará "
518+
"inmediatamente."
502519

503520
#: ../Doc/library/concurrent.futures.rst:371
504521
msgid ""
505522
"The following :class:`Future` methods are meant for use in unit tests and :"
506523
"class:`Executor` implementations."
507524
msgstr ""
525+
"Los siguientes métodos de :class:`Future` están pensados para ser usados en "
526+
"pruebas unitarias e implementaciones de :class:`Executor`."
508527

509528
#: ../Doc/library/concurrent.futures.rst:376
510529
msgid ""
511530
"This method should only be called by :class:`Executor` implementations "
512531
"before executing the work associated with the :class:`Future` and by unit "
513532
"tests."
514533
msgstr ""
534+
"Este método sólo debe ser llamado en implementaciones de :class:`Executor` "
535+
"antes de ejecutar el trabajo asociado al :class:`Future` y por las pruebas "
536+
"unitarias."
515537

516538
#: ../Doc/library/concurrent.futures.rst:380
517539
msgid ""
@@ -520,48 +542,65 @@ msgid ""
520542
"waiting on the :class:`Future` completing (i.e. through :func:`as_completed` "
521543
"or :func:`wait`) will be woken up."
522544
msgstr ""
545+
"Si el método retorna ``False`` entonces :class:`Future` fue cancelado. i.e. :"
546+
"meth:`Future.cancel` fue llamado y retornó `True`. Todos los hilos esperando "
547+
"la finalización del :class:`Future` (i.e. a través de :func:`as_completed` "
548+
"o :func:`wait`) serán despertados."
523549

524550
#: ../Doc/library/concurrent.futures.rst:385
525551
msgid ""
526552
"If the method returns ``True`` then the :class:`Future` was not cancelled "
527553
"and has been put in the running state, i.e. calls to :meth:`Future.running` "
528554
"will return `True`."
529555
msgstr ""
556+
"Si el método retorna True, entonces el :class:`Future` no fue cancelado y ha "
557+
"sido colocado en estado de ejecución, i.e. las llamadas a :meth:`Future."
558+
"running` retornarán `True`."
530559

531560
#: ../Doc/library/concurrent.futures.rst:389
532561
msgid ""
533562
"This method can only be called once and cannot be called after :meth:`Future."
534563
"set_result` or :meth:`Future.set_exception` have been called."
535564
msgstr ""
565+
"Este método solo puede ser llamado una sola vez y no puede ser llamado luego "
566+
"de haber llamado a :meth:`Future.set_result` o a :meth:`Future."
567+
"set_exception`."
536568

537569
#: ../Doc/library/concurrent.futures.rst:395
538570
msgid ""
539571
"Sets the result of the work associated with the :class:`Future` to *result*."
540572
msgstr ""
573+
"Establece *result* como el resultado del trabajo asociado al :class:`Future`."
541574

542575
#: ../Doc/library/concurrent.futures.rst:398
543576
#: ../Doc/library/concurrent.futures.rst:411
544577
msgid ""
545578
"This method should only be used by :class:`Executor` implementations and "
546579
"unit tests."
547580
msgstr ""
581+
"Este método solo debe ser usado por implementaciones de :class:`Executor` y "
582+
"pruebas unitarias."
548583

549584
#: ../Doc/library/concurrent.futures.rst:401
550585
#: ../Doc/library/concurrent.futures.rst:414
551586
msgid ""
552587
"This method raises :exc:`concurrent.futures.InvalidStateError` if the :class:"
553588
"`Future` is already done."
554589
msgstr ""
590+
"Este método lanza :exc:`concurrent.futures.InvalidStateError` si el futuro ya "
591+
"ha finalizado su ejecución."
555592

556593
#: ../Doc/library/concurrent.futures.rst:408
557594
msgid ""
558595
"Sets the result of the work associated with the :class:`Future` to the :"
559596
"class:`Exception` *exception*."
560597
msgstr ""
598+
"Establece *exception*, subclase de :class:`Exception`, como el resultado del "
599+
"trabajo asociado al :class:`Future`."
561600

562601
#: ../Doc/library/concurrent.futures.rst:420
563602
msgid "Module Functions"
564-
msgstr ""
603+
msgstr "Funciones del Módulo"
565604

566605
#: ../Doc/library/concurrent.futures.rst:424
567606
msgid ""
@@ -572,56 +611,75 @@ msgid ""
572611
"named ``not_done``, contains the futures that did not complete (pending or "
573612
"running futures)."
574613
msgstr ""
614+
"Espera a la finalización de las instancias de :class:`Future` (posiblemente "
615+
"creadas por distintas instancias de ejecutores) dadas por *fs*. Retorna una "
616+
"tupla nombrada de 2 conjuntos. El primer conjunto, llamado ``done``, "
617+
"contiene los futuros que finalizaron su ejecución (producto de su "
618+
"finalización normal o su cancelación) antes del tiempo de espera "
619+
"especificado. El segundo conjunto, llamado ``not_done``, contiene los "
620+
"futuros que no finalizaron su ejecución (pueden estar pendientes o "
621+
"ejecutándose en ese momento)."
575622

576623
#: ../Doc/library/concurrent.futures.rst:431
577624
msgid ""
578625
"*timeout* can be used to control the maximum number of seconds to wait "
579626
"before returning. *timeout* can be an int or float. If *timeout* is not "
580627
"specified or ``None``, there is no limit to the wait time."
581628
msgstr ""
629+
"El argumento *timeout* puede ser usado para controlar la espera máxima en "
630+
"segundos antes de retornar. *timeout* puede ser un int o un float. Si "
631+
"*timeout* no es especificado o es ``None``, no hay limite en el tiempo de "
632+
"espera."
582633

583634
#: ../Doc/library/concurrent.futures.rst:435
584635
msgid ""
585636
"*return_when* indicates when this function should return. It must be one of "
586637
"the following constants:"
587638
msgstr ""
639+
"*return_when* indica cuando debe retornar esta función. Debe ser alguna de "
640+
"las siguientes constantes:"
588641

589642
#: ../Doc/library/concurrent.futures.rst:441
590643
msgid "Constant"
591-
msgstr ""
644+
msgstr "Constante"
592645

593646
#: ../Doc/library/concurrent.futures.rst:441
594647
msgid "Description"
595-
msgstr ""
648+
msgstr "Descripción"
596649

597650
#: ../Doc/library/concurrent.futures.rst:443
598651
msgid ":const:`FIRST_COMPLETED`"
599-
msgstr ""
652+
msgstr ":const:`FIRST_COMPLETED`"
600653

601654
#: ../Doc/library/concurrent.futures.rst:443
602655
msgid "The function will return when any future finishes or is cancelled."
603-
msgstr ""
656+
msgstr "La función retornará cuando cualquier futuro finalice o sea cancelado."
604657

605658
#: ../Doc/library/concurrent.futures.rst:446
606659
msgid ":const:`FIRST_EXCEPTION`"
607-
msgstr ""
660+
msgstr ":const:`FIRST_EXCEPTION`"
608661

609662
#: ../Doc/library/concurrent.futures.rst:446
610663
msgid ""
611664
"The function will return when any future finishes by raising an exception. "
612665
"If no future raises an exception then it is equivalent to :const:"
613666
"`ALL_COMPLETED`."
614667
msgstr ""
668+
"La función retornará cuando cualquier futuro finalice lanzando una "
669+
"excepción. Si ningún futuro lanza una excepción, esta opción es equivalente "
670+
"a :const:`ALL_COMPLETED`."
615671

616672
#: ../Doc/library/concurrent.futures.rst:452
617673
msgid ":const:`ALL_COMPLETED`"
618-
msgstr ""
674+
msgstr ":const:`ALL_COMPLETED`"
619675

620676
#: ../Doc/library/concurrent.futures.rst:452
621677
msgid "The function will return when all futures finish or are cancelled."
622678
msgstr ""
679+
"La función retornará cuando todos los futuros finalicen o sean cancelados."
623680

624681
#: ../Doc/library/concurrent.futures.rst:458
682+
#, fuzzy
625683
msgid ""
626684
"Returns an iterator over the :class:`Future` instances (possibly created by "
627685
"different :class:`Executor` instances) given by *fs* that yields futures as "
@@ -634,48 +692,69 @@ msgid ""
634692
"float. If *timeout* is not specified or ``None``, there is no limit to the "
635693
"wait time."
636694
msgstr ""
695+
"Retorna un iterador sobre las instancias de :class:`Future` (posiblemente "
696+
"creadas por distintas instancias de ejecutores) dadas por *fs* que produce "
697+
"futuros a medida que van finalizando (normalmente o cancelados). Cualquier "
698+
"futuro dado por *fs* que esté duplicado será retornado una sola vez. Los "
699+
"futuros que hayan finalizado antes de la llamada a :func:`as_completed` "
700+
"serán entregados primero. El iterador retornado lanzará :exc:`concurrent."
701+
"futures.TimeoutError` si :meth:`~iterator.__next__` es llamado y el resultado "
702+
"no está disponible luego de *timeout* segundos a partir de la llamada "
703+
"original a :func:`as_completed`. *timeout* puede ser un int o un float. Si "
704+
"*timeout* no es especificado o es ``None``, no hay limite en el tiempo de "
705+
"espera."
637706

638707
#: ../Doc/library/concurrent.futures.rst:472
639708
msgid ":pep:`3148` -- futures - execute computations asynchronously"
640-
msgstr ""
709+
msgstr ":pep:`3148` -- futuros - ejecutar cómputos asincrónicamente"
641710

642711
#: ../Doc/library/concurrent.futures.rst:472
643712
msgid ""
644713
"The proposal which described this feature for inclusion in the Python "
645714
"standard library."
646715
msgstr ""
716+
"La propuesta que describe esta propuesta de inclusión en la biblioteca "
717+
"estándar de Python."
647718

648719
#: ../Doc/library/concurrent.futures.rst:477
649720
msgid "Exception classes"
650-
msgstr ""
721+
msgstr "Clases de Excepciones"
651722

652723
#: ../Doc/library/concurrent.futures.rst:483
653724
msgid "Raised when a future is cancelled."
654-
msgstr ""
725+
msgstr "Lanzada cuando un futuro es cancelado."
655726

656727
#: ../Doc/library/concurrent.futures.rst:487
657728
msgid "Raised when a future operation exceeds the given timeout."
658-
msgstr ""
729+
msgstr "Lanzada cuando un futuro excede el tiempo de espera máximo."
659730

660731
#: ../Doc/library/concurrent.futures.rst:491
661732
msgid ""
662733
"Derived from :exc:`RuntimeError`, this exception class is raised when an "
663734
"executor is broken for some reason, and cannot be used to submit or execute "
664735
"new tasks."
665736
msgstr ""
737+
"Derivada de :exc:`RuntimeError`, esta excepción es lanzada cuando un "
738+
"ejecutor se encuentra corrupto por algún motivo y no puede ser utilizado "
739+
"para enviar o ejecutar nuevas tareas."
666740

667741
#: ../Doc/library/concurrent.futures.rst:499
668742
msgid ""
669743
"Raised when an operation is performed on a future that is not allowed in the "
670744
"current state."
671745
msgstr ""
746+
"Lanzada cuando una operación es realizada sobre un futuro que no permite "
747+
"dicha operación en el estado actual."
672748

673749
#: ../Doc/library/concurrent.futures.rst:508
674750
msgid ""
675751
"Derived from :exc:`~concurrent.futures.BrokenExecutor`, this exception class "
676752
"is raised when one of the workers of a :class:`ThreadPoolExecutor` has "
677753
"failed initializing."
678754
msgstr ""
755+
"Derivada de :exc:`~concurrent.futures.BrokenExecutor`, esta excepción es "
756+
"lanzada cuando uno de los trabajadores de :class:`ThreadPoolExecutor` ha "
757+
"fallado en su inicialización."
679758

680759
#: ../Doc/library/concurrent.futures.rst:518
681760
msgid ""
@@ -684,3 +763,7 @@ msgid ""
684763
"a :class:`ProcessPoolExecutor` has terminated in a non-clean fashion (for "
685764
"example, if it was killed from the outside)."
686765
msgstr ""
766+
"Derivada de :exc:`~concurrent.futures.BrokenExecutor` (previamente :exc:"
767+
"`RuntimeError`), esta excepción es lanzada cuando uno de los trabajadores "
768+
"de :class:`ProcessPoolExecutor` ha finalizado de forma abrupta (por ejemplo, "
769+
"al ser terminado desde afuera del proceso)"

0 commit comments

Comments
 (0)