From f981c4d5c09c955e1037af43fb8e36bb02d920c4 Mon Sep 17 00:00:00 2001 From: andipandiber Date: Sat, 10 Oct 2020 06:42:29 -0500 Subject: [PATCH 1/6] traducciones ciertos parrafos --- whatsnew/3.7.po | 285 +++++++++++++++++++++++++++++++----------------- 1 file changed, 186 insertions(+), 99 deletions(-) diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 1853365668..f702cccadf 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -6,31 +6,34 @@ # Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to # get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2020-10-10 01:00-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: \n" +"Language: es_EC\n" +"X-Generator: Poedit 2.4.1\n" +"X-Poedit-Bookmarks: 26,-1,-1,-1,-1,-1,-1,-1,-1,-1\n" #: ../Doc/whatsnew/3.7.rst:3 msgid "What's New In Python 3.7" -msgstr "" +msgstr "Que hay de nuevo en Python 3.7" #: ../Doc/whatsnew/3.7.rst msgid "Editor" -msgstr "" +msgstr "Editor" #: ../Doc/whatsnew/3.7.rst:5 msgid "Elvis Pranskevichus " -msgstr "" +msgstr "*Elvis Pranskevichus* " #: ../Doc/whatsnew/3.7.rst:47 msgid "" @@ -38,69 +41,83 @@ msgid "" "Python 3.7 was released on June 27, 2018. For full details, see the :ref:" "`changelog `." msgstr "" +"El artículo explica las nuevas características en Python 3.7, comparado con " +"3.6. Python 3.7 fue lanzado el 27, Junio, 2018. Para más detalles, consultar " +"la :ref:`changelog `." #: ../Doc/whatsnew/3.7.rst:53 msgid "Summary -- Release Highlights" -msgstr "" +msgstr "Resumen -- Lanzamientos Destacados" #: ../Doc/whatsnew/3.7.rst:58 msgid "New syntax features:" -msgstr "" +msgstr "Sintaxis de nuevas características:" #: ../Doc/whatsnew/3.7.rst:60 msgid "" ":ref:`PEP 563 `, postponed evaluation of type annotations." msgstr "" +":ref:`PEP 563 `, evaluación pospuesta de anotaciones de " +"tipo." #: ../Doc/whatsnew/3.7.rst:62 msgid "Backwards incompatible syntax changes:" -msgstr "" +msgstr "Cambios de sintaxis incompatibles hacia atrás:" #: ../Doc/whatsnew/3.7.rst:64 msgid ":keyword:`async` and :keyword:`await` are now reserved keywords." msgstr "" +":keyword:`async` y :keyword:`await` ahora son palabras clave reservadas." #: ../Doc/whatsnew/3.7.rst:66 msgid "New library modules:" -msgstr "" +msgstr "Nuevos módulos de biblioteca:" #: ../Doc/whatsnew/3.7.rst:68 msgid "" ":mod:`contextvars`: :ref:`PEP 567 -- Context Variables `" msgstr "" +":mod:`contextvars`: :ref:`PEP 567 -- Variables de Contexto `" #: ../Doc/whatsnew/3.7.rst:69 msgid ":mod:`dataclasses`: :ref:`PEP 557 -- Data Classes `" msgstr "" +":mod:`dataclasses`: :ref:`PEP 557 -- Clases de Datos `" #: ../Doc/whatsnew/3.7.rst:70 msgid ":ref:`whatsnew37_importlib_resources`" -msgstr "" +msgstr ":ref:`whatsnew37_importlib_resources`" #: ../Doc/whatsnew/3.7.rst:72 msgid "New built-in features:" -msgstr "" +msgstr "Nuevas funciones integradas:" #: ../Doc/whatsnew/3.7.rst:74 msgid "" ":ref:`PEP 553 `, the new :func:`breakpoint` function." msgstr "" +":ref:`PEP 553 `, la nueva función :func:`breakpoint`." #: ../Doc/whatsnew/3.7.rst:76 msgid "Python data model improvements:" -msgstr "" +msgstr "Mejoras en el modelo de datos de Python:" #: ../Doc/whatsnew/3.7.rst:78 msgid "" ":ref:`PEP 562 `, customization of access to module " "attributes." msgstr "" +":ref:`PEP 562 `, personalización del acceso a los " +"atributos del módulo." #: ../Doc/whatsnew/3.7.rst:81 msgid "" ":ref:`PEP 560 `, core support for typing module and " "generic types." msgstr "" +":ref:`PEP 560 `, soporte básico para módulo de " +"mecanografía y tipos genéricos." #: ../Doc/whatsnew/3.7.rst:84 msgid "" @@ -108,68 +125,83 @@ msgid "" "objects `has been declared`_ to be an official part of the Python language " "spec." msgstr "" +"la naturaleza de conservación del orden de inserción de objetos :ref:`dict " +"` `han sido declarado`_ para ser una parte oficial de la " +"especificación del lenguaje Python." #: ../Doc/whatsnew/3.7.rst:90 msgid "Significant improvements in the standard library:" -msgstr "" +msgstr "Mejoras significativas in la librería estándar:" #: ../Doc/whatsnew/3.7.rst:92 msgid "" "The :mod:`asyncio` module has received new features, significant :ref:" "`usability and performance improvements `." msgstr "" +"El modulo :mod:`asyncio` ha recibido nuevas funciones, significativas :ref:" +"`mejoras de usabilidad y rendimiento `." #: ../Doc/whatsnew/3.7.rst:95 msgid "" "The :mod:`time` module gained support for :ref:`functions with nanosecond " "resolution `." msgstr "" +"El modulo :mod:`time` adquirió soporte de :ref:`funciones con resolución de " +"nanosegundos `." #: ../Doc/whatsnew/3.7.rst:98 msgid "CPython implementation improvements:" -msgstr "" +msgstr "Mejoras en la implementación de *CPython*:" #: ../Doc/whatsnew/3.7.rst:100 msgid "Avoiding the use of ASCII as a default text encoding:" -msgstr "" +msgstr "Evitando el uso de *ASCII* como codificación de texto predeterminada:" #: ../Doc/whatsnew/3.7.rst:102 msgid ":ref:`PEP 538 `, legacy C locale coercion" msgstr "" +":ref:`PEP 538 `, coerción de configuración regional de C " +"heredada" #: ../Doc/whatsnew/3.7.rst:103 msgid ":ref:`PEP 540 `, forced UTF-8 runtime mode" msgstr "" +":ref:`PEP 540 `, modo de tiempo de ejecución *UTF-8* " +"forzado" #: ../Doc/whatsnew/3.7.rst:104 msgid ":ref:`PEP 552 `, deterministic .pycs" -msgstr "" +msgstr ":ref:`PEP 552 `, determinista *.pycs*" #: ../Doc/whatsnew/3.7.rst:105 msgid ":ref:`the new development runtime mode `" -msgstr "" +msgstr ":ref:`el nuevo modo de ejecución de desarrollo `" #: ../Doc/whatsnew/3.7.rst:106 msgid "" ":ref:`PEP 565 `, improved :exc:`DeprecationWarning` " "handling" msgstr "" +":ref:`PEP 565 `, manejo mejorado :exc:`DeprecationWarning`" #: ../Doc/whatsnew/3.7.rst:109 msgid "C API improvements:" -msgstr "" +msgstr "Mejoras en la API de C:" #: ../Doc/whatsnew/3.7.rst:111 msgid ":ref:`PEP 539 `, new C API for thread-local storage" msgstr "" +":ref:`PEP 539 `, nueva API de C para almacenamiento local " +"de subprocesos" #: ../Doc/whatsnew/3.7.rst:113 msgid "Documentation improvements:" -msgstr "" +msgstr "Mejoras de Documentación:" #: ../Doc/whatsnew/3.7.rst:115 msgid ":ref:`PEP 545 `, Python documentation translations" msgstr "" +":ref:`PEP 545 `, Traducción de documentación de Python" #: ../Doc/whatsnew/3.7.rst:116 msgid "" @@ -177,6 +209,9 @@ msgid "" "`French `_, and `Korean `_." msgstr "" +"Nuevas traducciones de documentación: `Japonés `_, `Francés `_, y `Coreano `_." #: ../Doc/whatsnew/3.7.rst:120 msgid "" @@ -192,11 +227,11 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:128 msgid "New Features" -msgstr "" +msgstr "Nuevas Características" #: ../Doc/whatsnew/3.7.rst:133 msgid "PEP 563: Postponed Evaluation of Annotations" -msgstr "" +msgstr "PEP 563: Evaluación pospuesta de anotaciones" #: ../Doc/whatsnew/3.7.rst:135 msgid "" @@ -247,11 +282,11 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:178 msgid ":pep:`563` -- Postponed evaluation of annotations" -msgstr "" +msgstr ":pep:`563` -- Evaluación aplazada de anotaciones" #: ../Doc/whatsnew/3.7.rst:179 msgid "PEP written and implemented by Łukasz Langa." -msgstr "" +msgstr "*PEP* escrito y implementado por *Łukasz Langa*." #: ../Doc/whatsnew/3.7.rst:185 msgid "PEP 538: Legacy C Locale Coercion" @@ -318,17 +353,20 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:226 msgid "PEP written and implemented by Nick Coghlan." -msgstr "" +msgstr "*PEP* escrito y implementado por *Nick Coghlan*." #: ../Doc/whatsnew/3.7.rst:232 msgid "PEP 540: Forced UTF-8 Runtime Mode" -msgstr "" +msgstr "*PEP* 540: Modo de tiempo de ejecución *UTF-8* forzado" #: ../Doc/whatsnew/3.7.rst:234 msgid "" "The new :option:`-X` ``utf8`` command line option and :envvar:`PYTHONUTF8` " "environment variable can be used to enable the CPython *UTF-8 mode*." msgstr "" +"La nueva opción de lineas de comando :option:`-X` ``utf8`` y la variable de " +"entorno :envvar:`PYTHONUTF8` se puede utilizar para habilitar el modo " +"*CPython* *modo UTF-8*." #: ../Doc/whatsnew/3.7.rst:237 msgid "" @@ -368,7 +406,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:260 ../Doc/whatsnew/3.7.rst:362 msgid "PEP written and implemented by Victor Stinner" -msgstr "" +msgstr "*PEP* escrito y implementado por *Victor Stinner*" #: ../Doc/whatsnew/3.7.rst:266 msgid "PEP 553: Built-in ``breakpoint()``" @@ -396,7 +434,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:282 msgid "PEP written and implemented by Barry Warsaw" -msgstr "" +msgstr "*PEP* escrito y implementado por *Barry Warsaw*" #: ../Doc/whatsnew/3.7.rst:288 msgid "PEP 539: New C API for Thread-Local Storage" @@ -435,14 +473,17 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:313 msgid ":pep:`539` -- A New C-API for Thread-Local Storage in CPython" msgstr "" +":pep:`539` -- Un nueva *API-C* para almacenamiento local de subprocesos en " +"*CPython*" #: ../Doc/whatsnew/3.7.rst:314 msgid "PEP written by Erik M. Bray; implementation by Masayuki Yamamoto." msgstr "" +"*PEP* escrito por *Erik M. Bray*; implementación por *Masayuki Yamamoto*." #: ../Doc/whatsnew/3.7.rst:320 msgid "PEP 562: Customization of Access to Module Attributes" -msgstr "" +msgstr "PEP 562: Personalización del acceso a los atributos del módulo" #: ../Doc/whatsnew/3.7.rst:322 msgid "" @@ -456,18 +497,20 @@ msgid "" "A typical example of where this may be useful is module attribute " "deprecation and lazy loading." msgstr "" +"Un ejemplo típico de dónde esto puede ser útil es la desaprobación de los " +"atributos del módulo y la carga diferida." #: ../Doc/whatsnew/3.7.rst:331 msgid ":pep:`562` -- Module ``__getattr__`` and ``__dir__``" -msgstr "" +msgstr ":pep:`562` -- Módulo ``__getattr__`` y ``__dir__``" #: ../Doc/whatsnew/3.7.rst:332 ../Doc/whatsnew/3.7.rst:421 msgid "PEP written and implemented by Ivan Levkivskyi" -msgstr "" +msgstr "*PEP* escrito y implementado por *Ivan Levkivskyi*" #: ../Doc/whatsnew/3.7.rst:338 msgid "PEP 564: New Time Functions With Nanosecond Resolution" -msgstr "" +msgstr "PEP 564: Nuevas funciones de tiempo con resolución de nanosegundos" #: ../Doc/whatsnew/3.7.rst:340 msgid "" @@ -480,31 +523,33 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:346 ../Doc/whatsnew/3.7.rst:1446 msgid ":func:`time.clock_gettime_ns`" -msgstr "" +msgstr ":func:`time.clock_gettime_ns`" #: ../Doc/whatsnew/3.7.rst:347 ../Doc/whatsnew/3.7.rst:1447 msgid ":func:`time.clock_settime_ns`" -msgstr "" +msgstr ":func:`time.clock_settime_ns`" #: ../Doc/whatsnew/3.7.rst:348 ../Doc/whatsnew/3.7.rst:1448 msgid ":func:`time.monotonic_ns`" -msgstr "" +msgstr ":func:`time.monotonic_ns`" #: ../Doc/whatsnew/3.7.rst:349 ../Doc/whatsnew/3.7.rst:1449 msgid ":func:`time.perf_counter_ns`" -msgstr "" +msgstr ":func:`time.perf_counter_ns`" #: ../Doc/whatsnew/3.7.rst:350 ../Doc/whatsnew/3.7.rst:1450 msgid ":func:`time.process_time_ns`" -msgstr "" +msgstr ":func:`time.process_time_ns`" #: ../Doc/whatsnew/3.7.rst:351 ../Doc/whatsnew/3.7.rst:1451 msgid ":func:`time.time_ns`" -msgstr "" +msgstr ":func:`time.time_ns`" #: ../Doc/whatsnew/3.7.rst:353 msgid "The new functions return the number of nanoseconds as an integer value." msgstr "" +"Las nuevas funciones devuelven el número de nanosegundos como un valor " +"entero." #: ../Doc/whatsnew/3.7.rst:355 msgid "" @@ -517,10 +562,11 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:361 msgid ":pep:`564` -- Add new time functions with nanosecond resolution" msgstr "" +":pep:`564` -- Agrega nuevas funciones de tiempo y resolución de nanosegundos" #: ../Doc/whatsnew/3.7.rst:368 msgid "PEP 565: Show DeprecationWarning in ``__main__``" -msgstr "" +msgstr "PEP 565: Mostrar *DeprecationWarning* en ``__main__``" #: ../Doc/whatsnew/3.7.rst:370 msgid "" @@ -575,11 +621,12 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:400 msgid "PEP written and implemented by Nick Coghlan" -msgstr "" +msgstr "*PEP* escrito y implementado por *Nick Coghlan*" #: ../Doc/whatsnew/3.7.rst:406 msgid "PEP 560: Core Support for ``typing`` module and Generic Types" msgstr "" +"*PEP* 560: Soporte básico para el módulo de ``typing`` y tipos genéricos" #: ../Doc/whatsnew/3.7.rst:408 msgid "" @@ -597,6 +644,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:420 msgid ":pep:`560` -- Core support for typing module and generic types" msgstr "" +":pep:`560` -- Soporte básico para el modulo de escritura y tipos genéricos" #: ../Doc/whatsnew/3.7.rst:427 msgid "PEP 552: Hash-based .pyc Files" @@ -636,7 +684,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:451 msgid "See :ref:`pyc-invalidation` for more information." -msgstr "" +msgstr "Consultar :ref:`pyc-invalidation` para mas información." #: ../Doc/whatsnew/3.7.rst:455 msgid ":pep:`552` -- Deterministic pycs" @@ -644,47 +692,51 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:456 msgid "PEP written and implemented by Benjamin Peterson" -msgstr "" +msgstr "*PEP* escrito y implementado por *Benjamin Peterson*" #: ../Doc/whatsnew/3.7.rst:462 msgid "PEP 545: Python Documentation Translations" -msgstr "" +msgstr "PEP 545: Traducciones de Documentaciones de *Python*" #: ../Doc/whatsnew/3.7.rst:464 msgid "" ":pep:`545` describes the process of creating and maintaining Python " "documentation translations." msgstr "" +":pep:`545` describe el proceso de creación y mantenimiento de traducciones " +"de documentación de Python." #: ../Doc/whatsnew/3.7.rst:467 msgid "Three new translations have been added:" -msgstr "" +msgstr "Tres nuevas traducciones han sido agregadas:" #: ../Doc/whatsnew/3.7.rst:469 msgid "Japanese: https://docs.python.org/ja/" -msgstr "" +msgstr "Japonés: https://docs.python.org/ja/" #: ../Doc/whatsnew/3.7.rst:470 msgid "French: https://docs.python.org/fr/" -msgstr "" +msgstr "Francés: https://docs.python.org/fr/" #: ../Doc/whatsnew/3.7.rst:471 msgid "Korean: https://docs.python.org/ko/" -msgstr "" +msgstr "Coreano: https://docs.python.org/ko/" #: ../Doc/whatsnew/3.7.rst:476 msgid ":pep:`545` -- Python Documentation Translations" -msgstr "" +msgstr ":pep:`545` -- Traducciones de Documentación de *Python*" #: ../Doc/whatsnew/3.7.rst:476 msgid "" "PEP written and implemented by Julien Palard, Inada Naoki, and Victor " "Stinner." msgstr "" +"*PEP* escrito y implementado por *Julien Palard*, *Inada Naoki* y*Victor " +"Stinner*." #: ../Doc/whatsnew/3.7.rst:483 msgid "Development Runtime Mode: -X dev" -msgstr "" +msgstr "Modo de tiempo de ejecución de desarrollo: -X *dev*" #: ../Doc/whatsnew/3.7.rst:485 msgid "" @@ -698,7 +750,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:494 msgid "Other Language Changes" -msgstr "" +msgstr "Otros cambios en el lenguaje" #: ../Doc/whatsnew/3.7.rst:496 msgid "" @@ -735,6 +787,9 @@ msgid "" "when ``from ... import ...`` fails. (Contributed by Matthias Bussonnier in :" "issue:`29546`.)" msgstr "" +":exc:`ImportError` ahora muestra el nombre del módulo y la ruta del módulo " +"``__file__`` cuando falla ``from … import …``. (Contribuido por *Matthias " +"Bussonnier* en :issue:`29546`.)" #: ../Doc/whatsnew/3.7.rst:517 msgid "" @@ -775,7 +830,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:544 msgid "New Modules" -msgstr "" +msgstr "Nuevos módulos" #: ../Doc/whatsnew/3.7.rst:549 msgid "contextvars" @@ -799,15 +854,15 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:564 msgid ":pep:`567` -- Context Variables" -msgstr "" +msgstr ":pep:`567` -- Variables de Contexto" #: ../Doc/whatsnew/3.7.rst:565 msgid "PEP written and implemented by Yury Selivanov" -msgstr "" +msgstr "*PEP* escrito y implementado por *Yury Selivanov*" #: ../Doc/whatsnew/3.7.rst:571 msgid "dataclasses" -msgstr "" +msgstr "*dataclasses*" #: ../Doc/whatsnew/3.7.rst:573 msgid "" @@ -820,19 +875,19 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:579 msgid "Example::" -msgstr "" +msgstr "Ejemplo:" #: ../Doc/whatsnew/3.7.rst:592 msgid ":pep:`557` -- Data Classes" -msgstr "" +msgstr ":pep:`557` -- Clases de Datos" #: ../Doc/whatsnew/3.7.rst:593 msgid "PEP written and implemented by Eric V. Smith" -msgstr "" +msgstr "*PEP* escrito y implementado por *Eric V. Smith*" #: ../Doc/whatsnew/3.7.rst:599 msgid "importlib.resources" -msgstr "" +msgstr "*importlib.resources*" #: ../Doc/whatsnew/3.7.rst:601 msgid "" @@ -857,7 +912,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:618 msgid "Improved Modules" -msgstr "" +msgstr "Módulos mejorados" #: ../Doc/whatsnew/3.7.rst:622 msgid "argparse" @@ -1008,6 +1063,9 @@ msgid "" "create_datagram_endpoint>` method gained support for Unix sockets. " "(Contributed by Quentin Dawans in :issue:`31245`.)" msgstr "" +"El método :meth:`loop.create_datagram_endpoint() \\ ` adquirió soporte para *sockets* *UNIX*." +"(Contribuido por *Quentin Dawans* en :issue:`31245`.)" #: ../Doc/whatsnew/3.7.rst:735 msgid "" @@ -1078,7 +1136,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:779 msgid "binascii" -msgstr "" +msgstr "*binascii*" #: ../Doc/whatsnew/3.7.rst:781 msgid "" @@ -1089,7 +1147,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:787 msgid "calendar" -msgstr "" +msgstr "*calendar*" #: ../Doc/whatsnew/3.7.rst:789 msgid "" @@ -1100,7 +1158,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:795 ../Doc/whatsnew/3.7.rst:1964 msgid "collections" -msgstr "" +msgstr "*collections*" #: ../Doc/whatsnew/3.7.rst:797 msgid "" @@ -1110,7 +1168,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:802 msgid "compileall" -msgstr "" +msgstr "*compileall*" #: ../Doc/whatsnew/3.7.rst:804 msgid "" @@ -1123,7 +1181,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:813 msgid "concurrent.futures" -msgstr "" +msgstr "*concurrent.futures*" #: ../Doc/whatsnew/3.7.rst:815 msgid "" @@ -1142,7 +1200,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:826 msgid "contextlib" -msgstr "" +msgstr "*contextlib*" #: ../Doc/whatsnew/3.7.rst:828 msgid "" @@ -1162,7 +1220,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:841 msgid "cProfile" -msgstr "" +msgstr "*cProfile*" #: ../Doc/whatsnew/3.7.rst:843 msgid "" @@ -1173,7 +1231,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:848 msgid "crypt" -msgstr "" +msgstr "*crypt*" #: ../Doc/whatsnew/3.7.rst:850 msgid "" @@ -1408,7 +1466,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1014 msgid "New in 3.7.1:" -msgstr "" +msgstr "Nuevo en 3.7.1:" #: ../Doc/whatsnew/3.7.rst:1016 msgid "" @@ -1426,7 +1484,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1025 msgid "NEW in 3.7.4:" -msgstr "" +msgstr "Nuevo en 3.7.4:" #: ../Doc/whatsnew/3.7.rst:1027 msgid "" @@ -1439,7 +1497,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1033 msgid "New in 3.7.5:" -msgstr "" +msgstr "Nuevo en 3.7.5:" #: ../Doc/whatsnew/3.7.rst:1035 msgid "" @@ -2157,7 +2215,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1539 msgid "urllib.parse" -msgstr "" +msgstr "*urllib.parse*" #: ../Doc/whatsnew/3.7.rst:1541 msgid "" @@ -2168,7 +2226,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1547 msgid "uu" -msgstr "" +msgstr "*uu*" #: ../Doc/whatsnew/3.7.rst:1549 msgid "" @@ -2276,7 +2334,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1611 msgid "xmlrpc.server" -msgstr "" +msgstr "*xmlrpc.server*" #: ../Doc/whatsnew/3.7.rst:1613 msgid "" @@ -2287,7 +2345,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1619 msgid "zipapp" -msgstr "" +msgstr "*zipapp*" #: ../Doc/whatsnew/3.7.rst:1621 msgid "" @@ -2306,13 +2364,16 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1632 msgid "zipfile" -msgstr "" +msgstr "*zipfile*" #: ../Doc/whatsnew/3.7.rst:1634 msgid "" ":class:`~zipfile.ZipFile` now accepts the new *compresslevel* parameter to " "control the compression level. (Contributed by Bo Bayles in :issue:`21417`.)" msgstr "" +":class:`~zipfile.ZipFile` ahora acepta el nuevo parámetro * compresslevel * " +"para controlar el nivel de compresión. (Contribuido por *Bo Bayles* en :" +"issue:`21417`.)" #: ../Doc/whatsnew/3.7.rst:1638 msgid "" @@ -2322,7 +2383,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1644 msgid "C API Changes" -msgstr "" +msgstr "Cambios en la *API* C" #: ../Doc/whatsnew/3.7.rst:1646 msgid "" @@ -2478,7 +2539,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1744 msgid "Build Changes" -msgstr "" +msgstr "Construir cambios" #: ../Doc/whatsnew/3.7.rst:1746 msgid "" @@ -2514,7 +2575,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1770 msgid "Optimizations" -msgstr "" +msgstr "Optimizaciones" #: ../Doc/whatsnew/3.7.rst:1772 msgid "" @@ -2545,6 +2606,8 @@ msgid "" "The :mod:`asyncio` module received a number of notable optimizations for " "commonly used functions:" msgstr "" +"El módulo :mod:`asyncio` recibió una serie de optimizaciones notables para " +"funciones de uso común:" #: ../Doc/whatsnew/3.7.rst:1792 msgid "" @@ -2707,10 +2770,13 @@ msgid "" "library implementation on most platforms. (Contributed by Serhiy Storchaka " "in :issue:`26121`.)" msgstr "" +"Las funciones :func:`math.erf` y :func:`math.erfc` ahora use la " +"implementación de la biblioteca C (más rápida) en la mayoría de las " +"plataformas. (Contribuido por *Serhiy Storchaka* en :issue:`26121`.)" #: ../Doc/whatsnew/3.7.rst:1889 msgid "Other CPython Implementation Changes" -msgstr "" +msgstr "Otros cambios de implementación de *CPython*" #: ../Doc/whatsnew/3.7.rst:1891 msgid "" @@ -2748,7 +2814,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1915 msgid "Deprecated Python Behavior" -msgstr "" +msgstr "Comportamiento obsoleto de Python" #: ../Doc/whatsnew/3.7.rst:1917 msgid "" @@ -2778,7 +2844,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1940 msgid "aifc" -msgstr "" +msgstr "*aifc*" #: ../Doc/whatsnew/3.7.rst:1942 msgid "" @@ -2832,7 +2898,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1995 msgid "gettext" -msgstr "" +msgstr "*gettext*" #: ../Doc/whatsnew/3.7.rst:1997 msgid "" @@ -2866,17 +2932,19 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2028 msgid "macpath" -msgstr "" +msgstr "*macpath*" #: ../Doc/whatsnew/3.7.rst:2030 msgid "" "The :mod:`macpath` is now deprecated and will be removed in Python 3.8. " "(Contributed by Chi Hsuan Yen in :issue:`9850`.)" msgstr "" +"El :mod:`macpath` esta ahora en desuso y se eliminará en Python 3.8. " +"(Contribuido por *Chi Hsuan Yen* en :issue:`9850`.)" #: ../Doc/whatsnew/3.7.rst:2035 msgid "threading" -msgstr "" +msgstr "*threading*" #: ../Doc/whatsnew/3.7.rst:2037 msgid "" @@ -2884,6 +2952,9 @@ msgid "" "no longer possible to build Python with threading disabled. Use :mod:" "`threading` instead. (Contributed by Antoine Pitrou in :issue:`31370`.)" msgstr "" +":mod:`dummy_threading` y :mod:`_dummy_thread` han quedado en desuso. ya no " +"es posible compilar Python con el subproceso desactivado. En lugar use :mod:" +"`threading`. (Contribuido por *Antoine Pitrou* en :issue:`31370`.)" #: ../Doc/whatsnew/3.7.rst:2046 msgid "" @@ -2901,7 +2972,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2061 msgid "sunau" -msgstr "" +msgstr "*sunau*" #: ../Doc/whatsnew/3.7.rst:2063 msgid "" @@ -2909,6 +2980,9 @@ msgid "" "Use :func:`sunau.open` instead. (Contributed by Brian Curtin in :issue:" "`31985`.)" msgstr "" +":func:`sunau.openfp` ha quedado obsoleto y se eliminará en Python 3.9. En " +"lugar use :func:`sunau.open`. (Contribuido por *Brian Curtin* en :issue:" +"`31985`.)" #: ../Doc/whatsnew/3.7.rst:2071 msgid "" @@ -2925,7 +2999,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2080 msgid "wave" -msgstr "" +msgstr "*wave*" #: ../Doc/whatsnew/3.7.rst:2082 msgid "" @@ -2957,11 +3031,12 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2103 msgid "Platform Support Removals" -msgstr "" +msgstr "Eliminación de soporte de plataforma" #: ../Doc/whatsnew/3.7.rst:2105 msgid "FreeBSD 9 and older are no longer officially supported." msgstr "" +"*FreeBSD* 9 y las versiones anteriores ya no son compatibles oficialmente." #: ../Doc/whatsnew/3.7.rst:2106 msgid "" @@ -3004,11 +3079,11 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2130 msgid "API and Feature Removals" -msgstr "" +msgstr "Eliminaciones de API y funciones" #: ../Doc/whatsnew/3.7.rst:2132 msgid "The following features and APIs have been removed from Python 3.7:" -msgstr "" +msgstr "Las siguientes funciones y API se han eliminado de *Python* 3.7:" #: ../Doc/whatsnew/3.7.rst:2134 msgid "" @@ -3069,6 +3144,10 @@ msgid "" "platforms since Python 3.5. ``asyncio.windows_utils.socketpair`` was just an " "alias to ``socket.socketpair`` on Python 3.5 and newer." msgstr "" +"La función ``asyncio.windows_utils.socketpair()`` ha sido removida. En su " +"lugar use la función :func:`socket.socketpair`, está disponible en todas las " +"plataformas desde Python 3.5. ``asyncio.windows_utils.socketpair`` era un " +"alias para ``socket.socketpair`` en Python 3.5 y mas nuevo." #: ../Doc/whatsnew/3.7.rst:2171 msgid "" @@ -3076,6 +3155,9 @@ msgid "" "modules as ``asyncio.selectors`` and ``asyncio._overlapped``. Replace ``from " "asyncio import selectors`` with ``import selectors``." msgstr "" +":mod:`asyncio` ya no exporta el :mod:`selectors` y módulos como :mod:" +"`_overlapped` ``asyncio.selectors`` y ``asyncio._overlapped``. replazar por " +"``from asyncio import selectors`` y ``import selectors``." #: ../Doc/whatsnew/3.7.rst:2176 msgid "" @@ -3106,7 +3188,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2196 ../Doc/whatsnew/3.7.rst:2472 msgid "Windows-only Changes" -msgstr "" +msgstr "Cambios solo en *Windows*" #: ../Doc/whatsnew/3.7.rst:2198 msgid "" @@ -3129,17 +3211,19 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2215 msgid "Porting to Python 3.7" -msgstr "" +msgstr "Portando a *Python* 3.7" #: ../Doc/whatsnew/3.7.rst:2217 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" +"Esta sección enumera los cambios descritos anteriormente y otras " +"correcciones de errores que pueden requerir cambios en su código." #: ../Doc/whatsnew/3.7.rst:2222 msgid "Changes in Python Behavior" -msgstr "" +msgstr "Cambios en el comportamiento de Python" #: ../Doc/whatsnew/3.7.rst:2224 msgid "" @@ -3191,7 +3275,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2261 msgid "Changes in the Python API" -msgstr "" +msgstr "Cambios en la API Python" #: ../Doc/whatsnew/3.7.rst:2263 msgid "" @@ -3275,6 +3359,9 @@ msgid "" "comma. Most exceptions are affected by this change. (Contributed by Serhiy " "Storchaka in :issue:`30399`.)" msgstr "" +"``repr`` para :exc:`BaseException` ha cambiado para no incluir la coma " +"final. La mayoría de las excepciones se ven afectadas por este cambio. " +"(Contribuido por *Serhiy Storchaka* en :issue:`30399`.)" #: ../Doc/whatsnew/3.7.rst:2319 msgid "" @@ -3460,7 +3547,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2449 msgid "Changes in the C API" -msgstr "" +msgstr "Cambios en la API de C" #: ../Doc/whatsnew/3.7.rst:2451 msgid "" @@ -3499,7 +3586,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2481 msgid "Other CPython implementation changes" -msgstr "" +msgstr "Otra implementación de cambios en *CPython*" #: ../Doc/whatsnew/3.7.rst:2483 msgid "" @@ -3558,7 +3645,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2522 msgid "Notable changes in Python 3.7.1" -msgstr "" +msgstr "Cambios notables en Python 3.7.1" #: ../Doc/whatsnew/3.7.rst:2524 msgid "" @@ -3587,7 +3674,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2541 msgid "Notable changes in Python 3.7.2" -msgstr "" +msgstr "Cambios notables en Python 3.7.2" #: ../Doc/whatsnew/3.7.rst:2543 msgid "" @@ -3601,7 +3688,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2551 msgid "Notable changes in Python 3.7.6" -msgstr "" +msgstr "Cambios notables en Python 3.7.6" #: ../Doc/whatsnew/3.7.rst:2553 msgid "" From fdbd2eec8926cff97f20cc4d20ece85bbf4d31c4 Mon Sep 17 00:00:00 2001 From: andipandiber Date: Sat, 10 Oct 2020 10:11:51 -0500 Subject: [PATCH 2/6] traducciones --- whatsnew/3.7.po | 505 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 446 insertions(+), 59 deletions(-) diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index f702cccadf..5e9e96075f 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-10 01:00-0500\n" +"PO-Revision-Date: 2020-10-10 10:11-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -151,11 +151,11 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:98 msgid "CPython implementation improvements:" -msgstr "Mejoras en la implementación de *CPython*:" +msgstr "Mejoras en la implementación de CPython:" #: ../Doc/whatsnew/3.7.rst:100 msgid "Avoiding the use of ASCII as a default text encoding:" -msgstr "Evitando el uso de *ASCII* como codificación de texto predeterminada:" +msgstr "Evitando el uso de ASCII como codificación de texto predeterminada:" #: ../Doc/whatsnew/3.7.rst:102 msgid ":ref:`PEP 538 `, legacy C locale coercion" @@ -166,8 +166,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:103 msgid ":ref:`PEP 540 `, forced UTF-8 runtime mode" msgstr "" -":ref:`PEP 540 `, modo de tiempo de ejecución *UTF-8* " -"forzado" +":ref:`PEP 540 `, modo de tiempo de ejecución UTF-8 forzado" #: ../Doc/whatsnew/3.7.rst:104 msgid ":ref:`PEP 552 `, deterministic .pycs" @@ -218,12 +217,17 @@ msgid "" "This release features notable performance improvements in many areas. The :" "ref:`whatsnew37-perf` section lists them in detail." msgstr "" +"Esta versión presenta notables mejoras de rendimiento en muchas áreas. La " +"sección :ref:`whatsnew37-perf` los enumera en detalle." #: ../Doc/whatsnew/3.7.rst:123 msgid "" "For a list of changes that may affect compatibility with previous Python " "releases please refer to the :ref:`porting-to-python-37` section." msgstr "" +"Para obtener una lista de cambios que pueden afectar la compatibilidad con " +"versiones anteriores de Python por favor consultar la sección :ref:`porting-" +"to-python-37`." #: ../Doc/whatsnew/3.7.rst:128 msgid "New Features" @@ -239,18 +243,26 @@ msgid "" "with the functionality of annotations added in :pep:`3107` and refined " "further in :pep:`526`:" msgstr "" +"La llegada de las sugerencias de tipo en Python descubrió dos problemas de " +"usabilidad evidentes con la funcionalidad de las anotaciones agregadas en :" +"pep:`3107` y mas refinado en :pep:`526`:" #: ../Doc/whatsnew/3.7.rst:139 msgid "" "annotations could only use names which were already available in the current " "scope, in other words they didn't support forward references of any kind; and" msgstr "" +"las anotaciones solo podían usar nombres que ya estaban disponibles en el " +"alcance actual, en otras palabras, no admitían referencias futuras de ningún " +"tipo; y" #: ../Doc/whatsnew/3.7.rst:143 msgid "" "annotating source code had adverse effects on startup time of Python " "programs." msgstr "" +"anotar el código fuente tuvo efectos adversos en el tiempo de inicio de los " +"programas Python." #: ../Doc/whatsnew/3.7.rst:146 msgid "" @@ -263,22 +275,36 @@ msgid "" "(since short strings are interned by the interpreter) and make startup time " "faster." msgstr "" +"Ambos problemas se solucionan posponiendo la evaluación de anotaciones. En " +"lugar de compilar código que ejecuta expresiones en anotaciones en su " +"momento de definición, el compilador almacena la anotación en forma de " +"cadena equivalente al AST de la expresión en cuestión. Si es necesario, las " +"anotaciones se pueden resolver en tiempo de ejecución usando :func:`typing." +"get_type_hints`. En el común de los casos esto no es necesario, las " +"anotaciones son más fáciles de almacenar (dado que las cadenas cortas son " +"internadas por el intérprete.) y hacen que el tiempo de inicio sea mas " +"rápido." #: ../Doc/whatsnew/3.7.rst:155 msgid "" "Usability-wise, annotations now support forward references, making the " "following syntax valid::" msgstr "" +"En términos de usabilidad, las anotaciones ahora admiten referencias hacia " +"adelante, lo que hace que la siguiente sintaxis sea válida:" #: ../Doc/whatsnew/3.7.rst:169 msgid "" "Since this change breaks compatibility, the new behavior needs to be enabled " "on a per-module basis in Python 3.7 using a :mod:`__future__` import::" msgstr "" +"Dado que este cambio rompe la compatibilidad, el nuevo comportamiento debe " +"habilitarse por modulo en Python 3.7 usando una importación :mod:" +"`__future__`:" #: ../Doc/whatsnew/3.7.rst:174 msgid "It will become the default in Python 4.0." -msgstr "" +msgstr "Se convertirá en el predeterminado en Python 4.0." #: ../Doc/whatsnew/3.7.rst:178 msgid ":pep:`563` -- Postponed evaluation of annotations" @@ -286,11 +312,11 @@ msgstr ":pep:`563` -- Evaluación aplazada de anotaciones" #: ../Doc/whatsnew/3.7.rst:179 msgid "PEP written and implemented by Łukasz Langa." -msgstr "*PEP* escrito y implementado por *Łukasz Langa*." +msgstr "PEP escrito y implementado por *Łukasz Langa*." #: ../Doc/whatsnew/3.7.rst:185 msgid "PEP 538: Legacy C Locale Coercion" -msgstr "" +msgstr "PEP 538: Coerción de configuración regional de Legacy C" #: ../Doc/whatsnew/3.7.rst:187 msgid "" @@ -299,6 +325,11 @@ msgid "" "assumption currently implied by the use of the default C or POSIX locale on " "non-Windows platforms." msgstr "" +"Un desafío continuo dentro de la serie Python 3 ha sido determinar una " +"estrategia predeterminada sensata para manejar el supuesto de codificación " +"de texto “ASCII de 7 bits” implícito actualmente en el uso de la " +"configuración regional C o POSIX predeterminada en plataformas que no son " +"Windows." #: ../Doc/whatsnew/3.7.rst:192 msgid "" @@ -310,12 +341,23 @@ msgid "" "`readline`) will assume the use of UTF-8 as the default text encoding, " "rather than ASCII." msgstr "" +":pep:`538` actualiza la interfaz de línea de comandos del intérprete " +"predeterminada para convertir automáticamente esa configuración regional en " +"una configuración regional basada en UTF-8 disponible, como se describe en " +"la documentación de la nueva variable de entorno :envvar:" +"`PYTHONCOERCECLOCALE`. Configurar automáticamente ``LC_CTYPE``de esta manera " +"significa que tanto el intérprete central como las extensiones C que " +"reconocen la configuración regional (por ejemplo :mod:`readline`) asumirá el " +"uso de UTF-8 como codificación de texto predeterminada, en lugar de ASCII." #: ../Doc/whatsnew/3.7.rst:200 msgid "" "The platform support definition in :pep:`11` has also been updated to limit " "full text handling support to suitably configured non-ASCII based locales." msgstr "" +"La definición de soporte de plataforma en :pep:`11` también se ha " +"actualizado para limitar la compatibilidad con el manejo de texto completo a " +"configuraciones regionales no basadas en ASCII configuradas adecuadamente." #: ../Doc/whatsnew/3.7.rst:203 msgid "" @@ -350,14 +392,16 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:225 msgid ":pep:`538` -- Coercing the legacy C locale to a UTF-8 based locale" msgstr "" +":pep:`538` -- Coaccionar la configuración regional C heredada a una " +"configuración regional basada en UTF-8" #: ../Doc/whatsnew/3.7.rst:226 msgid "PEP written and implemented by Nick Coghlan." -msgstr "*PEP* escrito y implementado por *Nick Coghlan*." +msgstr "PEP escrito y implementado por *Nick Coghlan*." #: ../Doc/whatsnew/3.7.rst:232 msgid "PEP 540: Forced UTF-8 Runtime Mode" -msgstr "*PEP* 540: Modo de tiempo de ejecución *UTF-8* forzado" +msgstr "PEP 540: Modo de tiempo de ejecución UTF-8 forzado" #: ../Doc/whatsnew/3.7.rst:234 msgid "" @@ -374,6 +418,10 @@ msgid "" "encoding by default. The error handlers for :data:`sys.stdin` and :data:" "`sys.stdout` streams are set to ``surrogateescape``." msgstr "" +"Cuando está en modo UTF-8, CPython ignora la configuración regional y usa la " +"codificación UTF-8 de forma predeterminada. Los controladores de errores " +"para los flujos :data:`sys.stdin` y :data:`sys.stdout` se establecen en " +"``surrogateescape``." #: ../Doc/whatsnew/3.7.rst:241 msgid "" @@ -381,6 +429,9 @@ msgid "" "embedded Python interpreter without changing the locale settings of an " "embedding application." msgstr "" +"El modo UTF-8 forzado se puede usar para cambiar el comportamiento de manejo " +"de texto en un intérprete de Python integrado sin cambiar la configuración " +"regional de una aplicación de inserción." #: ../Doc/whatsnew/3.7.rst:245 msgid "" @@ -402,21 +453,23 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:259 msgid ":pep:`540` -- Add a new UTF-8 mode" -msgstr "" +msgstr ":pep:`540` -- Agrega un nuevo modo UTF-8" #: ../Doc/whatsnew/3.7.rst:260 ../Doc/whatsnew/3.7.rst:362 msgid "PEP written and implemented by Victor Stinner" -msgstr "*PEP* escrito y implementado por *Victor Stinner*" +msgstr "PEP escrito y implementado por *Victor Stinner*" #: ../Doc/whatsnew/3.7.rst:266 msgid "PEP 553: Built-in ``breakpoint()``" -msgstr "" +msgstr "PEP 553: Incorporada en ``breakpoint()``" #: ../Doc/whatsnew/3.7.rst:268 msgid "" "Python 3.7 includes the new built-in :func:`breakpoint` function as an easy " "and consistent way to enter the Python debugger." msgstr "" +"Python 3.7 incluye la nueva función incorporada :func:`breakpoint` como una " +"forma fácil y consistente de ingresar al depurador de Python." #: ../Doc/whatsnew/3.7.rst:271 msgid "" @@ -430,15 +483,15 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:281 msgid ":pep:`553` -- Built-in breakpoint()" -msgstr "" +msgstr ":pep:`553` -- Incorporada en *breakpoint()*" #: ../Doc/whatsnew/3.7.rst:282 msgid "PEP written and implemented by Barry Warsaw" -msgstr "*PEP* escrito y implementado por *Barry Warsaw*" +msgstr "PEP escrito y implementado por *Barry Warsaw*" #: ../Doc/whatsnew/3.7.rst:288 msgid "PEP 539: New C API for Thread-Local Storage" -msgstr "" +msgstr "PEP 539: Nueva API C para almacenamiento local de subprocesos" #: ../Doc/whatsnew/3.7.rst:290 msgid "" @@ -479,7 +532,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:314 msgid "PEP written by Erik M. Bray; implementation by Masayuki Yamamoto." msgstr "" -"*PEP* escrito por *Erik M. Bray*; implementación por *Masayuki Yamamoto*." +"PEP escrito por *Erik M. Bray*; implementación por *Masayuki Yamamoto*." #: ../Doc/whatsnew/3.7.rst:320 msgid "PEP 562: Customization of Access to Module Attributes" @@ -491,6 +544,9 @@ msgid "" "whenever a module attribute is otherwise not found. Defining :meth:" "`__dir__` on modules is now also allowed." msgstr "" +"Python 3.7 permite definir :meth:`__getattr__` en módulos y lo llamará " +"siempre que no se encuentre un atributo de módulo. Definir :meth:`__dir__` " +"en modules ahora también esta permitido." #: ../Doc/whatsnew/3.7.rst:326 msgid "" @@ -506,7 +562,7 @@ msgstr ":pep:`562` -- Módulo ``__getattr__`` y ``__dir__``" #: ../Doc/whatsnew/3.7.rst:332 ../Doc/whatsnew/3.7.rst:421 msgid "PEP written and implemented by Ivan Levkivskyi" -msgstr "*PEP* escrito y implementado por *Ivan Levkivskyi*" +msgstr "PEP escrito y implementado por *Ivan Levkivskyi*" #: ../Doc/whatsnew/3.7.rst:338 msgid "PEP 564: New Time Functions With Nanosecond Resolution" @@ -520,6 +576,11 @@ msgid "" "\"nanosecond\" variants of the existing timer functions to the :mod:`time` " "module:" msgstr "" +"La resolución de los relojes en los sistemas modernos puede exceder la " +"precisión limitada de un número de punto flotante devuelto por la función :" +"func:`time.time` y sus variantes. Para evitar la pérdida de precisión, :pep:" +"`564` agrega seis nuevas variantes de “nanosegundos” de las funciones de " +"temporizador existentes para el módulo :mod:`time`:" #: ../Doc/whatsnew/3.7.rst:346 ../Doc/whatsnew/3.7.rst:1446 msgid ":func:`time.clock_gettime_ns`" @@ -558,6 +619,9 @@ msgid "" "func:`time.time_ns` is approximately 3 times better than that of :func:`time." "time`." msgstr "" +"`Mediciones `_ se muestra en Linux y Windows la resolución de :func:" +"`time.time_ns` es aproximadamente 3 veces mejor que el de :func:`time.time`." #: ../Doc/whatsnew/3.7.rst:361 msgid ":pep:`564` -- Add new time functions with nanosecond resolution" @@ -578,12 +642,23 @@ msgid "" "APIs they use, but deprecation warnings triggered by imported application, " "library and framework modules will continue to be hidden by default." msgstr "" +"El manejo predeterminado de :exc:`DeprecationWarning` Se ha cambiado de modo " +"que estas advertencias se muestren una vez más de forma predeterminada, pero " +"solo cuando el código que las activa se ejecuta directamente en el módulo :" +"mod:`__main__`. Como resultado, los desarrolladores de scripts de un solo " +"archivo y aquellos que usan Python de forma interactiva deberían comenzar a " +"ver una vez más advertencias de desaprobación para las API que usan, pero " +"las advertencias de desaprobación activadas por la aplicación importada, la " +"biblioteca y los módulos de marco seguirán ocultos de forma predeterminada." #: ../Doc/whatsnew/3.7.rst:378 msgid "" "As a result of this change, the standard library now allows developers to " "choose between three different deprecation warning behaviours:" msgstr "" +"Como resultado de este cambio, la biblioteca estándar ahora permite a los " +"desarrolladores elegir entre tres comportamientos de advertencia de " +"obsolescencia diferentes:" #: ../Doc/whatsnew/3.7.rst:381 msgid "" @@ -591,6 +666,9 @@ msgid "" "intended to be seen by application end users (e.g. for deprecated " "application configuration settings)." msgstr "" +":exc:`FutureWarning`: siempre se muestra por defecto, recomendado para las " +"advertencias destinadas a los usuarios finales de la aplicación (por " +"ejemplo, para los ajustes de configuración de la aplicación obsoletos)." #: ../Doc/whatsnew/3.7.rst:384 msgid "" @@ -599,6 +677,10 @@ msgid "" "Python developers where a version upgrade may result in changed behaviour or " "an error." msgstr "" +":exc:`DeprecationWarning`: se muestra por defecto solo en :mod:`__main__` y " +"cuando se ejecutan pruebas, se recomienda para advertencias destinadas a ser " +"vistas por otros desarrolladores de Python donde una actualización de la " +"versión puede resultar en un cambio de comportamiento o un error." #: ../Doc/whatsnew/3.7.rst:388 msgid "" @@ -606,6 +688,10 @@ msgid "" "tests, intended for cases where a future version upgrade will change the " "warning category to :exc:`DeprecationWarning` or :exc:`FutureWarning`." msgstr "" +":exc:`PendingDeprecationWarning`: se muestra de forma predeterminada solo " +"cuando se ejecutan pruebas, diseñado para casos en los que una actualización " +"de versión futura cambiará la categoría de advertencia a :exc:" +"`DeprecationWarning` o :exc:`FutureWarning`." #: ../Doc/whatsnew/3.7.rst:392 msgid "" @@ -614,19 +700,23 @@ msgid "" "meant that developers primarily writing single file scripts or using Python " "interactively could be surprised by breaking changes in the APIs they used." msgstr "" +"Anteriormente ambos :exc:`DeprecationWarning` y :exc:" +"`PendingDeprecationWarning` solo eran visibles cuando se ejecutaban pruebas, " +"lo que significaba que los desarrolladores que escribían principalmente " +"scripts de un solo archivo o usaban Python de forma interactiva podrían " +"sorprenderse al ver cambios importantes en las API que usaban." #: ../Doc/whatsnew/3.7.rst:399 msgid ":pep:`565` -- Show DeprecationWarning in ``__main__``" -msgstr "" +msgstr ":pep:`565` -- Muestra *DeprecationWarning* en ``__main__``" #: ../Doc/whatsnew/3.7.rst:400 msgid "PEP written and implemented by Nick Coghlan" -msgstr "*PEP* escrito y implementado por *Nick Coghlan*" +msgstr "PEP escrito y implementado por *Nick Coghlan*" #: ../Doc/whatsnew/3.7.rst:406 msgid "PEP 560: Core Support for ``typing`` module and Generic Types" -msgstr "" -"*PEP* 560: Soporte básico para el módulo de ``typing`` y tipos genéricos" +msgstr "PEP 560: Soporte básico para el módulo de ``typing`` y tipos genéricos" #: ../Doc/whatsnew/3.7.rst:408 msgid "" @@ -640,6 +730,16 @@ msgid "" "without metaclass conflicts, and several long standing bugs in :mod:`typing` " "module are fixed." msgstr "" +"Inicialmente :pep:`484` fue diseñado de tal manera que no introduciría * " +"ningún * cambio en el intérprete principal de CPython. Ahora escriba " +"sugerencias y el módulo :mod:`typing`son ampliamente utilizados por la " +"comunidad, por lo que se elimina esta restricción. El PEP introduce dos " +"métodos especiales :meth:`__class_getitem__` y ``__mro_entries__``, estos " +"métodos ahora son utilizados por la mayoría de las clases y construcciones " +"especiales en :mod:`typing`. Como resultado, la velocidad de varias " +"operaciones con tipos aumentó hasta 7 veces, los tipos genéricos se pueden " +"usar sin conflictos de metaclase, y varios errores de larga data en el " +"módulo :mod:`typing` han sido arreglados." #: ../Doc/whatsnew/3.7.rst:420 msgid ":pep:`560` -- Core support for typing module and generic types" @@ -648,7 +748,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:427 msgid "PEP 552: Hash-based .pyc Files" -msgstr "" +msgstr "PEP 552: Archivos .pyc basados en hash" #: ../Doc/whatsnew/3.7.rst:429 msgid "" @@ -688,15 +788,15 @@ msgstr "Consultar :ref:`pyc-invalidation` para mas información." #: ../Doc/whatsnew/3.7.rst:455 msgid ":pep:`552` -- Deterministic pycs" -msgstr "" +msgstr ":pep:`552` -- Pycs deterministas" #: ../Doc/whatsnew/3.7.rst:456 msgid "PEP written and implemented by Benjamin Peterson" -msgstr "*PEP* escrito y implementado por *Benjamin Peterson*" +msgstr "PEP escrito y implementado por *Benjamin Peterson*" #: ../Doc/whatsnew/3.7.rst:462 msgid "PEP 545: Python Documentation Translations" -msgstr "PEP 545: Traducciones de Documentaciones de *Python*" +msgstr "PEP 545: Traducciones de Documentaciones de Python" #: ../Doc/whatsnew/3.7.rst:464 msgid "" @@ -731,7 +831,7 @@ msgid "" "PEP written and implemented by Julien Palard, Inada Naoki, and Victor " "Stinner." msgstr "" -"*PEP* escrito y implementado por *Julien Palard*, *Inada Naoki* y*Victor " +"PEP escrito y implementado por *Julien Palard*, *Inada Naoki* y *Victor " "Stinner*." #: ../Doc/whatsnew/3.7.rst:483 @@ -747,6 +847,12 @@ msgid "" "`-X` ``dev`` documentation for the full description of the effects of this " "mode." msgstr "" +"La nueva linea de comandos módulo :option:`-X` ``dev`` o la nueva variable " +"de entorno :envvar:`PYTHONDEVMODE` se puede utilizar para habilitar el * " +"modo de desarrollo * de CPython. Cuando está en modo de desarrollo, CPython " +"realiza comprobaciones de tiempo de ejecución adicionales que son demasiado " +"caras para habilitarse de forma predeterminada. Ver :option:`-X` ``dev``en " +"la documentación para la descripción completa de los efectos de este modo." #: ../Doc/whatsnew/3.7.rst:494 msgid "Other Language Changes" @@ -759,6 +865,10 @@ msgid "" "literals ` due to a problem with the implementation. In Python " "3.7 this restriction was lifted." msgstr "" +"Una expresión :keyword:`await` y compresiones que contienen una cláusula :" +"keyword:`async for` eran ilegales en las expresiones en :ref:`formatted " +"string literals ` debido a un problema con la implementación. En " +"Python 3.7 se eliminó esta restricción." #: ../Doc/whatsnew/3.7.rst:501 msgid "" @@ -766,12 +876,18 @@ msgid "" "now have more than 255 parameters. (Contributed by Serhiy Storchaka in :" "issue:`12844` and :issue:`18896`.)" msgstr "" +"Ahora se pueden pasar más de 255 argumentos a una función y una función " +"ahora puede tener más de 255 parámetros. (Contribuido por *Serhiy Storchaka* " +"en :issue:`12844` y :issue:`18896`.)" #: ../Doc/whatsnew/3.7.rst:505 msgid "" ":meth:`bytes.fromhex` and :meth:`bytearray.fromhex` now ignore all ASCII " "whitespace, not only spaces. (Contributed by Robert Xiao in :issue:`28927`.)" msgstr "" +":meth:`bytes.fromhex` y :meth:`bytearray.fromhex` ahora ignore todos los " +"espacios en blanco ASCII, no solo los espacios. (Contribuido por *Robert " +"Xiao* en :issue:`28927`.)" #: ../Doc/whatsnew/3.7.rst:508 msgid "" @@ -780,6 +896,10 @@ msgid "" "string or bytes contain only the ASCII characters. (Contributed by INADA " "Naoki in :issue:`32677`.)" msgstr "" +":class:`str`, :class:`bytes`, y :class:`bytearray` adquirió soporte para el " +"método new :meth:`isascii() `, que se puede usar para probar si " +"una cadena o bytes contienen solo los caracteres ASCII. (Contribuido por " +"*INADA Naoki* en :issue:`32677`.)" #: ../Doc/whatsnew/3.7.rst:513 msgid "" @@ -796,6 +916,9 @@ msgid "" "Circular imports involving absolute imports with binding a submodule to a " "name are now supported. (Contributed by Serhiy Storchaka in :issue:`30024`.)" msgstr "" +"Ahora se admiten las importaciones circulares que involucran importaciones " +"absolutas con un submódulo vinculado a un nombre. (Contribuido por *Serhiy " +"Storchaka* en :issue:`30024`.)" #: ../Doc/whatsnew/3.7.rst:521 msgid "" @@ -803,6 +926,9 @@ msgid "" "``format(str(self), '')``. (Contributed by Serhiy Storchaka in :issue:" "`28974`.)" msgstr "" +"``object.__format__(x, ‘’)`` ahora es equivalente a ``str(x)`` antes que " +"``format(str(self), ‘’)``. (Contribuido por *Serhiy Storchaka* en :issue:" +"`28974`.)" #: ../Doc/whatsnew/3.7.rst:525 msgid "" @@ -827,6 +953,10 @@ msgid "" "timing of each module import. (Contributed by Victor Stinner in :issue:" "`31415`.)" msgstr "" +"La nueva opción :option:`-X` ``importtime`` o la variable de entorno :envvar:" +"`PYTHONPROFILEIMPORTTIME` se puede utilizar para mostrar la sincronización " +"de cada importación de módulo. (Contribuido por *Victor Stinner* en :issue:" +"`31415`.)" #: ../Doc/whatsnew/3.7.rst:544 msgid "New Modules" @@ -834,7 +964,7 @@ msgstr "Nuevos módulos" #: ../Doc/whatsnew/3.7.rst:549 msgid "contextvars" -msgstr "" +msgstr "*contextvars*" #: ../Doc/whatsnew/3.7.rst:551 msgid "" @@ -843,6 +973,11 @@ msgid "" "variables are conceptually similar to thread-local variables. Unlike TLS, " "context variables support asynchronous code correctly." msgstr "" +"El nuevo módulo :mod:`contextvars`y un conjunto de :ref:`nuevas APIs C " +"` introducir soporte para * variables de contexto *. Las " +"variables de contexto son conceptualmente similares a las variables locales " +"del proceso. A diferencia de TLS, las variables de contexto admiten el " +"código asincrónico correctamente." #: ../Doc/whatsnew/3.7.rst:557 msgid "" @@ -851,6 +986,11 @@ msgid "" "context is now stored in a context variable, which allows decimal operations " "to work with the correct context in asynchronous code." msgstr "" +"Los módulos :mod:`asyncio` y :mod:`decimal` se han actualizado para utilizar " +"y admitir variables de contexto listas para usar. En particular, el contexto " +"decimal activo ahora se almacena en una variable de contexto, lo que permite " +"que las operaciones decimales funcionen con el contexto correcto en código " +"asincrónico." #: ../Doc/whatsnew/3.7.rst:564 msgid ":pep:`567` -- Context Variables" @@ -858,7 +998,7 @@ msgstr ":pep:`567` -- Variables de Contexto" #: ../Doc/whatsnew/3.7.rst:565 msgid "PEP written and implemented by Yury Selivanov" -msgstr "*PEP* escrito y implementado por *Yury Selivanov*" +msgstr "PEP escrito y implementado por *Yury Selivanov*" #: ../Doc/whatsnew/3.7.rst:571 msgid "dataclasses" @@ -872,6 +1012,11 @@ msgid "" "`~object.__repr__`, :meth:`~object.__eq__`, and :meth:`~object.__hash__` are " "generated automatically." msgstr "" +"El nuevo decorador :func:`~dataclasses.dataclass` proporciona una forma de " +"declarar *data classes*. Una clase de datos describe sus atributos usando " +"anotaciones de variables de clase. Su constructor y otros métodos mágicos, " +"como :meth:`~object.__repr__`, :meth:`~object.__eq__`, y :meth:`~object." +"__hash__` se generan automáticamente." #: ../Doc/whatsnew/3.7.rst:579 msgid "Example::" @@ -883,7 +1028,7 @@ msgstr ":pep:`557` -- Clases de Datos" #: ../Doc/whatsnew/3.7.rst:593 msgid "PEP written and implemented by Eric V. Smith" -msgstr "*PEP* escrito y implementado por *Eric V. Smith*" +msgstr "PEP escrito y implementado por *Eric V. Smith*" #: ../Doc/whatsnew/3.7.rst:599 msgid "importlib.resources" @@ -899,16 +1044,26 @@ msgid "" "ResourceReader` instance to support this new API. Built-in file path " "loaders and zip file loaders both support this." msgstr "" +"El nuevo módulo :mod:`importlib.resources` proporciona varias API nuevas y " +"un ABC nuevo para acceder, abrir y leer * recursos * dentro de los paquetes. " +"Los recursos son más o menos similares a los archivos dentro de los " +"paquetes, pero no es necesario que sean archivos reales en el sistema de " +"archivos físico. Los cargadores de módulos proporcionar una función :meth:" +"`get_resource_reader()` que devuelve una instancia :class:`importlib.abc." +"ResourceReader` para admitir esta nueva API. Los cargadores de ruta de " +"archivo integrados y los cargadores de archivos zip admiten esto." #: ../Doc/whatsnew/3.7.rst:609 msgid "Contributed by Barry Warsaw and Brett Cannon in :issue:`32248`." -msgstr "" +msgstr "Contribuido por *Barry Warsaw* y *Brett Cannon* en :issue:`32248`." #: ../Doc/whatsnew/3.7.rst:613 msgid "" "`importlib_resources `_ -- a PyPI backport for earlier Python versions." msgstr "" +"`importlib_resources `_ -- un *backport* de PyPI para versiones anteriores de Python." #: ../Doc/whatsnew/3.7.rst:618 msgid "Improved Modules" @@ -916,7 +1071,7 @@ msgstr "Módulos mejorados" #: ../Doc/whatsnew/3.7.rst:622 msgid "argparse" -msgstr "" +msgstr "*argparse*" #: ../Doc/whatsnew/3.7.rst:624 msgid "" @@ -924,10 +1079,13 @@ msgid "" "ArgumentParser.parse_intermixed_args>` method allows intermixing options and " "positional arguments. (Contributed by paul.j3 in :issue:`14191`.)" msgstr "" +"El nuevo método :meth:`ArgumentParser.parse_intermixed_args() ` permite permite entremezclar opciones " +"y argumentos posicionales. (Contribuido por *paul.j3* en :issue:`14191`.)" #: ../Doc/whatsnew/3.7.rst:633 ../Doc/whatsnew/3.7.rst:1950 msgid "asyncio" -msgstr "" +msgstr "*asyncio*" #: ../Doc/whatsnew/3.7.rst:635 msgid "" @@ -935,6 +1093,9 @@ msgid "" "`performance improvements `. Notable changes " "include:" msgstr "" +"El modulo :mod:`asyncio` ha recibido muchas funciones nuevas, usabilidad y :" +"ref:`mejoras de rendimiento `. Los cambios notables " +"incluyen:" #: ../Doc/whatsnew/3.7.rst:639 msgid "" @@ -943,6 +1104,10 @@ msgid "" "creating and destroying the event loop. (Contributed by Yury Selivanov in :" "issue:`32314`.)" msgstr "" +"La nueva función :term:`provisional ` :func:`asyncio.run` " +"se puede utilizar para ejecutar una corrutina desde código síncrono creando " +"y destruyendo automáticamente el bucle de eventos. (Contribuido por *Yury " +"Selivanov* en :issue:`32314`.)" #: ../Doc/whatsnew/3.7.rst:644 msgid "" @@ -955,6 +1120,14 @@ msgid "" "track their context automatically. See :pep:`567` for more details. " "(Contributed by Yury Selivanov in :issue:`32436`.)" msgstr "" +"asyncio adquirió soporte para :mod:`contextvars`. :meth:`loop.call_soon() " +"`, :meth:`loop.call_soon_threadsafe() `, :meth:`loop.call_later() `, :meth:`loop.call_at() `, y :meth:`Future." +"add_done_callback() ` tener un nuevo " +"parámetro opcional * de contexto * solo de palabras clave. :class:`Tasks " +"` ahora rastrea su contexto automáticamente. Ver :pep:`567` " +"para mas detalles. (Contribuido por *Yury Selivanov* en :issue:`32436`.)" #: ../Doc/whatsnew/3.7.rst:655 msgid "" @@ -962,6 +1135,9 @@ msgid "" "``asyncio.get_event_loop().create_task()``. (Contributed by Andrew Svetlov " "in :issue:`32311`.)" msgstr "" +"La nueva función :func:`asyncio.create_task`se ha agregado como un atajo a " +"``asyncio.get_event_loop().create_task()``. (Contribuido por *Andrew " +"Svetlov* en :issue:`32311`.)" #: ../Doc/whatsnew/3.7.rst:659 msgid "" @@ -969,6 +1145,9 @@ msgid "" "to upgrade an existing connection to TLS. (Contributed by Yury Selivanov in :" "issue:`23749`.)" msgstr "" +"El nuevo método :meth:`loop.start_tls() ` puede ser " +"usado para actualizar una conexión existente para TLS. (Contribuido por " +"*Yury Selivanov* en :issue:`23749`.)" #: ../Doc/whatsnew/3.7.rst:663 msgid "" @@ -977,6 +1156,10 @@ msgid "" "possible to reduce data copies. (Contributed by Antoine Pitrou in :issue:" "`31819`.)" msgstr "" +"El nuevo método :meth:`loop.sock_recv_into() ` " +"permite leer datos de un socket directamente en un búfer proporcionado, lo " +"que permite reducir las copias de datos. (Contribuido por *Antoine Pitrou* " +"en :issue:`31819`.)" #: ../Doc/whatsnew/3.7.rst:668 msgid "" @@ -987,6 +1170,13 @@ msgid "" "all_tasks() ` methods have been deprecated. " "(Contributed by Andrew Svetlov in :issue:`32250`.)" msgstr "" +"La nueva función :func:`asyncio.current_task` devuelve la instancia actual " +"en ejecución :class:`~asyncio.Task`, y la nueva función :func:`asyncio." +"all_tasks` devuelve un conjunto de todas las instancias de ``Task`` " +"existentes en un bucle determinado. Los métodos :meth:`Task.current_task() " +"` y :meth:`Task.all_tasks() ` han quedado obsoletos. (Contribuido por *Andrew Svetlov* en :" +"issue:`32250`.)" #: ../Doc/whatsnew/3.7.rst:675 msgid "" @@ -994,6 +1184,9 @@ msgid "" "implementing streaming protocols with manual control over the receive " "buffer. (Contributed by Yury Selivanov in :issue:`32251`.)" msgstr "" +"La nueva clase *provisional* :class:`~asyncio.BufferedProtocol` permite " +"implementar protocolos de transmisión con control manual sobre el búfer de " +"recepción. (Contribuido por *Yury Selivanov* en :issue:`32251`.)" #: ../Doc/whatsnew/3.7.rst:679 msgid "" @@ -1047,7 +1240,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:722 msgid "(Contributed by Yury Selivanov in :issue:`32662`.)" -msgstr "" +msgstr "(Contribuido por *Yury Selivanov* en :issue:`32662`.)" #: ../Doc/whatsnew/3.7.rst:724 msgid "" @@ -1056,6 +1249,10 @@ msgid "" "which returns an absolute scheduled callback timestamp. (Contributed by " "Andrew Svetlov in :issue:`32741`.)" msgstr "" +"Objetos de devolución de llamada devueltos por :func:`loop.call_later() " +"`conseguir el nuevo método :meth:`when() ` que devuelve una marca de tiempo de devolución de llamada " +"programada absoluta. (Contribuido por *Andrew Svetlov* en :issue:`32741`.)" #: ../Doc/whatsnew/3.7.rst:730 msgid "" @@ -1077,6 +1274,13 @@ msgid "" "variants now accept the *ssl_handshake_timeout* keyword argument. " "(Contributed by Neil Aspinall in :issue:`29970`.)" msgstr "" +"Los métodos :func:`asyncio.open_connection`, :func:`asyncio.start_server` " +"functions, :meth:`loop.create_connection() `, :meth:`loop.create_server() `, :meth:`loop.create_accepted_socket() `y sus correspondientes variantes de socket UNIX " +"ahora aceptan el argumento de palabra clave *ssl_handshake_timeout*. " +"(Contribuido por *Neil Aspinall* en :issue:`29970`.)" #: ../Doc/whatsnew/3.7.rst:743 msgid "" @@ -1084,12 +1288,18 @@ msgid "" "``True`` if the callback was cancelled. (Contributed by Marat Sharafutdinov " "in :issue:`31943`.)" msgstr "" +"El nuevo método :meth:`Handle.cancelled() ` " +"devuelve ``True`` si se canceló la devolución de llamada. (Contribuido por " +"*Marat Sharafutdinov* en :issue:`31943`.)" #: ../Doc/whatsnew/3.7.rst:747 msgid "" "The asyncio source has been converted to use the :keyword:`async`/:keyword:" "`await` syntax. (Contributed by Andrew Svetlov in :issue:`32193`.)" msgstr "" +"La fuente asyncio se ha convertido para utilizar la sintaxis :keyword:" +"`async`/:keyword:`await`. (Contribuido por *Andrew Svetlov* en :issue:" +"`32193`.)" #: ../Doc/whatsnew/3.7.rst:751 msgid "" @@ -1120,6 +1330,8 @@ msgid "" "Exceptions occurring in cancelled tasks are no longer logged. (Contributed " "by Yury Selivanov in :issue:`30508`.)" msgstr "" +"Las excepciones que ocurren en tareas canceladas ya no se registran. " +"(Contribuido por *Yury Selivanov* en :issue:`30508`.)" #: ../Doc/whatsnew/3.7.rst:770 msgid "" @@ -1127,12 +1339,17 @@ msgid "" "``WindowsProactorEventLoopPolicy`` classes. (Contributed by Yury Selivanov " "in :issue:`33792`.)" msgstr "" +"Nuevas clases ``WindowsSelectorEventLoopPolicy`` y " +"``WindowsProactorEventLoopPolicy``. (Contribuido por *Yury Selivanov* en :" +"issue:`33792`.)" #: ../Doc/whatsnew/3.7.rst:774 msgid "" "Several ``asyncio`` APIs have been :ref:`deprecated `." msgstr "" +"Varias APIs ``asyncio`` se han :ref:`obsoleta `." #: ../Doc/whatsnew/3.7.rst:779 msgid "binascii" @@ -1144,6 +1361,10 @@ msgid "" "keyword argument. When it's true, zeros are represented by ``'`'`` instead " "of spaces. (Contributed by Xiang Zhang in :issue:`30103`.)" msgstr "" +"La función :func:`~binascii.b2a_uu` ahora acepta un argumento de palabra " +"clave opcional *backtick*. Cuando es cierto, los ceros están representados " +"por ``’`’`` en lugar de espacios. (Contribuido por *Xiang Zhang* en :issue:" +"`30103`.)" #: ../Doc/whatsnew/3.7.rst:787 msgid "calendar" @@ -1155,6 +1376,9 @@ msgid "" "ease the customization of CSS classes in the produced HTML calendar. " "(Contributed by Oz Tiram in :issue:`30095`.)" msgstr "" +"La clase :class:`~calendar.HTMLCalendar`tiene nuevos atributos de clase que " +"facilitan la personalización de clases CSS en el calendario HTML producido. " +"(Contribuido por *Oz Tiram* en :issue:`30095`.)" #: ../Doc/whatsnew/3.7.rst:795 ../Doc/whatsnew/3.7.rst:1964 msgid "collections" @@ -1165,6 +1389,8 @@ msgid "" "``collections.namedtuple()`` now supports default values. (Contributed by " "Raymond Hettinger in :issue:`32320`.)" msgstr "" +"``collections.namedtuple()`` ahora soporta valores por defecto. (Contribuido " +"por *Raymond Hettinger* en :issue:`32320`.)" #: ../Doc/whatsnew/3.7.rst:802 msgid "compileall" @@ -1178,6 +1404,11 @@ msgid "" "command line using the new ``--invalidation-mode`` argument. (Contributed by " "Benjamin Peterson in :issue:`31650`.)" msgstr "" +":func:`compileall.compile_dir` aprendió el nuevo parámetro " +"*invalidation_mode*, que se puede utilizar para habilitar :ref:`invalidación " +"de .pyc basada en hash `. El modo de invalidación también " +"se puede especificar en la línea de comando usando el nuevo argumento ``—" +"invalidation-mode``. (Contribuido por *Benjamin Peterson* en :issue:`31650`.)" #: ../Doc/whatsnew/3.7.rst:813 msgid "concurrent.futures" @@ -1190,6 +1421,10 @@ msgid "" "support the new *initializer* and *initargs* constructor arguments. " "(Contributed by Antoine Pitrou in :issue:`21423`.)" msgstr "" +":class:`ProcessPoolExecutor ` y :" +"class:`ThreadPoolExecutor ` ahora " +"soporta los nuevos argumentos de constructor *initializer* y *initargs*. " +"(Contribuido por *Antoine Pitrou* en :issue:`21423`.)" #: ../Doc/whatsnew/3.7.rst:820 msgid "" @@ -1197,6 +1432,9 @@ msgid "" "can now take the multiprocessing context via the new *mp_context* argument. " "(Contributed by Thomas Moreau in :issue:`31540`.)" msgstr "" +"La :class:`ProcessPoolExecutor ` " +"puede ahora tomar el contexto de multiprocesamiento a travez del nuevo " +"argumento *mp_context*. (Contribuido por *Thomas Moreau* en :issue:`31540`.)" #: ../Doc/whatsnew/3.7.rst:826 msgid "contextlib" @@ -1208,6 +1446,9 @@ msgid "" "context manager than :class:`~contextlib.ExitStack`. (Contributed by Jesse-" "Bakker in :issue:`10049`.)" msgstr "" +"El nuevo :func:`~contextlib.nullcontext` es un administrador de contexto sin " +"operaciones simple y rapido que :class:`~contextlib.ExitStack`. (Contribuido " +"por *Jesse-Bakker* en :issue:`10049`.)" #: ../Doc/whatsnew/3.7.rst:832 msgid "" @@ -1217,6 +1458,11 @@ msgid "" "Jelle Zijlstra in :issue:`29679` and :issue:`30241`, and by Alexander Mohr " "and Ilya Kulakov in :issue:`29302`.)" msgstr "" +"Se han añadido los nuevos :func:`~contextlib.asynccontextmanager`, :class:" +"`~contextlib.AbstractAsyncContextManager`, y :class:`~contextlib." +"AsyncExitStack` para complementar sus partes sincronicas. (Contribuido por " +"*Jelle Zijlstra* en :issue:`29679` y :issue:`30241`, y por *Alexander Mohr* " +"y *Ilya Kulakov* en :issue:`29302`.)" #: ../Doc/whatsnew/3.7.rst:841 msgid "cProfile" @@ -1228,6 +1474,9 @@ msgid "" "alternative to script path. (Contributed by Sanyam Khurana in :issue:" "`21862`.)" msgstr "" +"La linea de comandos :mod:`cProfile` ahora acepta ``-m module_name`` como " +"alternativa a la ruta del *script*. (Contribuido por *Sanyam Khurana* en :" +"issue:`21862`.)" #: ../Doc/whatsnew/3.7.rst:848 msgid "crypt" @@ -1238,16 +1487,20 @@ msgid "" "The :mod:`crypt` module now supports the Blowfish hashing method. " "(Contributed by Serhiy Storchaka in :issue:`31664`.)" msgstr "" +"El módulo :mod:`crypt` ahora es compatible con el método de hash Blowfish. " +"(Contribuido por *Serhiy Storchaka* en :issue:`31664`.)" #: ../Doc/whatsnew/3.7.rst:853 msgid "" "The :func:`~crypt.mksalt` function now allows specifying the number of " "rounds for hashing. (Contributed by Serhiy Storchaka in :issue:`31702`.)" msgstr "" +"La función :func:`~crypt.mksalt` ahora permite especificar el número de " +"rondas para el hash. (Contribuido por *Serhiy Storchaka* en :issue:`31702`.)" #: ../Doc/whatsnew/3.7.rst:858 msgid "datetime" -msgstr "" +msgstr "*datetime*" #: ../Doc/whatsnew/3.7.rst:860 msgid "" @@ -1256,26 +1509,35 @@ msgid "" "of the formats output by :meth:`datetime.isoformat() `. (Contributed by Paul Ganssle in :issue:`15873`.)" msgstr "" +"Los nuevos objetos :meth:`datetime.fromisoformat() ` method constructs a :class:`~datetime.datetime` de una " +"cadena en uno de los formatos de salida de :meth:`datetime.isoformat() " +"`. (Contribuido por *Paul Ganssle* en :issue:" +"`15873`.)" #: ../Doc/whatsnew/3.7.rst:866 msgid "" "The :class:`tzinfo ` class now supports sub-minute offsets. " "(Contributed by Alexander Belopolsky in :issue:`5288`.)" msgstr "" +"La clase :class:`tzinfo ` ahora admite compensaciones de " +"subminutos. (Contribuido por *Alexander Belopolsky* en :issue:`5288`.)" #: ../Doc/whatsnew/3.7.rst:871 ../Doc/whatsnew/3.7.rst:1974 msgid "dbm" -msgstr "" +msgstr "*dbm*" #: ../Doc/whatsnew/3.7.rst:873 msgid "" ":mod:`dbm.dumb` now supports reading read-only files and no longer writes " "the index file when it is not changed." msgstr "" +":mod:`dbm.dumb` ahora admite la lectura de archivos de solo lectura y ya no " +"escribe el archivo de índice cuándo no se cambia." #: ../Doc/whatsnew/3.7.rst:878 msgid "decimal" -msgstr "" +msgstr "*decimal*" #: ../Doc/whatsnew/3.7.rst:880 msgid "" @@ -1283,10 +1545,13 @@ msgid "" "pep567>` to store the decimal context. (Contributed by Yury Selivanov in :" "issue:`32630`.)" msgstr "" +"El módulo :mod:`decimal` ahora usa :ref:`variables de contexto ` para almacenar el contexto decimal. (Contribuido por *Yury " +"Selivanov* en :issue:`32630`.)" #: ../Doc/whatsnew/3.7.rst:886 msgid "dis" -msgstr "" +msgstr "*dis*" #: ../Doc/whatsnew/3.7.rst:888 msgid "" @@ -1296,10 +1561,16 @@ msgid "" "disassembly recursion is controlled by the new *depth* parameter. " "(Contributed by Serhiy Storchaka in :issue:`11822`.)" msgstr "" +"La función :func:`~dis.dis` ahora puede desensamblar objetos de código " +"anidados (el código de comprensiones, expresiones generadoras y funciones " +"anidadas, y el código utilizado para construir clases anidadas). La " +"profundidad máxima de la recursividad de desmontaje se controla mediante el " +"nuevo parámetro * profundidad *. (Contribuido por *Serhiy Storchaka* en :" +"issue:`11822`.)" #: ../Doc/whatsnew/3.7.rst:897 msgid "distutils" -msgstr "" +msgstr "*distutils*" #: ../Doc/whatsnew/3.7.rst:899 msgid "" @@ -1307,10 +1578,13 @@ msgid "" "therefore included in source distributions. (Contributed by Ryan Gonzalez " "in :issue:`11913`.)" msgstr "" +"``README.rst`` ahora se incluye en la lista de READMEs estándar de distutils " +"y, por lo tanto, se incluye en las distribuciones de código fuente. " +"(Contribuido por *Ryan Gonzalez* en :issue:`11913`.)" #: ../Doc/whatsnew/3.7.rst:905 ../Doc/whatsnew/3.7.rst:1984 msgid "enum" -msgstr "" +msgstr "*enum*" #: ../Doc/whatsnew/3.7.rst:907 msgid "" @@ -1318,6 +1592,10 @@ msgid "" "which allows listing the names of properties which should not become enum " "members. (Contributed by Ethan Furman in :issue:`31801`.)" msgstr "" +"La :class:`Enum ` aprendió la nueva propiedad de clase " +"``_ignore_``, que permite enumerar los nombres de propiedades que no deben " +"convertirse en miembros de enumeración. (Contribuido por *Ethan Furman* en :" +"issue:`31801`.)" #: ../Doc/whatsnew/3.7.rst:912 msgid "" @@ -1481,6 +1759,8 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1023 msgid "The changes above have been backported to 3.6 maintenance releases." msgstr "" +"Los cambios anteriores se han actualizado a las versiones de mantenimiento " +"3.6." #: ../Doc/whatsnew/3.7.rst:1025 msgid "NEW in 3.7.4:" @@ -1510,7 +1790,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1043 ../Doc/whatsnew/3.7.rst:2003 msgid "importlib" -msgstr "" +msgstr "*importlib*" #: ../Doc/whatsnew/3.7.rst:1045 msgid "" @@ -1519,6 +1799,10 @@ msgid "" "`whatsnew37_importlib_resources`. (Contributed by Barry Warsaw, Brett Cannon " "in :issue:`32248`.)" msgstr "" +"El :class:`importlib.abc.ResourceReader` ABC se introdujo para admitir la " +"carga de recursos desde paquetes. Ver también :ref:" +"`whatsnew37_importlib_resources`. (Contribuido por *Barry Warsaw*, *Brett " +"Cannon* en :issue:`32248`.)" #: ../Doc/whatsnew/3.7.rst:1050 msgid "" @@ -2006,7 +2290,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1384 msgid "string" -msgstr "" +msgstr "*string*" #: ../Doc/whatsnew/3.7.rst:1386 msgid "" @@ -2014,10 +2298,14 @@ msgid "" "expression pattern for braced placeholders and non-braced placeholders " "separately. (Contributed by Barry Warsaw in :issue:`1198569`.)" msgstr "" +":class:`string.Template` ahora le permite modificar opcionalmente el patrón " +"de expresión regular para marcadores de posición reforzados y marcadores de " +"posición no reforzados por separado. (Contribuido por *Barry Warsaw* en :" +"issue:`1198569`.)" #: ../Doc/whatsnew/3.7.rst:1392 msgid "subprocess" -msgstr "" +msgstr "*subprocess*" #: ../Doc/whatsnew/3.7.rst:1394 msgid "" @@ -2026,6 +2314,10 @@ msgid "" "to passing :data:`subprocess.PIPE` as *stdout* and *stderr* arguments. " "(Contributed by Bo Bayles in :issue:`32102`.)" msgstr "" +"La función :func:`subprocess.run` acepta el nuevo argumento de palabra clave " +"*capture_output*. Cuando es verdadero, se capturarán *stdout* y *stderr*. " +"Esto es equivalente a pasar :data:`subprocess.PIPE` como argumentos *stdout* " +"y *stderr*. (Contribuido por *Bo Bayles* en :issue:`32102`.)" #: ../Doc/whatsnew/3.7.rst:1400 msgid "" @@ -2055,19 +2347,25 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1422 ../Doc/whatsnew/3.7.rst:2069 msgid "sys" -msgstr "" +msgstr "*sys*" #: ../Doc/whatsnew/3.7.rst:1424 msgid "" "The new :func:`sys.breakpointhook` hook function is called by the built-in :" "func:`breakpoint`. (Contributed by Barry Warsaw in :issue:`31353`.)" msgstr "" +"La nueva función de enganche :func:`sys.breakpointhook` es llamada por la " +"incorporada :func:`breakpoint`. (Contribuido por *Barry Warsaw* en :issue:" +"`31353`.)" #: ../Doc/whatsnew/3.7.rst:1428 msgid "" "On Android, the new :func:`sys.getandroidapilevel` returns the build-time " "Android API version. (Contributed by Victor Stinner in :issue:`28740`.)" msgstr "" +"En Android, la nueva :func:`sys.getandroidapilevel` devuelve la versión de " +"la API de Android en tiempo de compilación. (Contribuido por *Victor " +"Stinner* en :issue:`28740`.)" #: ../Doc/whatsnew/3.7.rst:1432 msgid "" @@ -2081,17 +2379,19 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1441 msgid "time" -msgstr "" +msgstr "*time*" #: ../Doc/whatsnew/3.7.rst:1443 msgid "" ":pep:`564` adds six new functions with nanosecond resolution to the :mod:" "`time` module:" msgstr "" +":pep:`564` añade seis nuevas funciones con resolución de nanosegundos al " +"modulo :mod:`time`:" #: ../Doc/whatsnew/3.7.rst:1453 msgid "New clock identifiers have been added:" -msgstr "" +msgstr "Se han agregado nuevos identificadores de reloj:" #: ../Doc/whatsnew/3.7.rst:1455 msgid "" @@ -2234,10 +2534,14 @@ msgid "" "argument. When it's true, zeros are represented by ``'`'`` instead of " "spaces. (Contributed by Xiang Zhang in :issue:`30103`.)" msgstr "" +"La nueva función :func:`uu.encode` ahora acepta un argumento opcional de " +"palabra clave *backtick*. Mientras esto se verdadero, los ceros son " +"representados por ``’`’`` en lugar de espacios. (Contribuido por *Xiang " +"Zhang* en :issue:`30103`.)" #: ../Doc/whatsnew/3.7.rst:1555 msgid "uuid" -msgstr "" +msgstr "*uuid*" #: ../Doc/whatsnew/3.7.rst:1557 msgid "" @@ -2246,6 +2550,10 @@ msgid "" "with a multiprocessing-safe method. (Contributed by Barry Warsaw in :issue:" "`22807`.)" msgstr "" +"El nuevo atributo :attr:`UUID.is_safe ` transmite " +"información de la plataforma sobre si los UUID generados se generan con un " +"método seguro para multiprocesamiento. (Contribuido por *Barry Warsaw* en :" +"issue:`22807`.)" #: ../Doc/whatsnew/3.7.rst:1562 msgid "" @@ -2258,12 +2566,14 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1571 msgid "warnings" -msgstr "" +msgstr "*warnings*" #: ../Doc/whatsnew/3.7.rst:1573 msgid "" "The initialization of the default warnings filters has changed as follows:" msgstr "" +"La inicialización de los filtros de advertencias predeterminados ha cambiado " +"de la siguiente manera:" #: ../Doc/whatsnew/3.7.rst:1575 msgid "" @@ -2277,10 +2587,12 @@ msgid "" "warnings filters enabled via the command line or the environment now have " "the following order of precedence:" msgstr "" +"los filtros de advertencias habilitados a través de la línea de comandos o " +"el entorno ahora tienen el siguiente orden de prioridad:" #: ../Doc/whatsnew/3.7.rst:1582 msgid "the ``BytesWarning`` filter for :option:`-b` (or ``-bb``)" -msgstr "" +msgstr "el filtro ``BytesWarning`` para :option:`-b` (o ``-bb``)" #: ../Doc/whatsnew/3.7.rst:1583 msgid "any filters specified with the :option:`-W` option" @@ -2342,6 +2654,9 @@ msgid "" "SimpleXMLRPCDispatcher>` can now be used as a decorator. (Contributed by " "Xiang Zhang in :issue:`7769`.)" msgstr "" +":meth:`SimpleXMLRPCDispatcher.register_function ` ahora puede ser usado como un decorador. " +"(Contribuido por *Xiang Zhang* en :issue:`7769`.)" #: ../Doc/whatsnew/3.7.rst:1619 msgid "zipapp" @@ -2353,6 +2668,9 @@ msgid "" "argument to allow the user to select which files should be included in the " "archive. (Contributed by Irmen de Jong in :issue:`31072`.)" msgstr "" +"Función :func:`~zipapp.create_archive` ahora acepta un argumento opcional " +"*filter* para permitir al usuario seleccionar que archivos deben incluirse " +"en el" #: ../Doc/whatsnew/3.7.rst:1625 msgid "" @@ -2380,10 +2698,13 @@ msgid "" "Subdirectories in archives created by ``ZipFile`` are now stored in " "alphabetical order. (Contributed by Bernhard M. Wiedemann in :issue:`30693`.)" msgstr "" +"Subdirectorios en archivos creados por ``ZipFile`` ahora son guardados en " +"orden alfabético. (Contribuido por *Bernhard M. Wiedemann* en :issue:" +"`30693`.)" #: ../Doc/whatsnew/3.7.rst:1644 msgid "C API Changes" -msgstr "Cambios en la *API* C" +msgstr "Cambios en la API C" #: ../Doc/whatsnew/3.7.rst:1646 msgid "" @@ -2398,6 +2719,8 @@ msgid "" "The new :ref:`context variables ` functionality exposes a " "number of :ref:`new C APIs `." msgstr "" +"La nueva funcionalidad :ref:`variables de contexto ` " +"expone un numero de :ref:`nuevas APIs C `." #: ../Doc/whatsnew/3.7.rst:1654 msgid "" @@ -2405,18 +2728,27 @@ msgid "" "imported module with the given name. (Contributed by Eric Snow in :issue:" "`28411`.)" msgstr "" +"La nueva función :c:func:`PyImport_GetModule` devuelve el módulo previamente " +"importado con el nombre dado. (Contribuido por *Eric Snow* en :issue:" +"`28411`.)" #: ../Doc/whatsnew/3.7.rst:1658 msgid "" "The new :c:macro:`Py_RETURN_RICHCOMPARE` macro eases writing rich comparison " "functions. (Contributed by Petr Victorin in :issue:`23699`.)" msgstr "" +"El nuevo macro :c:macro:`Py_RETURN_RICHCOMPARE` facilita la escritura de " +"funciones de comparación enriquecidas. (Contribuido por *Petr Victorin* en :" +"issue:`23699`.)" #: ../Doc/whatsnew/3.7.rst:1662 msgid "" "The new :c:macro:`Py_UNREACHABLE` macro can be used to mark unreachable code " "paths. (Contributed by Barry Warsaw in :issue:`31338`.)" msgstr "" +"El nuevo macro :c:macro:`Py_UNREACHABLE` se puede utilizar para marcar " +"rutas de código inalcanzables. (Contribuido por *Barry Warsaw* en :issue:" +"`31338`.)" #: ../Doc/whatsnew/3.7.rst:1666 msgid "" @@ -2460,6 +2792,9 @@ msgid "" "Added functions :c:func:`PySlice_Unpack` and :c:func:" "`PySlice_AdjustIndices`. (Contributed by Serhiy Storchaka in :issue:`27867`.)" msgstr "" +"Funciones agregadas :c:func:`PySlice_Unpack` y :c:func:" +"`PySlice_AdjustIndices`. (Contribuido por *Serhiy Storchaka* en :issue:" +"`27867`.)" #: ../Doc/whatsnew/3.7.rst:1693 msgid "" @@ -2776,7 +3111,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1889 msgid "Other CPython Implementation Changes" -msgstr "Otros cambios de implementación de *CPython*" +msgstr "Otros cambios de implementación de CPython" #: ../Doc/whatsnew/3.7.rst:1891 msgid "" @@ -2837,10 +3172,15 @@ msgid "" "``__complex__()`` consistent with :meth:`object.__int__` and :meth:`object." "__float__`. (Contributed by Serhiy Storchaka in :issue:`28894`.)" msgstr "" +"Devolviendo una subclase de :class:`complex` desde :meth:`object." +"__complex__` está obsoleto y será un error en futuras versiones de Python. " +"Esto hace que ``__complex__()`` se compatible con :meth:`object.__int__` y :" +"meth:`object.__float__`. (Contribuido por *Serhiy Storchaka* en :issue:" +"`28894`.)" #: ../Doc/whatsnew/3.7.rst:1937 msgid "Deprecated Python modules, functions and methods" -msgstr "" +msgstr "Módulos, funciones y métodos de Python obsoletos" #: ../Doc/whatsnew/3.7.rst:1940 msgid "aifc" @@ -2852,6 +3192,9 @@ msgid "" "Use :func:`aifc.open` instead. (Contributed by Brian Curtin in :issue:" "`31985`.)" msgstr "" +":func:`aifc.openfp` ha quedado obsoleto y se eliminará en Python 3.9. En su " +"lugar use :func:`aifc.open`. (Contribuido por *Brian Curtin* en :issue:" +"`31985`.)" #: ../Doc/whatsnew/3.7.rst:1952 msgid "" @@ -2906,6 +3249,9 @@ msgid "" "deprecated. It never correctly worked. (Contributed by Serhiy Storchaka in :" "issue:`28692`.)" msgstr "" +"Usando un valor no entero para seleccionar una forma plural en :mod:" +"`gettext` ahora está en desuso. Nunca funcionó correctamente. (Contribuido " +"por *Serhiy Storchaka* en :issue:`28692`.)" #: ../Doc/whatsnew/3.7.rst:2005 msgid "" @@ -2963,12 +3309,19 @@ msgid "" "passed argument is larger than 16 bits, an exception will be raised. " "(Contributed by Oren Milman in :issue:`28332`.)" msgstr "" +"El truncamiento del valor del argumento silencioso en :func:`socket.htons` " +"y :func:`socket.ntohs` ha quedado en desuso. En futuras versiones de Python, " +"si el argumento pasado es mayor de 16 bits, se generará una excepción. " +"(Contribuido por *Oren Milman* en :issue:`28332`.)" #: ../Doc/whatsnew/3.7.rst:2055 msgid "" ":func:`ssl.wrap_socket` is deprecated. Use :meth:`ssl.SSLContext." "wrap_socket` instead. (Contributed by Christian Heimes in :issue:`28124`.)" msgstr "" +":func:`ssl.wrap_socket` esta en desuso. En su lugar use :meth:`ssl." +"SSLContext.wrap_socket`. (Contribuido por *Christian Heimes* en :issue:" +"`28124`.)" #: ../Doc/whatsnew/3.7.rst:2061 msgid "sunau" @@ -2989,6 +3342,8 @@ msgid "" "Deprecated :func:`sys.set_coroutine_wrapper` and :func:`sys." "get_coroutine_wrapper`." msgstr "" +":func:`sys.set_coroutine_wrapper` y :func:`sys.get_coroutine_wrapper` en " +"desuso." #: ../Doc/whatsnew/3.7.rst:2074 msgid "" @@ -2996,6 +3351,9 @@ msgid "" "be removed in a future Python version. (Contributed by Victor Stinner in :" "issue:`28799`.)" msgstr "" +"La función indocumentada ``sys.callstats()`` ha quedado obsoleto y se " +"eliminará en una futura versión de Python. (Contribuido por *Victor Stinner* " +"en :issue:`28799`.)" #: ../Doc/whatsnew/3.7.rst:2080 msgid "wave" @@ -3007,10 +3365,13 @@ msgid "" "Use :func:`wave.open` instead. (Contributed by Brian Curtin in :issue:" "`31985`.)" msgstr "" +":func:`wave.openfp` ha quedado obsoleta y sera removida en Python 3.9. En su " +"lugar use :func:`wave.open`. (Contribuido por *Brian Curtin* en :issue:" +"`31985`.)" #: ../Doc/whatsnew/3.7.rst:2088 msgid "Deprecated functions and types of the C API" -msgstr "" +msgstr "Funciones y tipos obsoletos de la API C" #: ../Doc/whatsnew/3.7.rst:2090 msgid "" @@ -3083,7 +3444,7 @@ msgstr "Eliminaciones de API y funciones" #: ../Doc/whatsnew/3.7.rst:2132 msgid "The following features and APIs have been removed from Python 3.7:" -msgstr "Las siguientes funciones y API se han eliminado de *Python* 3.7:" +msgstr "Las siguientes funciones y API se han eliminado de Python 3.7:" #: ../Doc/whatsnew/3.7.rst:2134 msgid "" @@ -3176,7 +3537,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2187 msgid "Module Removals" -msgstr "" +msgstr "Eliminaciones de módulos" #: ../Doc/whatsnew/3.7.rst:2189 msgid "" @@ -3188,7 +3549,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2196 ../Doc/whatsnew/3.7.rst:2472 msgid "Windows-only Changes" -msgstr "Cambios solo en *Windows*" +msgstr "Cambios solo en Windows" #: ../Doc/whatsnew/3.7.rst:2198 msgid "" @@ -3211,7 +3572,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2215 msgid "Porting to Python 3.7" -msgstr "Portando a *Python* 3.7" +msgstr "Portando a Python 3.7" #: ../Doc/whatsnew/3.7.rst:2217 msgid "" @@ -3245,12 +3606,16 @@ msgid "" ":meth:`object.__aiter__` methods can no longer be declared as asynchronous. " "(Contributed by Yury Selivanov in :issue:`31709`.)" msgstr "" +"Los métodos :meth:`object.__aiter__` ya no se pueden declarar cómo " +"asincrónicos. (Contribuido por *Yury Selivanov* en :issue:`31709`.)" #: ../Doc/whatsnew/3.7.rst:2237 msgid "" "Due to an oversight, earlier Python versions erroneously accepted the " "following syntax::" msgstr "" +"Debido a un descuido, las versiones anteriores de Python aceptaron " +"erróneamente la siguiente sintaxis:" #: ../Doc/whatsnew/3.7.rst:2245 msgid "" @@ -3368,6 +3733,9 @@ msgid "" "``repr`` for :class:`datetime.timedelta` has changed to include the keyword " "arguments in the output. (Contributed by Utkarsh Upadhyay in :issue:`30302`.)" msgstr "" +"``repr`` para :class:`datetime.timedelta` ha cambiado para incluir los " +"argumentos de palabras clave en la salida. (Contribuido por *Utkarsh " +"Upadhyay* en :issue:`30302`.)" #: ../Doc/whatsnew/3.7.rst:2322 msgid "" @@ -3420,6 +3788,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2360 msgid "(Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)" msgstr "" +"(Contribuido por *Serhiy Storchaka* en :issue:`25054` y :issue:`32308`.)" #: ../Doc/whatsnew/3.7.rst:2362 msgid "" @@ -3479,6 +3848,9 @@ msgid "" "server sockets, instead of returning it directly. (Contributed by Yury " "Selivanov in :issue:`32662`.)" msgstr "" +":attr:`asyncio.Server.sockets` ahora devuelve una copia de la lista interna " +"de sockets del servidor, en lugar de devolverla directamente. (Contribuido " +"por *Yury Selivanov* en :issue:`32662`.)" #: ../Doc/whatsnew/3.7.rst:2405 msgid "" @@ -3486,6 +3858,9 @@ msgid "" "instead of a :class:`bytes` instance. (Contributed by Victor Stinner in :" "issue:`21071`.)" msgstr "" +":attr:`Struct.format ` es ahora una instancia :class:" +"`str` en lugar de una instancia :class:`bytes`. (Contribuido por *Victor " +"Stinner* en :issue:`21071`.)" #: ../Doc/whatsnew/3.7.rst:2409 msgid "" @@ -3563,19 +3938,24 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2462 msgid "CPython bytecode changes" -msgstr "" +msgstr "Cambios en el código de bytes de CPython" #: ../Doc/whatsnew/3.7.rst:2464 msgid "" "There are two new opcodes: :opcode:`LOAD_METHOD` and :opcode:`CALL_METHOD`. " "(Contributed by Yury Selivanov and INADA Naoki in :issue:`26110`.)" msgstr "" +"Hay dos nuevos códigos de operación: :opcode:`LOAD_METHOD` y :opcode:" +"`CALL_METHOD`. (Contribuido por *Yury Selivanov* y *INADA Naoki* en :issue:" +"`26110`.)" #: ../Doc/whatsnew/3.7.rst:2467 msgid "" "The :opcode:`STORE_ANNOTATION` opcode has been removed. (Contributed by Mark " "Shannon in :issue:`32550`.)" msgstr "" +"El código de operación :opcode:`STORE_ANNOTATION` ha sido removido. " +"(Contribuido por *Mark Shannon* en :issue:`32550`.)" #: ../Doc/whatsnew/3.7.rst:2474 msgid "" @@ -3586,7 +3966,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:2481 msgid "Other CPython implementation changes" -msgstr "Otra implementación de cambios en *CPython*" +msgstr "Otra implementación de cambios en CPython" #: ../Doc/whatsnew/3.7.rst:2483 msgid "" @@ -3642,6 +4022,10 @@ msgid "" "caused by having swap exception state when entering or exiting a generator. " "(Contributed by Mark Shannon in :issue:`25612`.)" msgstr "" +"El estado de excepción actual se ha movido del objeto de trama a la co-" +"rutina. Esto simplificó el intérprete y corrigió un par de errores oscuros " +"causados por tener un estado de excepción de intercambio al ingresar o salir " +"de un generador. (Contribuido por *Mark Shannon* en :issue:`25612`.)" #: ../Doc/whatsnew/3.7.rst:2522 msgid "Notable changes in Python 3.7.1" @@ -3663,6 +4047,9 @@ msgid "" "` to use :c:type:`PyObject` " "pointers. See also :issue:`34762`." msgstr "" +"En 3.7.1 la API C para las variables de Contexto :ref:`ha sido actualizada " +"` para usar punteros :c:type:" +"`PyObject`. Ver también :issue:`34762`." #: ../Doc/whatsnew/3.7.rst:2535 msgid "" From c3f7fe64d903050b43fac125043f98b66218affc Mon Sep 17 00:00:00 2001 From: andipandiber Date: Sun, 11 Oct 2020 21:08:28 -0500 Subject: [PATCH 3/6] Traduccion Completa --- whatsnew/3.7.po | 1121 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 1082 insertions(+), 39 deletions(-) diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 5e9e96075f..e483548ad4 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-10 10:11-0500\n" +"PO-Revision-Date: 2020-10-11 21:04-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -316,7 +316,7 @@ msgstr "PEP escrito y implementado por *Łukasz Langa*." #: ../Doc/whatsnew/3.7.rst:185 msgid "PEP 538: Legacy C Locale Coercion" -msgstr "PEP 538: Coerción de configuración regional de Legacy C" +msgstr "PEP 538: Coerción de configuración regional del Legado de C" #: ../Doc/whatsnew/3.7.rst:187 msgid "" @@ -367,6 +367,12 @@ msgid "" "UTF-8``, ``C.utf8``, and ``UTF-8``). The default error handler for :data:" "`~sys.stderr` continues to be ``backslashreplace``, regardless of locale." msgstr "" +"Como parte de este cambio, el controlador de errores predeterminado para :" +"data:`~sys.stdin` y :data:`~sys.stdout` es ahora ``surrogateescape`` (antes " +"que ``strict``) al usar cualquiera de las configuraciones regionales de " +"destino de coerción definidas (actualmente ``C.UTF-8``, ``C.utf8``, y " +"``UTF-8``). El controlador de errores predeterminado para :data:`~sys." +"stderr` continua siendo ``backslashreplace``, independientemente de local." #: ../Doc/whatsnew/3.7.rst:209 msgid "" @@ -377,6 +383,13 @@ msgid "" "runtime to emit a warning if the legacy C locale remains active when the " "core interpreter is initialized." msgstr "" +"La coerción local es silenciosa de forma predeterminada, pero para ayudar a " +"depurar problemas de integración potencialmente relacionados con la " +"configuración regional, advertencias explícitas (emitido directamente en :" +"data:`~sys.stderr`) se puede solicitar configurando " +"``PYTHONCOERCECLOCALE=warn``. Esta configuración también hará que el tiempo " +"de ejecución de Python emita una advertencia si la configuración regional C " +"heredada permanece activa cuando se inicializa el intérprete principal." #: ../Doc/whatsnew/3.7.rst:215 msgid "" @@ -388,6 +401,14 @@ msgid "" "target locale is available (as occurs on RHEL/CentOS 7, for example), Python " "3.7 also implements :ref:`whatsnew37-pep540`." msgstr "" +"Mientras la coerción local :pep:`538` tiene la ventaja de afectar también a " +"los módulos de extensión (como GNU ``readline``), así como procesos " +"secundarios (incluidos los que ejecutan aplicaciones que no son de Python y " +"versiones anteriores de Python), tiene la desventaja de requerir que esté " +"presente una ubicación de destino adecuada en el sistema en ejecución. Para " +"manejar mejor el caso en el que no hay una configuración regional de destino " +"adecuada disponible (como ocurre en RHEL / CentOS 7, por ejemplo), Python " +"3.7 también implementa :ref:`whatsnew37-pep540`." #: ../Doc/whatsnew/3.7.rst:225 msgid ":pep:`538` -- Coercing the legacy C locale to a UTF-8 based locale" @@ -442,6 +463,14 @@ msgid "" "of Python. To reduce the risk of corrupting text data when communicating " "with such components, Python 3.7 also implements :ref:`whatsnew37-pep540`)." msgstr "" +"Mientras el modo UTF-8 :pep:`540` tiene la ventaja de funcionar " +"independientemente de las configuraciones regionales disponibles en el " +"sistema en ejecución, tiene la desventaja de no tener ningún efecto en los " +"módulos de extensión (como GNU ``readline``), procesos secundarios que " +"ejecutan aplicaciones que no son de Python y procesos secundarios que " +"ejecutan versiones anteriores de Python. Para reducir el riesgo de dañar los " +"datos de texto al comunicarse con dichos componentes, Python 3.7 también " +"implementa :ref:`whatsnew37-pep540`." #: ../Doc/whatsnew/3.7.rst:252 msgid "" @@ -450,6 +479,11 @@ msgid "" "based alternative (whether that failure is due to ``PYTHONCOERCECLOCALE=0`` " "being set, ``LC_ALL`` being set, or the lack of a suitable target locale)." msgstr "" +"El modo UTF-8 está habilitado de forma predeterminada cuando la " +"configuración regional es ``C`` o ``POSIX``, y la función de coerción local :" +"pep:`538` no lo cambia a una alternativa basada en UTF-8 (si ese fallo se " +"debe a que se ha establecido ``PYTHONCOERCECLOCALE=0``, ``LC_ALL`` se esta " +"configurando, o la falta de un lugar de destino adecuado)." #: ../Doc/whatsnew/3.7.rst:259 msgid ":pep:`540` -- Add a new UTF-8 mode" @@ -480,6 +514,13 @@ msgid "" "`PYTHONBREAKPOINT` can be set to the callable of your debugger of choice. " "Set ``PYTHONBREAKPOINT=0`` to completely disable built-in ``breakpoint()``." msgstr "" +"Llamadas ``breakpoint()`` incorporadas en :func:`sys.breakpointhook`. Por " +"defecto, este último importa :mod:`pdb` y luego llama ``pdb.set_trace()``, " +"pero vinculando ``sys.breakpointhook()`` a la función de su elección, " +"``breakpoint()`` puede entrar en cualquier depurador. Adicionalmente, la " +"variable de entorno :envvar:`PYTHONBREAKPOINT` se puede configurar como el " +"depurador que elija. Configure ``PYTHONBREAKPOINT=0`` para deshabilitar " +"completamente el ``breakpoint()``." #: ../Doc/whatsnew/3.7.rst:281 msgid ":pep:`553` -- Built-in breakpoint()" @@ -501,6 +542,12 @@ msgid "" "not generally been a problem for officially-support platforms, but that is " "neither POSIX-compliant, nor portable in any practical sense." msgstr "" +"Mientras que Python proporciona una API C para soporte de almacenamiento " +"local de subprocesos; la existencia :ref:`Almacenamiento local de " +"subprocesos (TLS) API ` ha usado :c:type:`int` " +"para representar llaves TLS a través de todas las plataformas. En general, " +"esto no ha sido un problema para las plataformas de soporte oficial, pero no " +"es compatible con POSIX ni es portátil en ningún sentido práctico." #: ../Doc/whatsnew/3.7.rst:296 msgid "" @@ -513,6 +560,15 @@ msgid "" "build CPython on platforms where the native TLS key is defined in a way that " "cannot be safely cast to :c:type:`int`." msgstr "" +":pep:`539` cambio esto proporcionado un nuevo :ref:`Almacenamiento " +"especifico de subprocesos (TSS) API ` para " +"CPython que reemplaza el uso de la API de TLS existente dentro del " +"intérprete de CPython, mientras que desaprueba la API existente. La API de " +"TSS usa un nuevo tipo :c:type:`Py_tss_t` en lugar de :c:type:`int` para " +"representar llaves TSS — un tipo opaco cuya definición puede depender de la " +"implementación TLS subyacente. Por lo tanto, esto permitirá construir " +"CPython en plataformas dónde la clave TLS nativa está definida de una manera " +"que no se puede convertir de manera segura a :c:type:`int`." #: ../Doc/whatsnew/3.7.rst:305 msgid "" @@ -522,6 +578,12 @@ msgid "" "that the old API is not supported on platforms where it cannot be used " "reliably, and that no effort will be made to add such support." msgstr "" +"Tenga en cuenta que en las plataformas donde la clave TLS nativa se define " +"de una manera que no se puede convertir de forma segura a :c:type:`int`, " +"todas las funciones de la API TLS existente serán inactivas y devolverán el " +"error inmediatamente. Esto indica claramente que la API anterior no es " +"compatible con plataformas en las que no se puede usar de manera confiable y " +"que no se hará ningún esfuerzo para agregar dicha compatibilidad." #: ../Doc/whatsnew/3.7.rst:313 msgid ":pep:`539` -- A New C-API for Thread-Local Storage in CPython" @@ -761,6 +823,16 @@ msgid "" "in the cache file is problematic for `build reproducibility `_ and content-based build systems." msgstr "" +"Python ha verificado tradicionalmente la actualización de los archivos de " +"caché de código de bytes (es decir, archivos ``.pyc``) comparando los " +"metadatos de origen (marca de tiempo y tamaño de última modificación) con la " +"fuente de metadatos guardados en el encabezado del archivo de caché cuando " +"se generó. Si bien es efectivo, este método de invalidación tiene sus " +"inconvenientes. Cuando las marcas de tiempo del sistema de archivos son " +"demasiado burdas, Python puede perder las actualizaciones de origen, lo que " +"genera confusión en el usuario. Además, tener una marca de tiempo en el " +"archivo de caché es problemático para `construir reproducibilidad `_ y sistemas de construcción basados en contenido." #: ../Doc/whatsnew/3.7.rst:438 msgid "" @@ -771,6 +843,13 @@ msgid "" "Hash-based ``.pyc`` files may be generated with :mod:`py_compile` or :mod:" "`compileall`." msgstr "" +":pep:`552` extendiendo el formato ppc para permitir que el hash del archivo " +"de origen se utilice para invalidación en lugar de la marca de tiempo de " +"origen. Estos archivos ``.pyc`` se denominan “hash-based”. Por defecto, " +"Python todavía usa la invalidación basada en la marca de tiempo y no genera " +"archivos ``.pyc`` basados en has de tiempos de ejecución. Los archivos ``." +"pyc`` basados en hash se pueden generar con :mod:`py_compile` o :mod:" +"`compileall`." #: ../Doc/whatsnew/3.7.rst:444 msgid "" @@ -781,6 +860,13 @@ msgid "" "for environments where a system external to Python (e.g., the build system) " "is responsible for keeping ``.pyc`` files up-to-date." msgstr "" +"Archivos ``.pyc`` basados en hash Vienen en dos variantes: marcada y no " +"marcada. Python valida los archivos ``.pyc`` basados en hash comprobados con " +"los archivos de origen correspondientes en tiempo de ejecución, pero no lo " +"hace para pycs basados en hash no verificados. Archivos ``.pyc`` no " +"comprobados son una optimización de rendimiento útil para entornos donde un " +"sistema externo a Python (por ejemplo, el sistema de compilación) es " +"responsable de mantener actualizados los archivos ``.pyc``." #: ../Doc/whatsnew/3.7.rst:451 msgid "See :ref:`pyc-invalidation` for more information." @@ -788,7 +874,7 @@ msgstr "Consultar :ref:`pyc-invalidation` para mas información." #: ../Doc/whatsnew/3.7.rst:455 msgid ":pep:`552` -- Deterministic pycs" -msgstr ":pep:`552` -- Pycs deterministas" +msgstr ":pep:`552` -- *Pycs* deterministas" #: ../Doc/whatsnew/3.7.rst:456 msgid "PEP written and implemented by Benjamin Peterson" @@ -937,6 +1023,11 @@ msgid "" "attribute on :ref:`tracebacks ` is now writable. " "(Contributed by Nathaniel J. Smith in :issue:`30579`.)" msgstr "" +"Para soportar mejor la creación dinámica de seguimientos de pila, :class:" +"`types.TracebackType` ahora se puede crear una instancia desde el código " +"Python, y el atributo ``tb_next`` en on :ref:`rastreos ` " +"ahora se puede escribir. (Contribuido por *Nathaniel J. Smith* en :issue:" +"`30579`.)" #: ../Doc/whatsnew/3.7.rst:531 msgid "" @@ -945,6 +1036,11 @@ msgid "" "directory (which allows imports from the *current* working directory at the " "time when an import occurs) (Contributed by Nick Coghlan in :issue:`33053`.)" msgstr "" +"Al usar la :option:`-m` switch, ``sys.path[0]`` ahora se expande con " +"entusiasmo a la ruta completa del directorio de inicio, en lugar de dejarse " +"como el directorio vacío (que permite importaciones desde el directorio de " +"trabajo * actual * en el momento en que ocurre una importación) (Contribuido " +"por *Nick Coghlan* en :issue:`33053`.)" #: ../Doc/whatsnew/3.7.rst:537 msgid "" @@ -1196,6 +1292,11 @@ msgid "" "new event loop if none is running. (Contributed by Yury Selivanov in :issue:" "`32269`.)" msgstr "" +"La nueva función :func:`asyncio.get_running_loop` devuelve el bucle que se " +"está ejecutando actualmente, y genera un :exc:`RuntimeError` si el bucle " +"esta corriendo. Esto contrasta con :func:`asyncio.get_event_loop`, que * " +"creará * un nuevo bucle de eventos si no se está ejecutando ninguno. " +"(Contribuido por *Yury Selivanov* en :issue:`32269`.)" #: ../Doc/whatsnew/3.7.rst:685 msgid "" @@ -1205,6 +1306,11 @@ msgid "" "is_closing>` method can be used to determine if the writer is closing. " "(Contributed by Andrew Svetlov in :issue:`32391`.)" msgstr "" +"El nuevo método de rutina :meth:`StreamWriter.wait_closed() ` permite esperar hasta que se cierre el escritor " +"de secuencias. El nuevo método :meth:`StreamWriter.is_closing() ` puede ser usado para determinar si el escritor " +"esta cerrando. (Contribuido por *Andrew Svetlov* en :issue:`32391`.)" #: ../Doc/whatsnew/3.7.rst:691 msgid "" @@ -1212,6 +1318,9 @@ msgid "" "method allows sending files using :mod:`os.sendfile` when possible. " "(Contributed by Andrew Svetlov in :issue:`32410`.)" msgstr "" +"El nuevo método de rutina :meth:`loop.sock_sendfile() ` permite enviar archivos usando :mod:`os.sendfile` cuando sea " +"posible. (Contribuido por *Andrew Svetlov* en :issue:`32410`.)" #: ../Doc/whatsnew/3.7.rst:695 msgid "" @@ -1222,6 +1331,12 @@ msgid "" "Yury Selivanov in :issue:`32415` and Srinivas Reddy Thatiparthy in :issue:" "`32418`.)" msgstr "" +"El nuevo método :meth:`Future.get_loop() ` y ``Task." +"get_loop()`` devuelve la instancia del bucle en el que se creó una tarea o " +"un futuro. :meth:`Server.get_loop() ` permite hacer " +"lo mismo para objetos de :class:`asyncio.Server`. (Contribuido por *Yury " +"Selivanov* en :issue:`32415` y *Srinivas Reddy Thatiparthy* en :issue:" +"`32418`.)" #: ../Doc/whatsnew/3.7.rst:703 msgid "" @@ -1237,6 +1352,17 @@ msgid "" "serving. :class:`~asyncio.Server` objects are now asynchronous context " "managers::" msgstr "" +"Ahora es posible controlar las instancias de :class:`asyncio.Server` cuando " +"comienzan. Anteriormente, el servidor comenzaba a funcionar inmediatamente " +"cuando se creaba. El nuevo argumento de palabra clave *start_serving* para :" +"meth:`loop.create_server() ` y :meth:`loop." +"create_unix_server() `, así como :meth:" +"`Server.start_serving() `, y :meth:`Server." +"serve_forever() ` se puede usar para " +"desacoplar la instanciación y el servicio de servidor. El nuevo método :meth:" +"`Server.is_serving() ` devuelve ``True`` si el " +"servidor esta iniciando. :class:`~asyncio.Server` los objetos ahora son " +"administradores de contexto asíncronos:" #: ../Doc/whatsnew/3.7.rst:722 msgid "(Contributed by Yury Selivanov in :issue:`32662`.)" @@ -1310,6 +1436,12 @@ msgid "" "pause_reading() ` are now idempotent. " "(Contributed by Yury Selivanov in :issue:`32356`.)" msgstr "" +"El nuevo método :meth:`ReadTransport.is_reading() ` puede ser usado para determinar el estado de lectura del " +"transporte. Adicionalmente, las llamadas a :meth:`ReadTransport." +"resume_reading() ` y :meth:" +"`ReadTransport.pause_reading() ` ahora " +"son idempotentes. (Contribuido por *Yury Selivanov* en :issue:`32356`.)" #: ../Doc/whatsnew/3.7.rst:759 msgid "" @@ -1317,6 +1449,9 @@ msgid "" "objects `. (Contributed by Yury Selivanov in :issue:" "`32066`.)" msgstr "" +"Los métodos de bucle que aceptan rutas de socket ahora admiten el paso :term:" +"`objetos con forma de ruta `. (Contribuido por *Yury " +"Selivanov* en :issue:`32066`.)" #: ../Doc/whatsnew/3.7.rst:763 msgid "" @@ -1324,6 +1459,9 @@ msgid "" "flag set by default. (Contributed by Yury Selivanov and Victor Stinner in :" "issue:`27456`.)" msgstr "" +"En :mod:`asyncio`, los sockets TCP en Linux ahora son creados con el " +"indicador ``TCP_NODELAY`` configurado por defecto. (Contribuido por *Yury " +"Selivanov* y *Victor Stinner* en :issue:`27456`.)" #: ../Doc/whatsnew/3.7.rst:767 msgid "" @@ -1433,7 +1571,7 @@ msgid "" "(Contributed by Thomas Moreau in :issue:`31540`.)" msgstr "" "La :class:`ProcessPoolExecutor ` " -"puede ahora tomar el contexto de multiprocesamiento a travez del nuevo " +"puede ahora tomar el contexto de multiprocesamiento a traves del nuevo " "argumento *mp_context*. (Contribuido por *Thomas Moreau* en :issue:`31540`.)" #: ../Doc/whatsnew/3.7.rst:826 @@ -1606,20 +1744,29 @@ msgid "" "return :const:`False` instead and are deprecated. (Contributed by Ethan " "Furman in :issue:`33217`.)" msgstr "" +"En Python 3.8, intentar buscar objetos que no sean Enum en :class:`Enum` " +"generará un :exc:`TypeError` (por ejemplo, ``1 in Color``); de manera " +"similar, si se intenta buscar objetos que no sean Flag en un miembro :class:" +"`Flag` se generará :exc:`TypeError` (por ejemplo, ``1 in Perm.RW``); " +"actualmente, ambas operaciones devuelven :const:`False` en su lugar y están " +"obsoletas." #: ../Doc/whatsnew/3.7.rst:921 msgid "functools" -msgstr "" +msgstr "*functools*" #: ../Doc/whatsnew/3.7.rst:923 msgid "" ":func:`functools.singledispatch` now supports registering implementations " "using type annotations. (Contributed by Łukasz Langa in :issue:`32227`.)" msgstr "" +":func:`functools.singledispatch` ahora admite el registro de " +"implementaciones mediante anotaciones de tipo. (Contribuido por *Łukasz " +"Langa* en :issue:`32227`.)" #: ../Doc/whatsnew/3.7.rst:929 msgid "gc" -msgstr "" +msgstr "*gc*" #: ../Doc/whatsnew/3.7.rst:931 msgid "" @@ -1631,10 +1778,17 @@ msgid "" "obtain the number of frozen objects. (Contributed by Li Zekun in :issue:" "`31558`.)" msgstr "" +"La nueva función :func:`gc.freeze` permite congelar todos los objetos " +"rastreados por el recolector de basura y excluirlos de colecciones futuras. " +"Esto se puede utilizar antes de llamar POSIX ``fork()` para hacer que la " +"copia en escritura de GC sea amigable o para acelerar la recopilación. La " +"nuevas funciones :func:`gc.unfreeze` revierten esta operación. Además, :func:" +"`gc.get_freeze_count` se puede utilizar para obtener el número de objetos " +"congelados. (Contribuido por *Li Zekun* en :issue:`31558`.)" #: ../Doc/whatsnew/3.7.rst:941 msgid "hmac" -msgstr "" +msgstr "*hmac*" #: ../Doc/whatsnew/3.7.rst:943 msgid "" @@ -1642,10 +1796,12 @@ msgid "" "function, which is up to three times faster than :func:`~hmac.HMAC`. " "(Contributed by Christian Heimes in :issue:`32433`.)" msgstr "" +"El módulo :mod:`hmac` ahora tiene una función one-shot optimizada :func:" +"`~hmac.digest`, que es hasta tres veces más rápida que :func:`~hmac.HMAC`." #: ../Doc/whatsnew/3.7.rst:949 msgid "http.client" -msgstr "" +msgstr "*http.client*" #: ../Doc/whatsnew/3.7.rst:951 msgid "" @@ -1653,10 +1809,13 @@ msgid "" "HTTPSConnection` now support the new *blocksize* argument for improved " "upload throughput. (Contributed by Nir Soffer in :issue:`31945`.)" msgstr "" +":class:`~http.client.HTTPConnection` y :class:`~http.client.HTTPSConnection` " +"ahora admite el nuevo argumento * tamaño de bloque * para mejorar el " +"rendimiento de carga. (Contribuido por *Nir Soffer* en :issue:`31945`.)" #: ../Doc/whatsnew/3.7.rst:957 msgid "http.server" -msgstr "" +msgstr "*http.server*" #: ../Doc/whatsnew/3.7.rst:959 msgid "" @@ -1665,6 +1824,10 @@ msgid "" "target file was not modified after the time specified in the header. " "(Contributed by Pierre Quentel in :issue:`29654`.)" msgstr "" +":class:`~http.server.SimpleHTTPRequestHandler` ahora admite el encabezado " +"HTTP ``If-Modified-Since``. El servidor devuelve el estado de respuesta 304 " +"si el archivo de destino no se modificó después del tiempo especificado en " +"el encabezado. (Contribuido por *Pierre Quentel* en :issue:`29654`.)" #: ../Doc/whatsnew/3.7.rst:964 msgid "" @@ -1674,6 +1837,11 @@ msgid "" "uses the current working directory. (Contributed by Stéphane Wirtel and " "Julien Palard in :issue:`28707`.)" msgstr "" +":class:`~http.server.SimpleHTTPRequestHandler` acepta el nuevo argumento " +"*directorio*, además del nuevo argumento de línea de comando ``—directory``. " +"Con este parámetro, el servidor sirve el directorio especificado, por " +"defecto usa el directorio de trabajo actual. (Contribuido por *Stéphane " +"Wirtel* y *Julien Palard* en :issue:`28707`.)" #: ../Doc/whatsnew/3.7.rst:970 msgid "" @@ -1682,16 +1850,22 @@ msgid "" "It is used when ``http.server`` is run with ``-m``. (Contributed by Julien " "Palard in :issue:`31639`.)" msgstr "" +"La nueva clase :class:`ThreadingHTTPServer ` usa procesos para manejar solicitudes usando :class:" +"`~socketserver.ThreadingMixin`. Se usa cuando se ejecuta ``http.server`` con " +"``-m``. (Contribuido por *Julien Palard* en :issue:`31639`.)" #: ../Doc/whatsnew/3.7.rst:977 msgid "idlelib and IDLE" -msgstr "" +msgstr "*idlelib and IDLE*" #: ../Doc/whatsnew/3.7.rst:979 msgid "" "Multiple fixes for autocompletion. (Contributed by Louie Lu in :issue:" "`15786`.)" msgstr "" +"Varias correcciones para autocompletar. (Contribuido por *Louie Lu* en :" +"issue:`15786`.)" #: ../Doc/whatsnew/3.7.rst:981 msgid "" @@ -1700,6 +1874,10 @@ msgid "" "classes. (Contributed by Guilherme Polo, Cheryl Sabella, and Terry Jan Reedy " "in :issue:`1612262`.)" msgstr "" +"El Explorador de módulos (en el menú Archivo, antes llamado Explorador de " +"clases), ahora muestra funciones y clases anidadas además de funciones y " +"clases de nivel superior. (Contribuido por *Guilherme Polo*, *Cheryl " +"Sabella*, y *Terry Jan Reedy* en :issue:`1612262`.)" #: ../Doc/whatsnew/3.7.rst:987 msgid "" @@ -1707,6 +1885,9 @@ msgid "" "improve both appearance and function. (Contributed by Cheryl Sabella and " "Terry Jan Reedy in multiple issues.)" msgstr "" +"El cuadro de diálogo Configuración (Opciones, Configurar IDLE) se ha " +"reescrito parcialmente para mejorar tanto la apariencia como la función. " +"(Contribuido por *Cheryl Sabella* y *Terry Jan Reedy* en multiple issues.)" #: ../Doc/whatsnew/3.7.rst:991 msgid "" @@ -1715,6 +1896,11 @@ msgid "" "by Terry Jan Reedy in :issue:`13802`.) The sample can be edited to include " "other characters. (Contributed by Serhiy Storchaka in :issue:`31860`.)" msgstr "" +"La muestra de fuente ahora incluye una selección de caracteres no latinos " +"para que los usuarios puedan ver mejor el efecto de seleccionar una fuente " +"en particular. (Contribuido por *Terry Jan Reedy* en :issue:`13802`.). La " +"muestra se puede editar para incluir otros caracteres. (Contribuido por " +"*Serhiy Storchaka* en :issue:`31860`.)" #: ../Doc/whatsnew/3.7.rst:997 msgid "" @@ -1723,6 +1909,10 @@ msgid "" "to other dialog tabs. (Contributed by Charles Wohlganger and Terry Jan Reedy " "in :issue:`27099`.)" msgstr "" +"Las funciones IDLE implementadas anteriormente como extensiones se han " +"vuelto a implementar como funciones normales. Su configuración se ha movido " +"de la pestaña Extensiones a otras pestañas de diálogo. (Contribuido por " +"*Charles Wohlganger* y *Terry Jan Reedy* en :issue:`27099`.)" #: ../Doc/whatsnew/3.7.rst:1002 msgid "" @@ -1732,6 +1922,12 @@ msgid "" "dialog. (Contributed by Cheryl Sabella and Terry Jan Reedy in :issue:" "`33642`, :issue:`33768`, and :issue:`33679`.)" msgstr "" +"Se revisó la opción de contexto del código del editor. El cuadro muestra " +"todas las líneas de contexto hasta las líneas máximas. Al hacer clic en una " +"línea de contexto, el editor pasa a esa línea. Los colores de contexto para " +"temas personalizados se agregan a la pestaña Destacados del cuadro de " +"diálogo Configuración. (Contribuido por *Cheryl Sabella* y *Terry Jan Reedy* " +"en :issue:`33642`, :issue:`33768`, y :issue:`33679`.)" #: ../Doc/whatsnew/3.7.rst:1008 msgid "" @@ -1741,6 +1937,12 @@ msgid "" "text and lines sharper. It should otherwise have no effect. (Contributed by " "Terry Jan Reedy in :issue:`33656`.)" msgstr "" +"En Windows, una nueva llamada a la API le dice a Windows que tk escala para " +"DPI. En Windows 8.1+ o 10, con las propiedades de compatibilidad de DPI del " +"binario de Python sin cambios y una resolución de monitor superior a 96 DPI, " +"esto debería hacer que el texto y las líneas sean más nítidos. De lo " +"contrario, no debería tener ningún efecto. (Contribuido por *Terry Jan " +"Reedy* en :issue:`33656`.)" #: ../Doc/whatsnew/3.7.rst:1014 msgid "New in 3.7.1:" @@ -1755,6 +1957,13 @@ msgid "" "button or into the clipboard or a separate window by right-clicking the " "button. (Contributed by Tal Einat in :issue:`1529353`.)" msgstr "" +"La salida sobre N líneas (50 por defecto) se reduce a un botón. N se puede " +"cambiar en la sección PyShell de la página General del cuadro de diálogo " +"Configuración. Se pueden comprimir menos líneas, pero posiblemente más " +"largas, haciendo clic derecho en la salida. La salida comprimida se puede " +"expandir en su lugar haciendo doble clic en el botón o en el portapapeles o " +"en una ventana separada haciendo clic derecho en el botón. (Contribuido por " +"*Tal Einat* en :issue:`1529353`.)" #: ../Doc/whatsnew/3.7.rst:1023 msgid "The changes above have been backported to 3.6 maintenance releases." @@ -1774,6 +1983,12 @@ msgid "" "normal Shell main module restart. (Contributed by Cheryl Sabella, Terry Jan " "Reedy, and others in :issue:`5680` and :issue:`37627`.)" msgstr "" +"Agregado “Run Customized” al menú Correr para ejecutar un módulo con " +"configuraciones personalizadas. Cualquier argumento de línea de comando " +"ingresado se agrega a sys.argv. Vuelven a aparecer en el cuadro para la " +"siguiente ejecución personalizada. También se puede suprimir el reinicio " +"normal del módulo principal de Shell. (Contribuidor por *Cheryl Sabella*, " +"*Terry Jan Reedy*, y otros en :issue:`5680` y :issue:`37627`.)" #: ../Doc/whatsnew/3.7.rst:1033 msgid "New in 3.7.5:" @@ -1787,6 +2002,12 @@ msgid "" "Options menu. (Contributed by Tal Einat and Saimadhav Heblikar in :issue:" "`17535`.)" msgstr "" +"Agregue números de línea opcionales para las ventanas del editor IDLE. Las " +"ventanas se abren sin números de línea a menos que se establezca lo " +"contrario en la pestaña General del cuadro de diálogo de configuración. Los " +"números de línea de una ventana existente se muestran y ocultan en el menú " +"Opciones. (Contribuido por *Tal Einat* y *Saimadhav Heblikar* en :issue:" +"`17535`.)" #: ../Doc/whatsnew/3.7.rst:1043 ../Doc/whatsnew/3.7.rst:2003 msgid "importlib" @@ -1809,6 +2030,9 @@ msgid "" ":func:`importlib.reload` now raises :exc:`ModuleNotFoundError` if the module " "lacks a spec. (Contributed by Garvit Khatri in :issue:`29851`.)" msgstr "" +":func:`importlib.reload` ahora mejora :exc:`ModuleNotFoundError` si el " +"módulo carece de especificación. (Contribuido por *Garvit Khatri* en :issue:" +"`29851`.)" #: ../Doc/whatsnew/3.7.rst:1054 msgid "" @@ -1817,6 +2041,10 @@ msgid "" "e. lacks a ``__path__`` attribute). (Contributed by Milan Oberkirch in :" "issue:`30436`.)" msgstr "" +":func:`importlib.find_spec` ahora mejora :exc:`ModuleNotFoundError` en lugar " +"de :exc:`AttributeError` si el modulo principal especifico no ese un paquete " +"(es decir, carece de un atributo ``__path__``). (Contribuido por *Milan " +"Oberkirch* en :issue:`30436`.)" #: ../Doc/whatsnew/3.7.rst:1059 msgid "" @@ -1824,10 +2052,13 @@ msgid "" "passed source. A :ref:`hash-based .pyc file ` embeds the " "value returned by this function." msgstr "" +"La nueva :func:`importlib.source_hash` se puede utilizar para calcular el " +"hash de la fuente pasada. Un ref:`archivo .pyc basado en hash ` incrusta el valor devuelto por esta función." #: ../Doc/whatsnew/3.7.rst:1065 msgid "io" -msgstr "" +msgstr "*io*" #: ../Doc/whatsnew/3.7.rst:1067 msgid "" @@ -1836,10 +2067,14 @@ msgid "" "(Contributed by Antoine Pitrou in :issue:`30526` and INADA Naoki in :issue:" "`15216`.)" msgstr "" +"El nuevo método :meth:`TextIOWrapper.reconfigure() ` se puede utilizar para reconfigurar el flujo de texto con la " +"nueva configuración. (Contribuido por *Antoine Pitrou* en :issue:`30526` y " +"*INADA Naoki* en :issue:`15216`.)" #: ../Doc/whatsnew/3.7.rst:1074 msgid "ipaddress" -msgstr "" +msgstr "*ipaddress*" #: ../Doc/whatsnew/3.7.rst:1076 msgid "" @@ -1848,10 +2083,14 @@ msgid "" "containment tests. (Contributed by Michel Albert and Cheryl Sabella in :" "issue:`20825`.)" msgstr "" +"Los nuevos métodos ``subnet_of()`` y ``supernet_of()`` of :class:`ipaddress." +"IPv6Network` y :class:`ipaddress.IPv4Network` pueden ser usados para pruebas " +"de contención de redes. (Contribuido por *Michel Albert* y *Cheryl Sabella* " +"en :issue:`20825`.)" #: ../Doc/whatsnew/3.7.rst:1083 msgid "itertools" -msgstr "" +msgstr "*itertools*" #: ../Doc/whatsnew/3.7.rst:1085 msgid "" @@ -1859,10 +2098,13 @@ msgid "" "__index__>` as start, stop, and slice arguments. (Contributed by Will " "Roberts in :issue:`30537`.)" msgstr "" +":func:`itertools.islice` now accepts :meth:`integer-like objects ` como argumentos de inicio, parada y corte. (Contribuido por " +"*Will Roberts* en :issue:`30537`.)" #: ../Doc/whatsnew/3.7.rst:1092 ../Doc/whatsnew/3.7.rst:2021 msgid "locale" -msgstr "" +msgstr "*locale*" #: ../Doc/whatsnew/3.7.rst:1094 msgid "" @@ -1870,6 +2112,10 @@ msgid "" "make the conversion use monetary thousands separators and grouping strings. " "(Contributed by Garvit in :issue:`10379`.)" msgstr "" +"El nuevo argumento * monetario * para :func:`locale.format_string` se puede " +"utilizar para hacer que la conversión utilice separadores de miles " +"monetarios y cadenas de agrupación. (Contribuido por *Garvit* en :issue:" +"`10379`.)" #: ../Doc/whatsnew/3.7.rst:1098 msgid "" @@ -1877,16 +2123,21 @@ msgid "" "``'UTF-8'`` on Android or when in the :ref:`forced UTF-8 mode `." msgstr "" +"La función :func:`locale.getpreferredencoding` ahora siempre devuelve " +"``’UTF-8’`` en Android o cuando está en el :ref:`modo UTF-8 forzado " +"`." #: ../Doc/whatsnew/3.7.rst:1103 msgid "logging" -msgstr "" +msgstr "*logging*" #: ../Doc/whatsnew/3.7.rst:1105 msgid "" ":class:`~logging.Logger` instances can now be pickled. (Contributed by Vinay " "Sajip in :issue:`30520`.)" msgstr "" +"class:`~logging.Logger` instancias ahora pueden ser decapadas. (Contribuido " +"por *Vinay Sajip* en :issue:`30520`.)" #: ../Doc/whatsnew/3.7.rst:1108 msgid "" @@ -1894,6 +2145,10 @@ msgid "" "method can be used to replace the logger stream after handler creation. " "(Contributed by Vinay Sajip in :issue:`30522`.)" msgstr "" +"El nuevo método :meth:`StreamHandler.setStream() ` se puede utilizar para reemplazar la secuencia del registrador " +"después de la creación del controlador. (Contribuido por *Vinay Sajip* en :" +"issue:`30522`.)" #: ../Doc/whatsnew/3.7.rst:1112 msgid "" @@ -1901,30 +2156,37 @@ msgid "" "configuration passed to :func:`logging.config.fileConfig`. (Contributed by " "Preston Landers in :issue:`31080`.)" msgstr "" +"Ahora es posible especificar argumentos de palabras clave para los " +"constructores de manejadores en la configuración pasada a :func:`logging." +"config.fileConfig`. (Contribuido por *Preston Landers* en :issue:`31080`.)" #: ../Doc/whatsnew/3.7.rst:1118 msgid "math" -msgstr "" +msgstr "*math*" #: ../Doc/whatsnew/3.7.rst:1120 msgid "" "The new :func:`math.remainder` function implements the IEEE 754-style " "remainder operation. (Contributed by Mark Dickinson in :issue:`29962`.)" msgstr "" +"La nueva función :func:`math.remainder` implementa la operación de resto de " +"estilo IEEE 754. (Contribuido por *Mark Dickinson* en :issue:`29962`.)" #: ../Doc/whatsnew/3.7.rst:1125 msgid "mimetypes" -msgstr "" +msgstr "*mimetypes*" #: ../Doc/whatsnew/3.7.rst:1127 msgid "" "The MIME type of .bmp has been changed from ``'image/x-ms-bmp'`` to ``'image/" "bmp'``. (Contributed by Nitish Chandra in :issue:`22589`.)" msgstr "" +"El tipo MIME de .bmp se ha cambiado de ``’image/x-ms-bmp’`` a ``’image/" +"bmp’``. (Contribuido por *Nitish Chandra* en :issue:`22589`.)" #: ../Doc/whatsnew/3.7.rst:1133 msgid "msilib" -msgstr "" +msgstr "*msilib*" #: ../Doc/whatsnew/3.7.rst:1135 msgid "" @@ -1932,10 +2194,13 @@ msgid "" "to close the :abbr:`MSI` database. (Contributed by Berker Peksag in :issue:" "`20486`.)" msgstr "" +"El nuevo método :meth:`Database.Close() ` se puede " +"utilizar para cerrar la base de datos :abbr:`MSI`. (Contribuido por Berker " +"Peksag in :issue:`20486`.)" #: ../Doc/whatsnew/3.7.rst:1141 msgid "multiprocessing" -msgstr "" +msgstr "*multiprocessing*" #: ../Doc/whatsnew/3.7.rst:1143 msgid "" @@ -1944,6 +2209,10 @@ msgid "" "with it. :exc:`ValueError` is raised if the underlying process is still " "running. (Contributed by Antoine Pitrou in :issue:`30596`.)" msgstr "" +"El nuevo método :meth:`Process.close() ` " +"cierra explícitamente el objeto de proceso y libera todos los recursos " +"asociados con él. :exc:`ValueError` se genera si el proceso subyacente aún " +"se está ejecutando. (Contribuido por *Antoine Pitrou* en :issue:`30596`.)" #: ../Doc/whatsnew/3.7.rst:1149 msgid "" @@ -1951,28 +2220,38 @@ msgid "" "used to terminate the process using the :data:`SIGKILL` signal on Unix. " "(Contributed by Vitor Pereira in :issue:`30794`.)" msgstr "" +"El nuevo método :meth:`Process.kill() ` se " +"puede usar para terminar el proceso usando la señal :data:`SIGKILL` en Unix. " +"(Contribuido por *Vitor Pereira* en :issue:`30794`.)" #: ../Doc/whatsnew/3.7.rst:1153 msgid "" "Non-daemonic threads created by :class:`~multiprocessing.Process` are now " "joined on process exit. (Contributed by Antoine Pitrou in :issue:`18966`.)" msgstr "" +"Subprocesos no demoníacos creados por :class:`~multiprocessing.Process` " +"ahora se unen al salir del proceso. (Contribuido por *Antoine Pitrou* en :" +"issue:`18966`.)" #: ../Doc/whatsnew/3.7.rst:1159 msgid "os" -msgstr "" +msgstr "*os*" #: ../Doc/whatsnew/3.7.rst:1161 msgid "" ":func:`os.fwalk` now accepts the *path* argument as :class:`bytes`. " "(Contributed by Serhiy Storchaka in :issue:`28682`.)" msgstr "" +":func:`os.fwalk` ahora acepta el argumento *path* como :class:`bytes`. " +"(Contribuido por *Serhiy Storchaka* en :issue:`28682`.)" #: ../Doc/whatsnew/3.7.rst:1164 msgid "" ":func:`os.scandir` gained support for :ref:`file descriptors `. " "(Contributed by Serhiy Storchaka in :issue:`25996`.)" msgstr "" +":func:`os.scandir` obtuvo soporte de :ref:`descriptores de archivo " +"`. (Contribuido por *Serhiy Storchaka* en :issue:`25996`.)" #: ../Doc/whatsnew/3.7.rst:1167 msgid "" @@ -1980,6 +2259,9 @@ msgid "" "callbacks to be executed at process fork. (Contributed by Antoine Pitrou in :" "issue:`16500`.)" msgstr "" +"La nueva función :func:`~os.register_at_fork` permite registrar " +"devoluciones de llamada de Python para que se ejecuten en la bifurcación del " +"proceso. (Contribuido por *Antoine Pitrou* en :issue:`16500`.)" #: ../Doc/whatsnew/3.7.rst:1171 msgid "" @@ -1988,6 +2270,10 @@ msgid "" "of :func:`os.writev` and :func:`os.pwrite`). (Contributed by Pablo Galindo " "in :issue:`31368`.)" msgstr "" +"Agrega funciones :func:`os.preadv` (combinando la funcionalidad de :func:`os." +"readv` y :func:`os.pread`) y :func:`os.pwritev` (combinando la funcionalidad " +"de :func:`os.writev` y :func:`os.pwrite`). (Contribuido por *Pablo Galindo* " +"en :issue:`31368`.)" #: ../Doc/whatsnew/3.7.rst:1176 msgid "" @@ -1995,12 +2281,18 @@ msgid "" "permission bits of newly-created intermediate-level directories. " "(Contributed by Serhiy Storchaka in :issue:`19930`.)" msgstr "" +"El argumento de modo de :func:`os.makedirs` ya no afecta a los bits de " +"permisos de archivos de los directorios de nivel intermedio recién creados. " +"(Contribuido por *Serhiy Storchaka* en :issue:`19930`.)" #: ../Doc/whatsnew/3.7.rst:1180 msgid "" ":func:`os.dup2` now returns the new file descriptor. Previously, ``None`` " "was always returned. (Contributed by Benjamin Peterson in :issue:`32441`.)" msgstr "" +":func:`os.dup2` ahora retorna el nuevo descriptor de archivo. Previamente, " +"``None``siempre fue retornado. (Contribuido por *Benjamin Peterson* en :" +"issue:`32441`.)" #: ../Doc/whatsnew/3.7.rst:1184 msgid "" @@ -2008,10 +2300,13 @@ msgid "" "stat_result.st_fstype` attribute on Solaris and its derivatives. " "(Contributed by Jesús Cea Avión in :issue:`32659`.)" msgstr "" +"La estructura retornada por :func:`os.stat` ahora contiene el atributo :" +"attr:`~os.stat_result.st_fstype` en Solaris y sus derivados. (Contribuido " +"por *Jesús Cea Avión* en :issue:`32659`.)" #: ../Doc/whatsnew/3.7.rst:1190 msgid "pathlib" -msgstr "" +msgstr "*pathlib*" #: ../Doc/whatsnew/3.7.rst:1192 msgid "" @@ -2019,10 +2314,14 @@ msgid "" "available on POSIX systems and can be used to determine whether a path is a " "mount point. (Contributed by Cooper Ry Lees in :issue:`30897`.)" msgstr "" +"El nuevo método :meth:`Path.is_mount() ` ahora está " +"disponible en los sistemas POSIX y se puede utilizar para determinar si una " +"ruta es un punto de montaje. (Contribuido por *Cooper Ry Lees* en :issue:" +"`30897`.)" #: ../Doc/whatsnew/3.7.rst:1198 msgid "pdb" -msgstr "" +msgstr "*pdb*" #: ../Doc/whatsnew/3.7.rst:1200 msgid "" @@ -2030,16 +2329,23 @@ msgid "" "If given, it is printed to the console just before debugging begins. " "(Contributed by Barry Warsaw in :issue:`31389`.)" msgstr "" +":func:`pdb.set_trace` ahora toma un argumento opcional *header* solo de " +"palabra clave. Si se proporciona, se imprime en la consola justo antes de " +"que comience la depuración. (Contribuido por *Barry Warsaw* en :issue:" +"`31389`.)" #: ../Doc/whatsnew/3.7.rst:1204 msgid "" ":mod:`pdb` command line now accepts ``-m module_name`` as an alternative to " "script file. (Contributed by Mario Corchero in :issue:`32206`.)" msgstr "" +":mod:`pdb` la línea de comando ahora acepta ``-m module_name`` como una " +"alternativa al archivo de script. (Contribuido por *Mario Corchero* en :" +"issue:`32206`.)" #: ../Doc/whatsnew/3.7.rst:1209 msgid "py_compile" -msgstr "" +msgstr "*py_compile*" #: ../Doc/whatsnew/3.7.rst:1211 msgid "" @@ -2050,10 +2356,16 @@ msgid "" "org/>`_ of ``.pyc`` files when they are created eagerly. (Contributed by " "Bernhard M. Wiedemann in :issue:`29708`.)" msgstr "" +":func:`py_compile.compile` — y por extensión, :mod:`compileall` — ahora " +"respeta la variable de entorno :envvar:`SOURCE_DATE_EPOCH` creando " +"incondicionalmente archivos ``.pyc`` para la validación basada en hash. Esto " +"permite garantizar `compilaciones reproducibles `_ de archivos ``.pyc`` cuando se crean con entusiasmo. (Contribuido " +"por *Bernhard M. Wiedemann* en :issue:`29708`.)" #: ../Doc/whatsnew/3.7.rst:1221 msgid "pydoc" -msgstr "" +msgstr "*pydoc*" #: ../Doc/whatsnew/3.7.rst:1223 msgid "" @@ -2061,20 +2373,25 @@ msgid "" "``-n`` command-line argument. (Contributed by Feanil Patel in :issue:" "`31128`.)" msgstr "" +"El servidor pydoc ahora puede vincularse a un nombre de host arbitrario " +"especificado por el nuevo argumento de línea de comandos ``-n``. " +"(Contribuido por *Feanil Patel* en :issue:`31128`.)" #: ../Doc/whatsnew/3.7.rst:1229 msgid "queue" -msgstr "" +msgstr "*queue*" #: ../Doc/whatsnew/3.7.rst:1231 msgid "" "The new :class:`~queue.SimpleQueue` class is an unbounded :abbr:`FIFO` " "queue. (Contributed by Antoine Pitrou in :issue:`14976`.)" msgstr "" +"La nueva clase :class:`~queue.SimpleQueue` es una cola ilimitada :abbr:" +"`FIFO`. (Contribuido por *Antoine Pitrou* en :issue:`14976`.)" #: ../Doc/whatsnew/3.7.rst:1236 msgid "re" -msgstr "" +msgstr "*re*" #: ../Doc/whatsnew/3.7.rst:1238 msgid "" @@ -2082,6 +2399,9 @@ msgid "" "be set within the scope of a group. (Contributed by Serhiy Storchaka in :" "issue:`31690`.)" msgstr "" +"Las banderas :const:`re.ASCII`, :const:`re.LOCALE` y :const:`re.UNICODE` se " +"pueden establecer dentro del alcance de un grupo. (Contribuido por *Serhiy " +"Storchaka* en :issue:`31690`.)" #: ../Doc/whatsnew/3.7.rst:1242 msgid "" @@ -2089,6 +2409,9 @@ msgid "" "$'`` or ``(?=-)`` that matches an empty string. (Contributed by Serhiy " "Storchaka in :issue:`25054`.)" msgstr "" +":func:`re.split` ahora admite la división en un patrón como ``r’\\b’``, ``’^" +"$’`` or ``(?=-)`` que coincide con una cadena vacía. (Contribuido por " +"*Serhiy Storchaka* en :issue:`25054`.)" #: ../Doc/whatsnew/3.7.rst:1246 msgid "" @@ -2097,6 +2420,10 @@ msgid "" "the compiled regular expression is used. (Contributed by Serhiy Storchaka " "in :issue:`30215`.)" msgstr "" +"Las expresiones regulares compiladas con el indicador :const:`re.LOCALE` ya " +"no dependen de la configuración regional en el momento de la compilación. La " +"configuración regional se aplica solo cuando se utiliza la expresión regular " +"compilada. (Contribuido por *Serhiy Storchaka* en :issue:`30215`.)" #: ../Doc/whatsnew/3.7.rst:1251 msgid "" @@ -2105,6 +2432,10 @@ msgid "" "as nested sets and set operations. (Contributed by Serhiy Storchaka in :" "issue:`30349`.)" msgstr "" +":exc:`FutureWarning` ahora se emite si una expresión regular contiene " +"construcciones de conjuntos de caracteres que cambiarán semánticamente en el " +"futuro, como conjuntos anidados y operaciones de conjuntos. (Contribuido por " +"*Serhiy Storchaka* en :issue:`30349`.)" #: ../Doc/whatsnew/3.7.rst:1256 msgid "" @@ -2112,10 +2443,13 @@ msgid "" "`copy.copy` and :func:`copy.deepcopy`. (Contributed by Serhiy Storchaka in :" "issue:`10076`.)" msgstr "" +"Las expresiones regulares compiladas y los objetos coincidentes ahora se " +"pueden copiar usando :func:`copy.copy` y :func:`copy.deepcopy`. (Contribuido " +"por *Serhiy Storchaka* en :issue:`10076`.)" #: ../Doc/whatsnew/3.7.rst:1262 msgid "signal" -msgstr "" +msgstr "*signal*" #: ../Doc/whatsnew/3.7.rst:1264 msgid "" @@ -2124,10 +2458,14 @@ msgid "" "stderr when the wakeup buffer overflows. (Contributed by Nathaniel J. Smith " "in :issue:`30050`.)" msgstr "" +"El nuevo argumento * warn_on_full_buffer * para la función :func:`signal." +"set_wakeup_fd` permite especificar si Python imprime una advertencia en " +"*stderr* cuando el búfer de activación se desborda. (Contribuido por " +"*Nathaniel J. Smith* en :issue:`30050`.)" #: ../Doc/whatsnew/3.7.rst:1271 ../Doc/whatsnew/3.7.rst:2044 msgid "socket" -msgstr "" +msgstr "*socket*" #: ../Doc/whatsnew/3.7.rst:1273 msgid "" @@ -2135,6 +2473,9 @@ msgid "" "returns ``True`` if the socket is in blocking mode and ``False`` otherwise. " "(Contributed by Yury Selivanov in :issue:`32373`.)" msgstr "" +"El nuevo método :func:`socket.getblocking() ` " +"retorna ``True`` si el socket esta en modo bloqueo y ``False`` en caso " +"contrario. (Contribuido por *Yury Selivanov* en :issue:`32373`.)" #: ../Doc/whatsnew/3.7.rst:1277 msgid "" @@ -2143,6 +2484,10 @@ msgid "" "better compatibility across platforms. (Contributed by Christian Heimes in :" "issue:`32454`.)" msgstr "" +"La nueva función :func:`socket.close` cierra el descriptor de archivo de " +"socket pasado. Esta función debe usarse en lugar de :func:`os.close` para " +"una mejor compatibilidad entre plataformas. (Contribuido por *Christian " +"Heimes* en :issue:`32454`.)" #: ../Doc/whatsnew/3.7.rst:1282 msgid "" @@ -2151,6 +2496,10 @@ msgid "" "`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) constants. (Contributed by Omar " "Sandoval in :issue:`26273` and Nathaniel J. Smith in :issue:`29728`.)" msgstr "" +"El módulo :mod:`socket` ahora expone las constantes :data:`socket." +"TCP_CONGESTION` (Linux 2.6.13), :data:`socket.TCP_USER_TIMEOUT` (Linux " +"2.6.37), y :data:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12). (Contribuido por " +"*Omar Sandoval* en :issue:`26273` y *Nathaniel J. Smith* en :issue:`29728`.)" #: ../Doc/whatsnew/3.7.rst:1288 msgid "" @@ -2158,16 +2507,22 @@ msgid "" "communication between virtual machines and their hosts. (Contributed by " "Cathy Avery in :issue:`27584`.)" msgstr "" +"Se ha agregado soporte para :data:`socket.AF_VSOCK` *sockets* para permitir " +"la comunicación entre las máquinas virtuales y sus hosts. (Contribuido por " +"*Cathy Avery* en :issue:`27584`.)" #: ../Doc/whatsnew/3.7.rst:1292 msgid "" "Sockets now auto-detect family, type and protocol from file descriptor by " "default. (Contributed by Christian Heimes in :issue:`28134`.)" msgstr "" +"Los sockets ahora detectan automáticamente la familia, el tipo y el " +"protocolo del descriptor de archivo de forma predeterminada. (Contribuido " +"por *Christian Heimes* en :issue:`28134`.)" #: ../Doc/whatsnew/3.7.rst:1298 msgid "socketserver" -msgstr "" +msgstr "*socketserver*" #: ../Doc/whatsnew/3.7.rst:1300 msgid "" @@ -2175,6 +2530,10 @@ msgid "" "daemon threads complete. :meth:`socketserver.ForkingMixIn.server_close` now " "waits until all child processes complete." msgstr "" +":meth:`socketserver.ThreadingMixIn.server_close` ahora espera hasta que se " +"completen todos los subprocesos que no son demonios. :meth:`socketserver." +"ForkingMixIn.server_close` ahora espera hasta que se completen todos los " +"procesos secundarios." #: ../Doc/whatsnew/3.7.rst:1304 msgid "" @@ -2183,10 +2542,14 @@ msgid "" "ThreadingMixIn` classes. Set the class attribute to ``False`` to get the " "pre-3.7 behaviour." msgstr "" +"Agregue un nuevo atributo de clase :attr:`socketserver.ForkingMixIn." +"block_on_close` a las clases :class:`socketserver.ForkingMixIn` y :class:" +"`socketserver.ThreadingMixIn`. Establece el atributo de clase en ``False`` " +"para obtener el comportamiento anterior a 3.7." #: ../Doc/whatsnew/3.7.rst:1310 msgid "sqlite3" -msgstr "" +msgstr "*sqlite3*" #: ../Doc/whatsnew/3.7.rst:1312 msgid "" @@ -2194,6 +2557,9 @@ msgid "" "backup` method when the underlying SQLite library is at version 3.6.11 or " "higher. (Contributed by Lele Gaifax in :issue:`27645`.)" msgstr "" +":class:`sqlite3.Connection` ahora expone el método :meth:`~sqlite3." +"Connection.backup` cuando la biblioteca SQLite subyacente está en la versión " +"3.6.11 o superior. (Contribuido por *Lele Gaifax* en :issue:`27645`.)" #: ../Doc/whatsnew/3.7.rst:1316 msgid "" @@ -2201,10 +2567,13 @@ msgid "" "`path-like object`, instead of just a string. (Contributed by Anders " "Lorentsen in :issue:`31843`.)" msgstr "" +"El argumento * base de datos * de :func:`sqlite3.connect` ahora acepta " +"cualquier :term:`path-like object`, en lugar de solo una cadena. " +"(Contribuido por *Anders Lorentsen* en :issue:`31843`.)" #: ../Doc/whatsnew/3.7.rst:1322 ../Doc/whatsnew/3.7.rst:2053 msgid "ssl" -msgstr "" +msgstr "*ssl*" #: ../Doc/whatsnew/3.7.rst:1324 msgid "" @@ -2218,6 +2587,16 @@ msgid "" "hostname_checks_common_name>`. (Contributed by Christian Heimes in :issue:" "`31399`.)" msgstr "" +"El módulo :mod:`ssl` ahora usa la API integrada de OpenSSL en lugar de :func:" +"`~ssl.match_hostname` para comprobar un nombre de host o una dirección IP. " +"Los valores se validan durante el protocolo de enlace TLS. Cualquier error " +"de validación de certificado, incluida la falla en la verificación del " +"nombre de host, ahora aumenta :exc:`~ssl.SSLCertVerificationError` y aborta " +"el protocolo de enlace con un mensaje de alerta TLS adecuado. La nueva " +"excepción contiene información adicional. La validación del nombre de host " +"se puede personalizar con :attr:`SSLContext.hostname_checks_common_name `. (Contribuido por *Christian " +"Heimes* en :issue:`31399`.)" #: ../Doc/whatsnew/3.7.rst:1335 msgid "" @@ -2226,12 +2605,19 @@ msgid "" "longer supported (see :ref:`37-platform-support-removals` for more details). " "The ssl module is mostly compatible with LibreSSL 2.7.2 and newer." msgstr "" +"La verificación mejorada del nombre de host requiere una implementación " +"*libssl* compatible con OpenSSL 1.0.2 o 1.1. En consecuencia, OpenSSL 0.9.8 " +"y 1.0.1 ya no son compatibles (consulte :ref:`37-platform-support-removals` " +"para más detalles). El módulo ssl es principalmente compatible con LibreSSL " +"2.7.2 y versiones posteriores." #: ../Doc/whatsnew/3.7.rst:1340 msgid "" "The ``ssl`` module no longer sends IP addresses in SNI TLS extension. " "(Contributed by Christian Heimes in :issue:`32185`.)" msgstr "" +"El módulo ``ssl`` ya no envía direcciones IP en la extensión SNI TLS. " +"(Contribuido por *Christian Heimes* en :issue:`32185`.)" #: ../Doc/whatsnew/3.7.rst:1343 msgid "" @@ -2239,6 +2625,9 @@ msgid "" "example.org``. (Contributed by Mandeep Singh in :issue:`23033` and Christian " "Heimes in :issue:`31399`.)" msgstr "" +":func:`~ssl.match_hostname` ya no admite comodines parciales como ``www*." +"example.org``. (Contribuido por *Mandeep Singh* en :issue:`23033` y " +"*Christian Heimes* en :issue:`31399`.)" #: ../Doc/whatsnew/3.7.rst:1348 msgid "" @@ -2248,6 +2637,12 @@ msgid "" "cipher suite selection can be configured at compile time. (Contributed by " "Christian Heimes in :issue:`31429`.)" msgstr "" +"La selección del conjunto de cifrado predeterminado del módulo ``ssl`` ahora " +"usa un enfoque de lista negra en lugar de una lista blanca codificada. " +"Python ya no vuelve a habilitar los cifrados que han sido bloqueados por las " +"actualizaciones de seguridad de OpenSSL. La selección del conjunto de " +"cifrado predeterminado se puede configurar en tiempo de compilación. " +"(Contribuido por *Christian Heimes* en :issue:`31429`.)" #: ../Doc/whatsnew/3.7.rst:1354 msgid "" @@ -2258,6 +2653,13 @@ msgid "" "the U-label form (``\"pythön.org\"``). (Contributed by Nathaniel J. Smith " "and Christian Heimes in :issue:`28414`.)" msgstr "" +"Ahora se admite la validación de certificados de servidor que contienen " +"nombres de dominio internacionalizados (IDN). Como parte de este cambio, el " +"atributo :attr:`SSLSocket.server_hostname ` " +"ahora almacena el nombre de host esperado en forma de etiqueta A (``”xn--" +"pythn-mua.org”``), en lugar de la forma de etiqueta U (``”pythön.org”``). " +"(Contribuido por *Nathaniel J. Smith* y *Christian Heimes* en :issue:" +"`28414`.)" #: ../Doc/whatsnew/3.7.rst:1361 msgid "" @@ -2268,6 +2670,13 @@ msgid "" "earlier, see :ref:`ssl-tlsv1_3`. (Contributed by Christian Heimes in :issue:" "`32947`, :issue:`20995`, :issue:`29136`, :issue:`30622` and :issue:`33618`)" msgstr "" +"El módulo ``ssl`` tiene soporte preliminar y experimental para TLS 1.3 y " +"OpenSSL 1.1.1. En el momento del lanzamiento de Python 3.7.0, OpenSSL 1.1.1 " +"todavía está en desarrollo y TLS 1.3 aún no se ha finalizado. El protocolo y " +"el protocolo de enlace TLS 1.3 se comportan de forma ligeramente diferente a " +"TLS 1.2 y versiones anteriores, consulte :ref:`ssl-tlsv1_3`. (Contribuido " +"por *Christian Heimes* en :issue:`32947`, :issue:`20995`, :issue:`29136`, :" +"issue:`30622` y :issue:`33618`)" #: ../Doc/whatsnew/3.7.rst:1369 msgid "" @@ -2277,6 +2686,11 @@ msgid "" "meth:`~ssl.SSLContext.wrap_socket` and :meth:`~ssl.SSLContext.wrap_bio`. " "(Contributed by Christian Heimes in :issue:`32951`)" msgstr "" +":class:`~ssl.SSLSocket` y :class:`~ssl.SSLObject` ya no tiene un constructor " +"público. La creación de instancias directa nunca fue una característica " +"documentada y compatible. Las instancias deben crearse con métodos :class:" +"`~ssl.SSLContext` :meth:`~ssl.SSLContext.wrap_socket` y :meth:`~ssl." +"SSLContext.wrap_bio`. (Contribuido por *Christian Heimes* en :issue:`32951`)" #: ../Doc/whatsnew/3.7.rst:1375 msgid "" @@ -2287,6 +2701,12 @@ msgid "" "such as :data:`~ssl.HAS_TLSv1_1`. (Contributed by Christian Heimes in :issue:" "`32609`.)" msgstr "" +"Las API de OpenSSL 1.1 para configurar la versión mínima y máxima del " +"protocolo TLS están disponibles como :attr:`SSLContext.minimum_version ` y :attr:`SSLContext.maximum_version `. Los protocolos admitidos se indican mediante " +"varios indicadores nuevos, como :data:`~ssl.HAS_TLSv1_1`. (Contribuido por " +"*Christian Heimes* en :issue:`32609`.)" #: ../Doc/whatsnew/3.7.rst:1384 msgid "string" @@ -2325,6 +2745,9 @@ msgid "" "constructor now accept the *text* keyword argument as an alias to " "*universal_newlines*. (Contributed by Andrew Clegg in :issue:`31756`.)" msgstr "" +"La función ``subprocess.run`` y el constructor :class:`subprocess.Popen` " +"ahora aceptan la palabra clave del argumento *text* como un alias para " +"*universal_newlines*. (Contribuido por *Andrew Clegg* en :issue:`31756`.)" #: ../Doc/whatsnew/3.7.rst:1405 msgid "" @@ -2334,6 +2757,12 @@ msgid "" "`subprocess.Popen`. This means that *close_fds* now defaults to ``True`` on " "all supported platforms. (Contributed by Segev Finer in :issue:`19764`.)" msgstr "" +"En Windows, el valor predeterminado de *close_fds* se cambió de ``False`` a " +"``True`` al redirigir los identificadores estándar. Ahora es posible " +"establecer *close_fds* en verdadero al redirigir los identificadores " +"estándar. Ver :class:`subprocess.Popen`. Esto significa que * close_fds * " +"ahora tiene el valor predeterminado de ``True`` en todas las plataformas " +"compatibles. (Contribuido por *Segev Finer* en :issue:`19764`.)" #: ../Doc/whatsnew/3.7.rst:1412 msgid "" @@ -2344,6 +2773,12 @@ msgid "" "``KeyboardInterrupt`` exception. (Contributed by Gregory P. Smith in :issue:" "`25942`.)" msgstr "" +"El módulo de subproceso ahora es más elegante al manejar :exc:" +"`KeyboardInterrupt` durante: :func:`subprocess.call`, :func:`subprocess." +"run`, o en un administrador de contexto :class:`~subprocess.Popen`. Ahora " +"espera un corto período de tiempo para que el niño salga, antes de continuar " +"con el manejo de la excepción ``KeyboardInterrupt``. (Contribuido por " +"*Gregory P. Smith* en :issue:`25942`.)" #: ../Doc/whatsnew/3.7.rst:1422 ../Doc/whatsnew/3.7.rst:2069 msgid "sys" @@ -2376,6 +2811,12 @@ msgid "" "set_coroutine_wrapper`. (Contributed by Nathaniel J. Smith in :issue:" "`32591`.)" msgstr "" +"La nueva función :func:`sys.get_coroutine_origin_tracking_depth` devuelve la " +"profundidad de seguimiento del origen de la corrutina actual, según lo " +"establecido por el nuevo :func:`sys.set_coroutine_origin_tracking_depth`. :" +"mod:`asyncio` se ha convertido para usar esta nueva API en lugar de la " +"obsoleta :func:`sys.set_coroutine_wrapper`. (Contribuido por Nathaniel J. " +"Smith in :issue:`32591`.)" #: ../Doc/whatsnew/3.7.rst:1441 msgid "time" @@ -2399,12 +2840,17 @@ msgid "" "CLOCK_MONOTONIC`, except it also includes any time that the system is " "suspended." msgstr "" +":data:`time.CLOCK_BOOTTIME` (Linux): Idéntico a :data:`time." +"CLOCK_MONOTONIC`, excepto que también incluye cualquier momento en que el " +"sistema esté suspendido." #: ../Doc/whatsnew/3.7.rst:1458 msgid "" ":data:`time.CLOCK_PROF` (FreeBSD, NetBSD and OpenBSD): High-resolution per-" "process CPU timer." msgstr "" +":data:`time.CLOCK_PROF` (FreeBSD, NetBSD y OpenBSD): Temporizador de CPU por " +"proceso de alta resolución." #: ../Doc/whatsnew/3.7.rst:1460 msgid "" @@ -2412,6 +2858,9 @@ msgid "" "the time the system has been running and not suspended, providing accurate " "uptime measurement." msgstr "" +":data:`time.CLOCK_UPTIME` (FreeBSD, OpenBSD): Hora cuyo valor absoluto es el " +"tiempo que el sistema ha estado funcionando y no suspendido, proporcionando " +"una medición precisa del tiempo de actividad." #: ../Doc/whatsnew/3.7.rst:1464 msgid "" @@ -2419,26 +2868,33 @@ msgid "" "can be used to get per-thread CPU time measurements. (Contributed by Antoine " "Pitrou in :issue:`32025`.)" msgstr "" +"La nuevas funciones :func:`time.thread_time` y :func:`time.thread_time_ns` " +"se puede utilizar para obtener medidas de tiempo de CPU por subproceso. " +"(Contribuido por *Antoine Pitrou* en :issue:`32025`.)" #: ../Doc/whatsnew/3.7.rst:1468 msgid "" "The new :func:`time.pthread_getcpuclockid` function returns the clock ID of " "the thread-specific CPU-time clock." msgstr "" +"La nueva función :func:`time.pthread_getcpuclockid` devuelve el ID de reloj " +"del reloj de tiempo de CPU específico del subproceso." #: ../Doc/whatsnew/3.7.rst:1473 msgid "tkinter" -msgstr "" +msgstr "*tkinter*" #: ../Doc/whatsnew/3.7.rst:1475 msgid "" "The new :class:`tkinter.ttk.Spinbox` class is now available. (Contributed by " "Alan Moore in :issue:`32585`.)" msgstr "" +"La nueva clase :class:`tkinter.ttk.Spinbox` esta disponible ahora. " +"(Contribuido por *Alan Moore* en :issue:`32585`.)" #: ../Doc/whatsnew/3.7.rst:1480 msgid "tracemalloc" -msgstr "" +msgstr "*tracemalloc*" #: ../Doc/whatsnew/3.7.rst:1482 msgid "" @@ -2449,10 +2905,17 @@ msgid "" "the new *most_recent_first* argument to ``Traceback.format()``. (Contributed " "by Jesse Bakker in :issue:`32121`.)" msgstr "" +":class:`tracemalloc.Traceback`se comporta más como tracebacks regulares, " +"ordenando los fotogramas del más antiguo al más reciente. :meth:`Traceback." +"format() ` ahora acepta *límite* negativo, " +"truncando el resultado a los marcos más antiguos de ``abs(limit)``. Para " +"obtener el comportamiento anterior, use el nuevo argumento " +"*most_recent_first* para ``Traceback.format()``. (Contribuido por *Jesse " +"Bakker* en :issue:`32121`.)" #: ../Doc/whatsnew/3.7.rst:1492 msgid "types" -msgstr "" +msgstr "*types*" #: ../Doc/whatsnew/3.7.rst:1494 msgid "" @@ -2462,6 +2925,11 @@ msgid "" "Krebber and Guido van Rossum in :issue:`29377`, and Serhiy Storchaka in :" "issue:`32265`.)" msgstr "" +"Las nuevas clases :class:`~types.WrapperDescriptorType`, :class:`~types." +"MethodWrapperType`, :class:`~types.MethodDescriptorType`, y :class:`~types." +"ClassMethodDescriptorType` ahora están disponibles. (Contribuido por *Manuel " +"Krebber* y *Guido van Rossum* en :issue:`29377`, y *Serhiy Storchaka* en :" +"issue:`32265`.)" #: ../Doc/whatsnew/3.7.rst:1500 msgid "" @@ -2469,10 +2937,13 @@ msgid "" "dynamically as specified by :pep:`560`. (Contributed by Ivan Levkivskyi in :" "issue:`32717`.)" msgstr "" +"La nueva función :func:`types.resolve_bases` resuelve las entradas MRO " +"dinámicamente según lo especificado por :pep:`560`. (Contribuido por *Ivan " +"Levkivskyi* en :issue:`32717`.)" #: ../Doc/whatsnew/3.7.rst:1506 msgid "unicodedata" -msgstr "" +msgstr "*unicodedata*" #: ../Doc/whatsnew/3.7.rst:1508 msgid "" @@ -2480,10 +2951,13 @@ msgid "" "11 `_. (Contributed by " "Benjamin Peterson.)" msgstr "" +"La base de datos interna :mod:`unicodedata` ha sido actualizada para usar " +"`Unicode 11 `_. (Contribuido " +"por *Benjamin Peterson*.)" #: ../Doc/whatsnew/3.7.rst:1514 msgid "unittest" -msgstr "" +msgstr "*unittest*" #: ../Doc/whatsnew/3.7.rst:1516 msgid "" @@ -2493,10 +2967,15 @@ msgid "" "test_foo``, but not ``bar_tests.FooTest.test_something``. (Contributed by " "Jonas Haag in :issue:`32071`.)" msgstr "" +"La nueva opción de la linea de comandos ``-k`` permite filtrar pruebas por " +"una subcadena de nombre o un patrón similar a un shell de Unix. Por ejemplo, " +"`python -m unittest -k foo`` ejecuta ``foo_tests.SomeTest.test_something``, " +"``bar_tests.SomeTest.test_foo``, pero no ``bar_tests.FooTest." +"test_something``. (Contribuido por *Jonas Haag* en :issue:`32071`.)" #: ../Doc/whatsnew/3.7.rst:1525 msgid "unittest.mock" -msgstr "" +msgstr "*unittest.mock*" #: ../Doc/whatsnew/3.7.rst:1527 msgid "" @@ -2504,6 +2983,9 @@ msgid "" "when they are :mod:`copied ` or :mod:`pickled `. (Contributed " "by Serhiy Storchaka in :issue:`20804`.)" msgstr "" +"Los atributos :const:`~unittest.mock.sentinel` ahora preservan su identidad " +"cuando están :mod:`copied ` o :mod:`pickled `. (Contribuido " +"por *Serhiy Storchaka* en :issue:`20804`.)" #: ../Doc/whatsnew/3.7.rst:1531 msgid "" @@ -2512,6 +2994,11 @@ msgid "" "attribute mocks. The seal is applied recursively to all attributes that are " "themselves mocks. (Contributed by Mario Corchero in :issue:`30541`.)" msgstr "" +"La nueva función :func:`~unittest.mock.seal` permite sellar instancias :" +"class:`~unittest.mock.Mock`, que no permitirá la creación de simulacros de " +"atributos. El sello se aplica de forma recursiva a todos los atributos que " +"en sí mismos son burlas. (Contribuido por *Mario Corchero* en :issue:" +"`30541`.)" #: ../Doc/whatsnew/3.7.rst:1539 msgid "urllib.parse" @@ -2523,6 +3010,10 @@ msgid "" "adding ``~`` to the set of characters that are never quoted by default. " "(Contributed by Christian Theune and Ratnadeep Debnath in :issue:`16285`.)" msgstr "" +":func:`urllib.parse.quote` ha sido actualizada desde :rfc:`2396` a :rfc:" +"`3986`, agregado ``~`` para el conjunto de caracteres que nunca se cotizan " +"por defecto. (Contribuido por *Christian Theune* y *Ratnadeep Debnath* en :" +"issue:`16285`.)" #: ../Doc/whatsnew/3.7.rst:1547 msgid "uu" @@ -2563,6 +3054,12 @@ msgid "" "administered MAC addresses are available, the first such one found is " "returned. (Contributed by Barry Warsaw in :issue:`32107`.)" msgstr "" +":func:`uuid.getnode` ahora prefiere las direcciones MAC administradas " +"universalmente a las direcciones MAC administradas localmente. Esto ofrece " +"una mejor garantía de la unicidad global de los UUID devueltos desde :func:" +"`uuid.uuid1`. Si solo hay disponibles direcciones MAC administradas " +"localmente, se devuelve la primera que se encuentre. (Contribuido por *Barry " +"Warsaw* en :issue:`32107`.)" #: ../Doc/whatsnew/3.7.rst:1571 msgid "warnings" @@ -2581,6 +3078,10 @@ msgid "" "and the new CPython-specific :option:`-X` ``dev`` option) are always passed " "to the warnings machinery via the :data:`sys.warnoptions` attribute." msgstr "" +"advertencias habilitadas a través de opciones de línea de comando (incluidos " +"los de :option:`-b` y la nueva opción específica de CPython :option:`-X` " +"``dev``) siempre se pasan a la maquinaria de advertencias a través del " +"atributo :data:`sys.warnoptions`." #: ../Doc/whatsnew/3.7.rst:1579 msgid "" @@ -2596,34 +3097,45 @@ msgstr "el filtro ``BytesWarning`` para :option:`-b` (o ``-bb``)" #: ../Doc/whatsnew/3.7.rst:1583 msgid "any filters specified with the :option:`-W` option" -msgstr "" +msgstr "cualquier filtro especificado con la opción :option:`-W`" #: ../Doc/whatsnew/3.7.rst:1584 msgid "" "any filters specified with the :envvar:`PYTHONWARNINGS` environment variable" msgstr "" +"cualquier filtro especificado con la variable de entorno :envvar:" +"`PYTHONWARNINGS`" #: ../Doc/whatsnew/3.7.rst:1586 msgid "" "any other CPython specific filters (e.g. the ``default`` filter added for " "the new ``-X dev`` mode)" msgstr "" +"cualquier otro filtro específico de CPython (por ejemplo, el filtro " +"``default`` agregado para el nuevo modo ``-X dev``)" #: ../Doc/whatsnew/3.7.rst:1588 msgid "any implicit filters defined directly by the warnings machinery" msgstr "" +"cualquier filtro implícito definido directamente por la maquinaria de " +"advertencias" #: ../Doc/whatsnew/3.7.rst:1590 msgid "" "in CPython debug builds, all warnings are now displayed by default (the " "implicit filter list is empty)" msgstr "" +"en las compilaciones de depuración de CPython, ahora todas las advertencias " +"se muestran de forma predeterminada (la lista de filtros implícitos está " +"vacía)" #: ../Doc/whatsnew/3.7.rst:1593 msgid "" "(Contributed by Nick Coghlan and Victor Stinner in :issue:`20361`, :issue:" "`32043`, and :issue:`32230`.)" msgstr "" +"(Contribuido por *Nick Coghlan* y *Victor Stinner* en :issue:`20361`, :issue:" +"`32043`, and :issue:`32230`.)" #: ../Doc/whatsnew/3.7.rst:1596 msgid "" @@ -2631,10 +3143,14 @@ msgid "" "and at the interactive prompt. See :ref:`whatsnew37-pep565` for details. " "(Contributed by Nick Coghlan in :issue:`31975`.)" msgstr "" +"Las advertencias de obsolescencia se muestran una vez más de forma " +"predeterminada en scripts de un solo archivo y en el indicador interactivo. " +"Consultar :ref:`whatsnew37-pep565` para mas detalles. (Contribuido por *Nick " +"Coghlan* en :issue:`31975`.)" #: ../Doc/whatsnew/3.7.rst:1602 msgid "xml.etree" -msgstr "" +msgstr "*xml.etree*" #: ../Doc/whatsnew/3.7.rst:1604 msgid "" @@ -2643,6 +3159,11 @@ msgid "" "not only text in children. Predicates also allow adding spaces for better " "readability. (Contributed by Stefan Behnel in :issue:`31648`.)" msgstr "" +":ref:`ElementPath ` predicados en los métodos :meth:" +"`find` ahora pueden comparar el texto del nodo actual con ```[. = “text”]``, " +"no solo texto en niños. Los predicados también permiten agregar espacios " +"para una mejor legibilidad. (Contribuido por *Stefan Behnel* en :issue:" +"`31648`.)" #: ../Doc/whatsnew/3.7.rst:1611 msgid "xmlrpc.server" @@ -2679,6 +3200,10 @@ msgid "" "compress`` has also been added to support compression. (Contributed by " "Zhiming Wang in :issue:`31638`.)" msgstr "" +"Función :func:`~zipapp.create_archive` ahora acepta un argumento opcional * " +"comprimido * para generar un archivo comprimido. También se ha agregado una " +"opción de línea de comando ``—compress`` para admitir la compresión. " +"(Contribuido por *Zhiming Wang* en :issue:`31638`.)" #: ../Doc/whatsnew/3.7.rst:1632 msgid "zipfile" @@ -2713,6 +3238,10 @@ msgid "" "for a complete reference. (Contributed by Masayuki Yamamoto in :issue:" "`25658`.)" msgstr "" +"Se implementó una nueva API para el almacenamiento local de subprocesos. " +"Ver :ref:`whatsnew37-pep539` para una descripción general y :ref:`thread-" +"specific-storage-api` para una referencia completa. (Contribuido por " +"*Masayuki Yamamoto* en :issue:`25658`.)" #: ../Doc/whatsnew/3.7.rst:1651 msgid "" @@ -2756,6 +3285,9 @@ msgid "" "`PyTraceMalloc_Track` and :c:func:`PyTraceMalloc_Untrack` functions. " "(Contributed by Victor Stinner in :issue:`30054`.)" msgstr "" +"El :mod:`tracemalloc` ahora expone una API C a través de las nuevas " +"funciones :c:func:`PyTraceMalloc_Track` y :c:func:`PyTraceMalloc_Untrack`. " +"(Contribuido por *Victor Stinner* en :issue:`30054`.)" #: ../Doc/whatsnew/3.7.rst:1671 msgid "" @@ -2763,6 +3295,10 @@ msgid "" "`import__find__load__done` static markers can be used to trace module " "imports. (Contributed by Christian Heimes in :issue:`31574`.)" msgstr "" +"Los nuevos marcadores estáticos :c:func:`import__find__load__start` y :c:" +"func:`import__find__load__done` se pueden usar para rastrear las " +"importaciones de módulos. (Contribuido por *Christian Heimes* en :issue:" +"`31574`.)" #: ../Doc/whatsnew/3.7.rst:1676 msgid "" @@ -2772,6 +3308,11 @@ msgid "" "``const char *`` rather of ``char *``. (Contributed by Serhiy Storchaka in :" "issue:`28761`.)" msgstr "" +"Los campos :c:member:`name` and :c:member:`doc` de estructuras :c:type:" +"`PyMemberDef`, :c:type:`PyGetSetDef`, :c:type:`PyStructSequence_Field`, :c:" +"type:`PyStructSequence_Desc`, y :c:type:`wrapperbase` ahora son de tipo " +"``const char *`` en lugar de ``char *``. (Contribuido por *Serhiy Storchaka* " +"en :issue:`28761`.)" #: ../Doc/whatsnew/3.7.rst:1682 msgid "" @@ -2779,6 +3320,9 @@ msgid "" "`PyUnicode_AsUTF8` is now of type ``const char *`` rather of ``char *``. " "(Contributed by Serhiy Storchaka in :issue:`28769`.)" msgstr "" +"El resultado de :c:func:`PyUnicode_AsUTF8AndSize` y :c:func:" +"`PyUnicode_AsUTF8` es ahora de tipo ``const char *`` en lugar de ``char *``. " +"(Contribuido por *Serhiy Storchaka* en :issue:`28769`.)" #: ../Doc/whatsnew/3.7.rst:1686 msgid "" @@ -2786,6 +3330,9 @@ msgid "" "func:`PyMapping_Items` is now always a list, rather than a list or a tuple. " "(Contributed by Oren Milman in :issue:`28280`.)" msgstr "" +"El resultado de :c:func:`PyMapping_Keys`, :c:func:`PyMapping_Values` y :c:" +"func:`PyMapping_Items` ahora es siempre una lista, en lugar de una lista o " +"una tupla. (Contribuido por *Oren Milman* en :issue:`28280`.)" #: ../Doc/whatsnew/3.7.rst:1690 msgid "" @@ -2802,6 +3349,9 @@ msgid "" "func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` and :c:func:" "`PyOS_AfterFork_Child`. (Contributed by Antoine Pitrou in :issue:`16500`.)" msgstr "" +":c:func:`PyOS_AfterFork` está en desuso en favor de las nuevas funciones :c:" +"func:`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` y :c:func:" +"`PyOS_AfterFork_Child`. (Contribuido por *Antoine Pitrou* en :issue:`16500`.)" #: ../Doc/whatsnew/3.7.rst:1698 msgid "" @@ -2810,6 +3360,10 @@ msgid "" "during finalization of the interpreter. Contributed by Xavier de Gaye in :" "issue:`22898` and :issue:`30697`." msgstr "" +"El único ``PyExc_RecursionErrorInst`` que formaba parte de la API pública se " +"ha eliminado ya que sus miembros nunca borrados pueden causar un error de " +"segmentación durante la finalización del intérprete. Contribuido por *Xavier " +"de Gaye* en :issue:`22898` y :issue:`30697`." #: ../Doc/whatsnew/3.7.rst:1703 msgid "" @@ -2818,6 +3372,10 @@ msgid "" "access to the UTC singleton with :c:data:`PyDateTime_TimeZone_UTC`. " "Contributed by Paul Ganssle in :issue:`10381`." msgstr "" +"Se agregó compatibilidad con C API para zonas horarias con constructores de " +"zonas horarias :c:func:`PyTimeZone_FromOffset` and :c:func:" +"`PyTimeZone_FromOffsetAndName`, y acceso único al UTC con :c:data:" +"`PyDateTime_TimeZone_UTC`. Contribuido por *Paul Ganssle* en :issue:`10381`." #: ../Doc/whatsnew/3.7.rst:1708 msgid "" @@ -2826,6 +3384,10 @@ msgid "" "`PyThreadState_SetAsyncExc` changed from :c:type:`long` to :c:type:`unsigned " "long`. (Contributed by Serhiy Storchaka in :issue:`6532`.)" msgstr "" +"El tipo de resultados de :c:func:`PyThread_start_new_thread` y :c:func:" +"`PyThread_get_thread_ident`, y el parámetro *id* de :c:func:" +"`PyThreadState_SetAsyncExc` cambiaron desde :c:type:`long` a :c:type:" +"`unsigned long`. (Contribuido por *Serhiy Storchaka* en :issue:`6532`.)" #: ../Doc/whatsnew/3.7.rst:1714 msgid "" @@ -2833,6 +3395,9 @@ msgid "" "second argument is ``NULL`` and the :c:type:`wchar_t*` string contains null " "characters. (Contributed by Serhiy Storchaka in :issue:`30708`.)" msgstr "" +":c:func:`PyUnicode_AsWideCharString` ahora genera un :exc:`ValueError` si el " +"segundo argumento es ``NULL`` y la cadena :c:type:`wchar_t*` contiene " +"caracteres nulos. (Contribuido por *Serhiy Storchaka* en :issue:`30708`.)" #: ../Doc/whatsnew/3.7.rst:1718 msgid "" @@ -2844,12 +3409,21 @@ msgid "" "and the :ref:`pre-init-safe` section in the C API documentation for more " "details." msgstr "" +"Los cambios en la secuencia de inicio y la gestión de los asignadores de " +"memoria dinámica significan que el requisito documentado durante mucho " +"tiempo de llamar :c:func:`Py_Initialize` antes de llamar a la mayoría de las " +"funciones de la API de C, ahora se confía más en él, y no cumplirlo puede " +"provocar errores de segmentación en las aplicaciones integradas. Ver la " +"sección :ref:`porting-to-python-37` en este documento y en la sección :ref:" +"`pre-init-safe` en la documentación de la API de C para obtener más detalles." #: ../Doc/whatsnew/3.7.rst:1726 msgid "" "The new :c:func:`PyInterpreterState_GetID` returns the unique ID for a given " "interpreter. (Contributed by Eric Snow in :issue:`29102`.)" msgstr "" +"El nuevo: c: func :c:func:`PyInterpreterState_GetID` devuelve él ID único " +"para un intérprete dado. (Contribuido por *Eric Snow* en :issue:`29102`.)" #: ../Doc/whatsnew/3.7.rst:1730 msgid "" @@ -2857,6 +3431,9 @@ msgid "" "encoding when the :ref:`UTF-8 mode ` is enabled. " "(Contributed by Victor Stinner in :issue:`29240`.)" msgstr "" +":c:func:`Py_DecodeLocale`, :c:func:`Py_EncodeLocale` ahora usa la " +"codificación UTF-8 cuando el :ref:`modo UTF-8 ` esta " +"habilitado. (Contribuido por *Victor Stinner* en :issue:`29240`.)" #: ../Doc/whatsnew/3.7.rst:1734 msgid "" @@ -2864,6 +3441,9 @@ msgid "" "now use the current locale encoding for ``surrogateescape`` error handler. " "(Contributed by Victor Stinner in :issue:`29240`.)" msgstr "" +":c:func:`PyUnicode_DecodeLocaleAndSize` y :c:func:`PyUnicode_EncodeLocale` " +"ahora usan la codificación local actual para el controlador de errores " +"``surrogateescape``. (Contribuido por *Victor Stinner* en :issue:`29240`.)" #: ../Doc/whatsnew/3.7.rst:1738 msgid "" @@ -2871,6 +3451,9 @@ msgid "" "adjusted to behave like string slices. (Contributed by Xiang Zhang in :issue:" "`28822`.)" msgstr "" +"Los parámetros *start* y *end* de :c:func:`PyUnicode_FindChar` ahora se " +"ajustan para comportarse como cortes de cuerda. (Contribuido por *Xiang " +"Zhang* en :issue:`28822`.)" #: ../Doc/whatsnew/3.7.rst:1744 msgid "Build Changes" @@ -2882,6 +3465,9 @@ msgid "" "`threading` module is now always available. (Contributed by Antoine Pitrou " "in :issue:`31370`.)." msgstr "" +"Se ha eliminado el soporte para construir ``—without-threads``. El módulo :" +"mod:`threading` ahora está siempre disponible. (Contribuido por *Antoine " +"Pitrou* en :issue:`31370`.)." #: ../Doc/whatsnew/3.7.rst:1750 msgid "" @@ -2890,6 +3476,10 @@ msgid "" "libffi is now required when building ``_ctypes`` on such platforms. " "(Contributed by Zachary Ware in :issue:`27979`.)" msgstr "" +"Ya no se incluye una copia completa de libffi para su uso al compilar el " +"módulo :mod:`_ctypes ` en plataformas que no son OSX UNIX. Ahora se " +"requiere una copia instalada de libffi al construir ``_ctypes`` en tales " +"plataformas. (Contribuido por *Zachary Ware* en :issue:`27979`.)" #: ../Doc/whatsnew/3.7.rst:1755 msgid "" @@ -2899,6 +3489,12 @@ msgid "" "is used to download a copy of 32-bit Python for this purpose. (Contributed " "by Zachary Ware in :issue:`30450`.)" msgstr "" +"El proceso de compilación de Windows ya no depende de Subversion para " +"extraer fuentes externas; en su lugar, se usa un script de Python para " +"descargar archivos zip desde GitHub. Si no se encuentra Python 3.6 en el " +"sistema (a través de ``py -3.6``), NuGet se usa para descargar una copia de " +"Python de 32 bits para este propósito. (Contribuido por *Zachary Ware* en :" +"issue:`30450`.)" #: ../Doc/whatsnew/3.7.rst:1761 msgid "" @@ -2907,6 +3503,11 @@ msgid "" "supported. LibreSSL is temporarily not supported as well. LibreSSL releases " "up to version 2.6.4 are missing required OpenSSL 1.0.2 APIs." msgstr "" +"El módulo :mod:`ssl` requiere libssl compatible con OpenSSL 1.0.2 o 1.1. " +"OpenSSL 1.0.1 llegó al final de su vida útil el 31 de diciembre de 2016 y ya " +"no es compatible. LibreSSL tampoco es compatible temporalmente. Las " +"versiones de LibreSSL hasta la versión 2.6.4 carecen de las API de OpenSSL " +"1.0.2 necesarias." #: ../Doc/whatsnew/3.7.rst:1770 msgid "Optimizations" @@ -2919,6 +3520,11 @@ msgid "" "the ``METH_FASTCALL`` convention. (Contributed by Victor Stinner in :issue:" "`29300`, :issue:`29507`, :issue:`29452`, and :issue:`29286`.)" msgstr "" +"La sobrecarga de llamar a muchos métodos de varias clases de biblioteca " +"estándar implementadas en C se ha reducido significativamente al portar más " +"código para usar la convención ``METH_FASTCALL``. (Contribuido por *Victor " +"Stinner* en :issue:`29300`, :issue:`29507`, :issue:`29452`, y :issue:" +"`29286`.)" #: ../Doc/whatsnew/3.7.rst:1778 #, python-format @@ -2927,6 +3533,9 @@ msgid "" "up to 30% on macOS. (Contributed by Victor Stinner, INADA Naoki in :issue:" "`29585`, and Ivan Levkivskyi in :issue:`31333`.)" msgstr "" +"Varias optimizaciones han reducido el tiempo de inicio de Python en un " +"10% en Linux y hasta en un 30% en macOS. (Contribuido por *Victor Stinner*, " +"*INADA Naoki* en :issue:`29585`, y *Ivan Levkivskyi* en :issue:`31333`.)" #: ../Doc/whatsnew/3.7.rst:1783 #, python-format @@ -2935,6 +3544,10 @@ msgid "" "avoid creating bound method instances. (Contributed by Yury Selivanov and " "INADA Naoki in :issue:`26110`.)" msgstr "" +"Las llamadas a métodos ahora son hasta un 20% más rápidas debido a los " +"cambios de código de bytes que evitan la creación de instancias de métodos " +"enlazados. (Contribuidos por *Yury Selivanov* y *INADA Naoki* en :issue:" +"`26110`.)" #: ../Doc/whatsnew/3.7.rst:1789 msgid "" @@ -2950,12 +3563,17 @@ msgid "" "make it up to 15 times faster. (Contributed by Yury Selivanov in :issue:" "`32296`.)" msgstr "" +"La función :func:`asyncio.get_event_loop` se ha vuelto a implementar en C " +"para hacerlo hasta 15 veces más rápido. (Contribuido por *Yury Selivanov* " +"en :issue:`32296`.)" #: ../Doc/whatsnew/3.7.rst:1796 msgid "" ":class:`asyncio.Future` callback management has been optimized. (Contributed " "by Yury Selivanov in :issue:`32348`.)" msgstr "" +"Se ha optimizado la gestión de devolución de llamada :class:`asyncio." +"Future`. (Contribuido por *Yury Selivanov* en :issue:`32348`.)" #: ../Doc/whatsnew/3.7.rst:1799 #, python-format @@ -2963,18 +3581,25 @@ msgid "" ":func:`asyncio.gather` is now up to 15% faster. (Contributed by Yury " "Selivanov in :issue:`32355`.)" msgstr "" +":func:`asyncio.gather` ahora es hasta un 15% más rápido. (Contribuido por " +"*Yury Selivanov* en :issue:`32355`.)" #: ../Doc/whatsnew/3.7.rst:1802 msgid "" ":func:`asyncio.sleep` is now up to 2 times faster when the *delay* argument " "is zero or negative. (Contributed by Andrew Svetlov in :issue:`32351`.)" msgstr "" +":func:`asyncio.sleep` ahora es hasta 2 veces más rápido cuando el argumento " +"*delay* es cero o negativo. (Contribuido por *Andrew Svetlov* en :issue:" +"`32351`.)" #: ../Doc/whatsnew/3.7.rst:1806 msgid "" "The performance overhead of asyncio debug mode has been reduced. " "(Contributed by Antoine Pitrou in :issue:`31970`.)" msgstr "" +"Se ha reducido la sobrecarga de rendimiento del modo de depuración asyncio. " +"(Contribuido por *Antoine Pitrou* en :issue:`31970`.)" #: ../Doc/whatsnew/3.7.rst:1809 msgid "" @@ -2982,6 +3607,10 @@ msgid "" "mod:`typing` has been reduced by a factor of 7, and many typing operations " "are now faster. (Contributed by Ivan Levkivskyi in :issue:`32226`.)" msgstr "" +"Como resultado de :ref:`PEP 560 trabajo `, el tiempo de " +"importación de :mod:`typing` se ha reducido en un factor de 7, y muchas " +"operaciones de tipeo ahora son más rápidas. (Contribuido por *Ivan " +"Levkivskyi* en :issue:`32226`.)" #: ../Doc/whatsnew/3.7.rst:1814 #, python-format @@ -2990,12 +3619,17 @@ msgid "" "be up to 40-75% faster. (Contributed by Elliot Gorokhovsky in :issue:" "`28685`.)" msgstr "" +":func:`sorted` y :meth:`list.sort` se han optimizado para que los casos " +"comunes sean hasta un 40-75% más rápidos. (Contribuido por *Elliot " +"Gorokhovsky* en :issue:`28685`.)" #: ../Doc/whatsnew/3.7.rst:1818 msgid "" ":meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury " "Selivanov in :issue:`31179`.)" msgstr "" +"meth:`dict.copy` es ahora 5.5 veces más rápido. (Contribuido por *Yury " +"Selivanov* en :issue:`31179`.)" #: ../Doc/whatsnew/3.7.rst:1821 msgid "" @@ -3003,6 +3637,10 @@ msgid "" "is not found and *obj* does not override :meth:`object.__getattr__` or :meth:" "`object.__getattribute__`. (Contributed by INADA Naoki in :issue:`32544`.)" msgstr "" +":func:`hasattr` y :func:`getattr` ahora son aproximadamente 4 veces más " +"rápidos cuando *name* no se encuentra y *obj* no se anula :meth:`object." +"__getattr__` o :meth:`object.__getattribute__`. (Contribuido por *INADA " +"Naoki* en :issue:`32544`.)" #: ../Doc/whatsnew/3.7.rst:1826 msgid "" @@ -3011,6 +3649,10 @@ msgid "" "now only 3 times slower in the worst case. (Contributed by Serhiy Storchaka " "in :issue:`24821`.)" msgstr "" +"La búsqueda de ciertos caracteres Unicode (como la mayúscula ucraniana “Є”) " +"en una cadena fue hasta 25 veces más lenta que la búsqueda de otros " +"caracteres. Ahora es solo 3 veces más lento en el peor de los casos. " +"(Contribuido por *Serhiy Storchaka* en :issue:`24821`.)" #: ../Doc/whatsnew/3.7.rst:1831 msgid "" @@ -3019,6 +3661,10 @@ msgid "" "Zijlstra with further improvements by INADA Naoki, Serhiy Storchaka, and " "Raymond Hettinger in :issue:`28638`.)" msgstr "" +"La fábrica :func:`collections.namedtuple` ha sido reimplementada para hacer " +"que la creación de tuplas con nombre sea de 4 a 6 veces más rápida. " +"(Contribuido por *Jelle Zijlstra* con nuevas mejoras de *INADA Naoki*, " +"*Serhiy Storchaka*, y *Raymond Hettinger* en :issue:`28638`.)" #: ../Doc/whatsnew/3.7.rst:1836 #, python-format @@ -3027,12 +3673,17 @@ msgid "" "30% faster in the common case. (Contributed by Paul Ganssle in :issue:" "`32403`.)" msgstr "" +":meth:`date.fromordinal` y :meth:`date.fromtimestamp` ahora son hasta un 30% " +"más rápidos en el caso común. (Contribuido por *Paul Ganssle* en :issue:" +"`32403`.)" #: ../Doc/whatsnew/3.7.rst:1840 msgid "" "The :func:`os.fwalk` function is now up to 2 times faster thanks to the use " "of :func:`os.scandir`. (Contributed by Serhiy Storchaka in :issue:`25996`.)" msgstr "" +"La función :func:`os.fwalk` es ahora 2 veces mas rápida gracias al uso de :" +"func:`os.scandir`. (Contribuido por *Serhiy Storchaka* en :issue:`25996`.)" #: ../Doc/whatsnew/3.7.rst:1844 msgid "" @@ -3040,6 +3691,9 @@ msgid "" "thanks to the use of the :func:`os.scandir` function. (Contributed by Serhiy " "Storchaka in :issue:`28564`.)" msgstr "" +"La rapidez de la función :func:`shutil.rmtree` se ha mejorado en un 20-40% " +"gracias al uso de la función :func:`os.scandir`. (Contribuido por *Serhiy " +"Storchaka* en :issue:`28564`.)" #: ../Doc/whatsnew/3.7.rst:1848 msgid "" @@ -3047,6 +3701,10 @@ msgid "" "expressions `. Searching some patterns can now be up to 20 times " "faster. (Contributed by Serhiy Storchaka in :issue:`30285`.)" msgstr "" +"Búsqueda y coincidencia optimizadas que no distinguen entre mayúsculas y " +"minúsculas de :mod:`expresiones regulares `. La búsqueda de algunos " +"patrones ahora puede ser hasta 20 veces más rápida. (Contribuido por *Serhiy " +"Storchaka* en :issue:`30285`.)" #: ../Doc/whatsnew/3.7.rst:1852 #, python-format @@ -3056,6 +3714,10 @@ msgid "" "by about 10% depending on the pattern. (Contributed by INADA Naoki in :issue:" "`31671`.)" msgstr "" +":func:`re.compile` ahora convierte el parámetro ``flags`` en un objeto int " +"si es ``RegexFlag``. Ahora es tan rápido como Python 3.5 y más rápido que " +"Python 3.6 en aproximadamente un 10% dependiendo del patrón. (Contribuido " +"por *INADA Naoki* en :issue:`31671`.)" #: ../Doc/whatsnew/3.7.rst:1857 #, python-format @@ -3065,6 +3727,10 @@ msgid "" "`selectors.DevpollSelector` may be around 10% faster under heavy loads. " "(Contributed by Giampaolo Rodola' in :issue:`30014`)" msgstr "" +"El método :meth:`~selectors.BaseSelector.modify` de la clase :class:" +"`selectors.EpollSelector`, :class:`selectors.PollSelector` y :class:" +"`selectors.DevpollSelector` puede ser alrededor de un 10% más rápido bajo " +"cargas pesadas. (Contribuido por *Giampaolo Rodola* en :issue:`30014`)" #: ../Doc/whatsnew/3.7.rst:1862 msgid "" @@ -3073,6 +3739,10 @@ msgid "" "(Contributed by Eugene Toder and INADA Naoki in :issue:`29469` and :issue:" "`11549`.)" msgstr "" +"El plegado constante se ha movido del optimizador de mirilla al nuevo " +"optimizador AST, que puede realizar optimizaciones de manera más " +"consistente. (Contribuid por *Eugene Toder* y *INADA Naoki* en :issue:" +"`29469` y :issue:`11549`.)" #: ../Doc/whatsnew/3.7.rst:1867 msgid "" @@ -3082,6 +3752,11 @@ msgid "" "time by up to 10%. (Contributed by Ivan Levkivskyi and INADA Naoki in :issue:" "`31333`)" msgstr "" +"La mayoría de funciones y métodos en :mod:`abc` se han reescrito en C. Esto " +"hace que la creación de clases base abstractas y la llamada a :func:" +"`isinstance` y :func:`issubclass` en ellas sean 1.5 veces más rápidas. Esto " +"también reduce el tiempo de inicio de Python hasta en un 10%. (Contribuido " +"por *Ivan Levkivskyi* y *INADA Naoki* en :issue:`31333`)" #: ../Doc/whatsnew/3.7.rst:1873 msgid "" @@ -3090,6 +3765,10 @@ msgid "" "constructors when not constructing subclasses. (Contributed by Paul Ganssle " "in :issue:`32403`)" msgstr "" +"Mejoras significativas de velocidad para constructores alternativos para :" +"class:`datetime.date` y :class:`datetime.datetime` mediante el uso de " +"constructores de ruta rápida cuando no se construyen subclases. (Contribuido " +"por *Paul Ganssle* en :issue:`32403`)" #: ../Doc/whatsnew/3.7.rst:1878 msgid "" @@ -3098,6 +3777,10 @@ msgid "" "comparing arrays holding values of the same integer type. (Contributed by " "Adrian Wielgosik in :issue:`24700`.)" msgstr "" +"La velocidad de comparación de instancias de :class:`array.array` se ha " +"mejorado considerablemente en determinados casos. Ahora es de 10 a 70 veces " +"más rápido cuando se comparan matrices que contienen valores del mismo tipo " +"de entero. (Contribuido por *Adrian Wielgosik* en :issue:`24700`.)" #: ../Doc/whatsnew/3.7.rst:1883 msgid "" @@ -3120,6 +3803,11 @@ msgid "" "``f_trace_lines`` and ``f_trace_opcodes`` attributes on the frame being " "traced. (Contributed by Nick Coghlan in :issue:`31344`.)" msgstr "" +"Los ganchos de seguimiento ahora pueden optar por no recibir la ``linea`` y " +"optar por recibir los eventos ``opcode`` del intérprete configurando los " +"nuevos atributos correspondientes ``f_trace_lines`` y ``f_trace_opcodes`` en " +"el marco que se está rastreando . (Contribuido por *Nick Coghlan* en :issue:" +"`31344`.)" #: ../Doc/whatsnew/3.7.rst:1896 msgid "" @@ -3131,6 +3819,14 @@ msgid "" "``__loader__`` (previously, the former was set to ``None``). See :issue:" "`32303`." msgstr "" +"Se corrigieron algunos problemas de coherencia con los atributos del módulo " +"del paquete de espacio de nombres. Los objetos del módulo de espacio de " +"nombres ahora tienen un ``__file__`` que está configurado como ``None`` " +"(previamente no configurado), y su ``__spec__.origin`` también está " +"configurado como ``None`` (anteriormente la cadena ``”espacio de nombres”`). " +"Ver :issue:`32305`. Además, el ``__spec__.loader`` del objeto del módulo de " +"espacio de nombres se establece en el mismo valor que ``__loader__`` " +"(anteriormente, el primero se estableció en ``None``). Ver :issue:`32303`." #: ../Doc/whatsnew/3.7.rst:1904 msgid "" @@ -3138,6 +3834,9 @@ msgid "" "variables were defined. Previously, the order was undefined. (Contributed " "by Raymond Hettinger in :issue:`32690`.)" msgstr "" +"El diccionario :func:`locals` ahora se muestra en el orden léxico en que se " +"definieron las variables. Anteriormente, el orden no estaba definido. " +"(Contribuido por *Raymond Hettinger* en :issue:`32690`.)" #: ../Doc/whatsnew/3.7.rst:1908 msgid "" @@ -3146,6 +3845,10 @@ msgid "" "ended with a byte equivalent to CR. (Contributed by Bo Bayles in :issue:" "`32304`.)" msgstr "" +"El comando :mod:`distutils` ``upload`` ya no intenta cambiar los caracteres " +"de fin de línea de CR a CRLF. Esto soluciona un problema de corrupción con " +"*sdists* que terminaba con un byte equivalente a CR. (Contribuido por *Bo " +"Bayles* en :issue:`32304`.)" #: ../Doc/whatsnew/3.7.rst:1915 msgid "Deprecated Python Behavior" @@ -3164,6 +3867,17 @@ msgid "" "in Python 3.8 this will be a :exc:`SyntaxError`. (Contributed by Serhiy " "Storchaka in :issue:`10544`.)" msgstr "" +"Las expresiones de rendimiento (tanto las cláusulas ``yield`` como las " +"cláusulas ``yield from``) ahora están en desuso en las comprensiones y las " +"expresiones generadoras (aparte de la expresión iterable en la cláusula más " +"a la izquierda :keyword:`!for`). Esto asegura que las comprensiones siempre " +"devuelvan inmediatamente un contenedor del tipo apropiado (en lugar de " +"potencialmente devolver un objeto :term:`generator iterator`), mientras que " +"las expresiones generadoras no intentarán intercalar su salida implícita con " +"la salida de ninguna expresión de rendimiento explícita. En Python 3.7, " +"tales expresiones emiten :exc:`DeprecationWarning` cuando se compilan, en " +"Python 3.8 será un :exc:`SyntaxError`. (Contribuido por *Serhiy Storchaka* " +"en :issue:`10544`.)" #: ../Doc/whatsnew/3.7.rst:1928 msgid "" @@ -3204,6 +3918,11 @@ msgid "" "the synchronization resource. (Contributed by Andrew Svetlov in :issue:" "`32253`.)" msgstr "" +"Se ha desaprobado el soporte para instancias en ``await`` de :class:`asyncio." +"Lock` y otras primitivas de sincronización asyncio directamente. Se debe " +"utilizar un administrador de contexto asincrónico para adquirir y liberar el " +"recurso de sincronización. (Contribuido por *Andrew Svetlov* en :issue:" +"`32253`.)" #: ../Doc/whatsnew/3.7.rst:1958 msgid "" @@ -3211,6 +3930,9 @@ msgid "" "methods have been deprecated. (Contributed by Andrew Svetlov in :issue:" "`32250`.)" msgstr "" +"Los métodos :meth:`asyncio.Task.current_task` y :meth:`asyncio.Task." +"all_tasks` han quedado obsoletos. (Contribuido por *Andrew Svetlov* en :" +"issue:`32250`.)" #: ../Doc/whatsnew/3.7.rst:1966 msgid "" @@ -3219,6 +3941,10 @@ msgid "" "create a clearer distinction between the concrete classes and the abstract " "base classes. (Contributed by Serhiy Storchaka in :issue:`25988`.)" msgstr "" +"En Python 3.8, las clases base abstractas en :mod:`collections.abc` ya no " +"estará expuesto en el módulo regular :mod:`collections`. Esto ayudará a " +"crear una distinción más clara entre las clases concretas y las clases base " +"abstractas. (Contribuido por *Serhiy Storchaka* en :issue:`25988`.)" #: ../Doc/whatsnew/3.7.rst:1976 msgid "" @@ -3228,6 +3954,11 @@ msgid "" "(this will be an error in future Python releases). (Contributed by Serhiy " "Storchaka in :issue:`28847`.)" msgstr "" +":mod:`dbm.dumb` ahora admite la lectura de archivos de solo lectura y ya no " +"escribe el archivo de índice cuando no se cambia. Ahora se emite una " +"advertencia de obsolescencia si falta el archivo de índice y se recrea en " +"los modos ``’r’`` y ``’w’``(esto será un error en futuras versiones de " +"Python). (Contribuido por *Serhiy Storchaka* en :issue:`28847`.)" #: ../Doc/whatsnew/3.7.rst:1986 msgid "" @@ -3238,6 +3969,11 @@ msgid "" "return :const:`False` instead. (Contributed by Ethan Furman in :issue:" "`33217`.)" msgstr "" +"En Python 3.8, intentar buscar objetos que no sean Enum en clases :class:" +"`Enum` generará un :exc:`TypeError` (por ejemplo, ``1 in Color``); de manera " +"similar, si se intenta buscar objetos que no sean miembro de la :class:" +"`Flag` se generará :exc:`TypeError` (por ejemplo, ``1 in Perm.RW``); " +"actualmente, ambas operaciones devuelven :const:`False` en su lugar." #: ../Doc/whatsnew/3.7.rst:1995 msgid "gettext" @@ -3263,18 +3999,29 @@ msgid "" "both deprecated in Python 3.4 now emit :exc:`DeprecationWarning`. " "(Contributed by Matthias Bussonnier in :issue:`29576`)" msgstr "" +"Métodos :meth:`MetaPathFinder.find_module() ` (reemplazado por :meth:`MetaPathFinder.find_spec() `) y :meth:`PathEntryFinder.find_loader() " +"` (reemplazado por :meth:" +"`PathEntryFinder.find_spec() `) " +"ambas en desuso en Python 3.4 ahora emiten :exc:`DeprecationWarning`. " +"(Contribuido por *Matthias Bussonnier* en :issue:`29576`)" #: ../Doc/whatsnew/3.7.rst:2016 msgid "" "The :class:`importlib.abc.ResourceLoader` ABC has been deprecated in favour " "of :class:`importlib.abc.ResourceReader`." msgstr "" +"El :class:`importlib.abc.ResourceLoader` ABC ha quedado obsoleto en favor " +"de :class:`importlib.abc.ResourceReader`." #: ../Doc/whatsnew/3.7.rst:2023 msgid "" ":func:`locale.format` has been deprecated, use :meth:`locale.format_string` " "instead. (Contributed by Garvit in :issue:`10379`.)" msgstr "" +":func:`locale.format` ha sido obsoleto, en su lugar use :meth:`locale." +"format_string`. (Contribuido por *Garvit* en :issue:`10379`.)" #: ../Doc/whatsnew/3.7.rst:2028 msgid "macpath" @@ -3381,6 +4128,11 @@ msgid "" "``0x03060100`` or higher. (Contributed by Serhiy Storchaka in :issue:" "`27867`.)" msgstr "" +"Función :c:func:`PySlice_GetIndicesEx` está en desuso y se reemplaza con una " +"macro si ``Py_LIMITED_API`` no está configurado o configurado en un valor en " +"el rango entre ``0x03050400``y ``0x03060000`` (no incluido), o es " +"``0x03060100`` o superior. (Contribuido por *Serhiy Storchaka* en :issue:" +"`27867`.)" #: ../Doc/whatsnew/3.7.rst:2095 msgid "" @@ -3389,6 +4141,10 @@ msgid "" "`PyOS_AfterFork_Child()` instead. (Contributed by Antoine Pitrou in :issue:" "`16500`.)" msgstr "" +":c:func:`PyOS_AfterFork` ha quedado obsoleto. En su lugar usar :c:func:" +"`PyOS_BeforeFork`, :c:func:`PyOS_AfterFork_Parent` o :c:func:" +"`PyOS_AfterFork_Child()`. (Contribuido por *Antoine Pitrou* en :issue:" +"`16500`.)" #: ../Doc/whatsnew/3.7.rst:2103 msgid "Platform Support Removals" @@ -3406,6 +4162,12 @@ msgid "" "locale), ``C.utf8`` (full locale) or ``UTF-8`` (``LC_CTYPE``-only locale) as " "an alternative to the legacy ``ASCII``-based ``C`` locale." msgstr "" +"Para una compatibilidad total con Unicode, incluso dentro de los módulos de " +"extensión, ahora se espera que las plataformas \\*nix proporcionen al menos " +"uno de ``C.UTF-8`` (configuración regional completa), ``C." +"utf8``(configuración regional completa) o ``UTF-8`` (configuración regional " +"exclusiva de ``LC_CTYPE``) como una alternativa a la configuración regional " +"``C`` heredada basada en ``ASCII``." #: ../Doc/whatsnew/3.7.rst:2110 msgid "" @@ -3414,6 +4176,10 @@ msgid "" "versions requires custom build options that link to a more recent version of " "OpenSSL." msgstr "" +"OpenSSL 0.9.8 y 1.0.1 ya no son compatibles, lo que significa que la " +"compilación de CPython 3.7 con compatibilidad con SSL / TLS en plataformas " +"más antiguas que aún usan estas versiones requiere opciones de compilación " +"personalizadas que se vinculan a una versión más reciente de OpenSSL." #: ../Doc/whatsnew/3.7.rst:2114 msgid "" @@ -3421,6 +4187,9 @@ msgid "" "(aka \"Trusty\") LTS Linux distributions, as they still use OpenSSL 1.0.1 by " "default." msgstr "" +"En particular, este problema afecta a las distribuciones LTS Linux Debian 8 " +"(también conocido como “jessie”) y Ubuntu 14.04 (también conocido como " +"“Trusty”), ya que todavía usan OpenSSL 1.0.1 por defecto." #: ../Doc/whatsnew/3.7.rst:2118 msgid "" @@ -3429,6 +4198,10 @@ msgid "" "use OpenSSL 1.0.2 or later, and remain supported in the default build " "configuration." msgstr "" +"Debian 9 (“stretch”) y Ubuntu 16.04 (“xenial”), así como las versiones " +"recientes de otras versiones de LTS Linux (por ejemplo, RHEL / CentOS 7.5, " +"SLES 12-SP3), usan OpenSSL 1.0.2 o posterior y siguen siendo compatibles en " +"la configuración de compilación predeterminada." #: ../Doc/whatsnew/3.7.rst:2122 msgid "" @@ -3437,6 +4210,11 @@ msgid "" "` in CPython's test suite to build and link " "against OpenSSL 1.1.0 rather than an outdated system provided OpenSSL." msgstr "" +"El propio :source:`archivo de configuración CI <.travis.yml>` de CPython " +"proporciona un ejemplo del uso de SSL :source:`compatibilidad con la " +"estructura de testing ` en el conjunto de " +"pruebas de CPython para compilar y vincular contra OpenSSL 1.1.0 en lugar de " +"un sistema obsoleto proporcionado OpenSSL." #: ../Doc/whatsnew/3.7.rst:2130 msgid "API and Feature Removals" @@ -3452,6 +4230,9 @@ msgid "" "in Python 2.3 for backward compatibility with Python 2.2, and was deprecated " "since Python 3.1." msgstr "" +"La función ``os.stat_float_times()`` ha sido removida. Se introdujo en " +"Python 2.3 por compatibilidad con versiones anteriores de Python 2.2 y quedó " +"obsoleto desde Python 3.1." #: ../Doc/whatsnew/3.7.rst:2138 msgid "" @@ -3459,12 +4240,18 @@ msgid "" "templates for :func:`re.sub` were deprecated in Python 3.5, and will now " "cause an error." msgstr "" +"Los escapes desconocidos que consisten en ``’\\’`` y una letra ASCII en las " +"plantillas de reemplazo para :func:`re.sub` quedaron obsoletos en Python 3.5 " +"y ahora causarán un error." #: ../Doc/whatsnew/3.7.rst:2142 msgid "" "Removed support of the *exclude* argument in :meth:`tarfile.TarFile.add`. It " "was deprecated in Python 2.7 and 3.2. Use the *filter* argument instead." msgstr "" +"Se eliminó el soporte del argumento * exclude * en :meth:`tarfile.TarFile." +"add`. Fue obsoleto en Python 2.7 y 3.2. Utilice el argumento * filtro * en " +"su lugar." #: ../Doc/whatsnew/3.7.rst:2145 msgid "" @@ -3472,6 +4259,9 @@ msgid "" "Python 3.1, and has now been removed. Use the :func:`~os.path.splitdrive` " "function instead." msgstr "" +"La función ``splitunc()`` en el módulo :mod:`ntpath` quedó obsoleto en " +"Python 3.1 y ahora se ha eliminado. Utilice la función :func:`~os.path." +"splitdrive` en su lugar." #: ../Doc/whatsnew/3.7.rst:2149 msgid "" @@ -3481,6 +4271,11 @@ msgid "" "creation. (Contributed by Jelle Zijlstra with further improvements by INADA " "Naoki, Serhiy Storchaka, and Raymond Hettinger in :issue:`28638`.)" msgstr "" +":func:`collections.namedtuple` ya no admite el parámetro *verbose* o el " +"atributo ``_source`` que mostraba el código fuente generado para la clase de " +"tupla nombrada. Esto fue parte de una optimización diseñada para acelerar la " +"creación de clases. (Contribuido por *Jelle Zijlstra* con nuevas mejoras de " +"*INADA Naoki*, *Serhiy Storchaka*, y *Raymond Hettinger* en :issue:`28638`.)" #: ../Doc/whatsnew/3.7.rst:2155 msgid "" @@ -3488,6 +4283,9 @@ msgid "" "longer take keyword arguments. The first argument of :func:`int` can now be " "passed only as positional argument." msgstr "" +"Funciones :func:`bool`, :func:`float`, :func:`list` y :func:`tuple` ya no " +"aceptan argumentos de palabras clave. El primer argumento de :func:`int` " +"ahora solo se puede pasar como argumento posicional." #: ../Doc/whatsnew/3.7.rst:2159 msgid "" @@ -3497,6 +4295,11 @@ msgid "" "readPlistFromBytes` are now normal dicts. You no longer can use attribute " "access to access items of these dictionaries." msgstr "" +"Eliminado anteriormente en desuso en las clases de Python 2.4 ``Plist``, " +"``Dict`` y ``_InternalDict`` en el módulo :mod:`plistlib`. Dictar valores en " +"el resultado de funciones :func:`~plistlib.readPlist` y :func:`~plistlib." +"readPlistFromBytes` ahora son dictados normales. Ya no puede utilizar el " +"acceso a atributos para acceder a elementos de estos diccionarios." #: ../Doc/whatsnew/3.7.rst:2165 msgid "" @@ -3528,12 +4331,19 @@ msgid "" "wrap_socket` or :class:`ssl.SSLContext`. (Contributed by Christian Heimes " "in :issue:`32951`.)" msgstr "" +"Instanciación directa de objetos :class:`ssl.SSLSocket` y :class:`ssl." +"SSLObject` ahora está prohibido. Los constructores nunca fueron " +"documentados, probados o diseñados como constructores públicos. Se suponía " +"que los usuarios usaban :func:`ssl.wrap_socket` o :class:`ssl.SSLContext`. " +"(Contribuido por *Christian Heimes* en :issue:`32951`.)" #: ../Doc/whatsnew/3.7.rst:2182 msgid "" "The unused :mod:`distutils` ``install_misc`` command has been removed. " "(Contributed by Eric N. Vander Weele in :issue:`29218`.)" msgstr "" +"El comando no utilizado :mod:`distutils` ``install_misc`` ha sido eliminado. " +"(Contribuido por *Eric N. Vander Weele* en :issue:`29218`.)" #: ../Doc/whatsnew/3.7.rst:2187 msgid "Module Removals" @@ -3546,6 +4356,10 @@ msgid "" "caused unexpected breakage of C extensions. (Contributed by Nathaniel J. " "Smith in :issue:`29137`.)" msgstr "" +"El modulo ``fpectl`` ha sido removido. Nunca se habilitó de forma " +"predeterminada, nunca funcionó correctamente en x86-64 y cambió la ABI de " +"Python de manera que causó la rotura inesperada de las extensiones C. " +"(Contribuido por *Nathaniel J. Smith* en :issue:`29137`.)" #: ../Doc/whatsnew/3.7.rst:2196 ../Doc/whatsnew/3.7.rst:2472 msgid "Windows-only Changes" @@ -3560,6 +4374,13 @@ msgid "" "been used. If the specified version is not available py.exe will error exit. " "(Contributed by Steve Barnes in :issue:`30291`.)" msgstr "" +"El lanzador de python, (py.exe), puede aceptar especificadores de 32 y 64 " +"bits **sin** tener que especificar también una versión secundaria. Entonces, " +"``py -3-32`` y ``py -3-64`` se vuelven válidos, así como ``py -3.7-32``, " +"también los -*m*-64 and -*m.n*-64. Los formularios ahora se aceptan para " +"forzar Python de 64 bits incluso si de otro modo se hubieran utilizado 32 " +"bits. Si la versión especificada no está disponible, py.exe saldrá del " +"error. (Contribuido por *Steve Barnes* en :issue:`30291`.)" #: ../Doc/whatsnew/3.7.rst:2205 msgid "" @@ -3569,6 +4390,12 @@ msgid "" "matched it will also print the *short form* list of available specifiers. " "(Contributed by Steve Barnes in :issue:`30362`.)" msgstr "" +"El lanzador se puede ejecutar como ``py -0`` para producir una lista de las " +"pitones instaladas, *con las marcas predeterminadas con un asterisco*. La " +"ejecución de ``py -0p`` incluirá las rutas. Si py se ejecuta con un " +"especificador de versión que no puede coincidir, también imprimirá la *forma " +"corta* lista de especificadores disponibles. (Contribuido por *Steve Barnes* " +"en :issue:`30362`.)" #: ../Doc/whatsnew/3.7.rst:2215 msgid "Porting to Python 3.7" @@ -3592,6 +4419,10 @@ msgid "" "using these names as identifiers will now raise a :exc:`SyntaxError`. " "(Contributed by Jelle Zijlstra in :issue:`30406`.)" msgstr "" +":keyword:`async` y :keyword:`await` los nombres ahora son palabras clave " +"reservadas. El código que usa estos nombres como identificadores generará " +"ahora un :exc:`SyntaxError`. (Contribuido por *Jelle Zijlstra* en :issue:" +"`30406`.)" #: ../Doc/whatsnew/3.7.rst:2228 msgid "" @@ -3600,6 +4431,10 @@ msgid "" "generators are transformed into :exc:`RuntimeError` exceptions. (Contributed " "by Yury Selivanov in :issue:`32670`.)" msgstr "" +":pep:`479` está habilitado para todo el código en Python 3.7, lo que " +"significa que las excepciones de :exc:`StopIteration` generadas directa o " +"indirectamente en corutinas y generadores se transforman en excepciones de :" +"exc:`RuntimeError`. (Contribuido por *Yury Selivanov* en :issue:`32670`.)" #: ../Doc/whatsnew/3.7.rst:2234 msgid "" @@ -3625,6 +4460,11 @@ msgid "" "can be omitted only on calls. (Contributed by Serhiy Storchaka in :issue:" "`32012` and :issue:`32023`.)" msgstr "" +"Python 3.7 ahora levanta correctamente una :exc:`SyntaxError`, como una " +"expresión generadora siempre debe estar directamente dentro de un conjunto " +"de paréntesis y no puede tener una coma a ambos lados, y la duplicación de " +"los paréntesis solo se puede omitir en las llamadas. (Contribuido por " +"*Serhiy Storchaka * en :issue:`32012` y :issue:`32023`.)" #: ../Doc/whatsnew/3.7.rst:2251 msgid "" @@ -3637,6 +4477,14 @@ msgid "" "depending on why the code was checking for the empty string in the first " "place)." msgstr "" +"Al usar el interruptor :option:`-m`, el directorio de trabajo inicial ahora " +"se agrega a: data :data:`sys.path`, en lugar de una cadena vacía (que denota " +"dinámicamente el directorio de trabajo actual en el momento de cada " +"importación). Cualquier programa que esté comprobando la cadena vacía, o que " +"dependa de otro modo del comportamiento anterior, deberá actualizarse en " +"consecuencia (por ejemplo, comprobando también si hay ``os.getcwd()`` o ``os." +"path.dirname(__main__.__file__)``, dependiendo de por qué el código buscaba " +"la cadena vacía en primer lugar)." #: ../Doc/whatsnew/3.7.rst:2261 msgid "Changes in the Python API" @@ -3649,6 +4497,11 @@ msgid "" "block_on_close` class attribute to ``False`` to get the pre-3.7 behaviour. " "(Contributed by Victor Stinner in :issue:`31233` and :issue:`33540`.)" msgstr "" +":meth:`socketserver.ThreadingMixIn.server_close` ahora espera hasta que se " +"completen todos los subprocesos que no son demonios. Establezca el nuevo " +"atributo de clase :attr:`socketserver.ThreadingMixIn.block_on_close` en " +"``False`` para obtener el comportamiento anterior a 3.7. (Contribuido por " +"*Victor Stinner* en :issue:`31233` y :issue:`33540`.)" #: ../Doc/whatsnew/3.7.rst:2269 msgid "" @@ -3657,6 +4510,11 @@ msgid "" "block_on_close` class attribute to ``False`` to get the pre-3.7 behaviour. " "(Contributed by Victor Stinner in :issue:`31151` and :issue:`33540`.)" msgstr "" +":meth:`socketserver.ForkingMixIn.server_close` ahora espera hasta que se " +"completen todos los procesos secundarios. Establezca el nuevo atributo de " +"clase :attr:`socketserver.ForkingMixIn.block_on_close` en ``False`` para " +"obtener el comportamiento anterior a 3.7. (Contribuido por *Victor Stinner* " +"en :issue:`31151` y :issue:`33540`.)" #: ../Doc/whatsnew/3.7.rst:2275 msgid "" @@ -3664,6 +4522,9 @@ msgid "" "locale to the value of ``LC_NUMERIC`` in some cases. (Contributed by Victor " "Stinner in :issue:`31900`.)" msgstr "" +"La función :func:`locale.localeconv` ahora establece temporalmente la " +"configuración regional ``LC_CTYPE`` en el valor de ```LC_NUMERIC``en algunos " +"casos. (Contribuido por *Victor Stinner* en :issue:`31900`.)" #: ../Doc/whatsnew/3.7.rst:2279 msgid "" @@ -3671,6 +4532,9 @@ msgid "" "string. Previously an empty list was returned. (Contributed by Sanyam " "Khurana in :issue:`24744`.)" msgstr "" +":meth:`pkgutil.walk_packages` ahora genera un :exc:`ValueError` si la* ruta " +"* es una cadena. Anteriormente se devolvió una lista vacía. (Contribuido por " +"*Sanyam Khurana* en :issue:`24744`.)" #: ../Doc/whatsnew/3.7.rst:2283 msgid "" @@ -3679,6 +4543,10 @@ msgid "" "argument was deprecated in Python 3.5. (Contributed by Serhiy Storchaka in :" "issue:`29193`.)" msgstr "" +"Un argumento de cadena de formato para :meth:`string.Formatter.format` es " +"ahora :ref:`solo posicional `. Pasarlo como un " +"argumento de palabra clave quedó obsoleto en Python 3.5. (Contribuido por " +"*Serhiy Storchaka* en :issue:`29193`.)" #: ../Doc/whatsnew/3.7.rst:2288 msgid "" @@ -3688,6 +4556,11 @@ msgid "" "Python 3.5. Use the :meth:`~http.cookies.Morsel.set` method for setting " "them. (Contributed by Serhiy Storchaka in :issue:`29192`.)" msgstr "" +"Atributos :attr:`~http.cookies.Morsel.key`, :attr:`~http.cookies.Morsel." +"value` y :attr:`~http.cookies.Morsel.coded_value` de la clase :class:`http." +"cookies.Morsel` ahora son de solo lectura. La asignación a ellos quedó " +"obsoleta en Python 3.5. Utilizar el método :meth:`~http.cookies.Morsel.set` " +"para configurarlos. (Contribuido por *Serhiy Storchaka* en :issue:`29192`.)" #: ../Doc/whatsnew/3.7.rst:2296 msgid "" @@ -3696,12 +4569,19 @@ msgid "" "their file permission bits you can set the umask before invoking " "``makedirs()``. (Contributed by Serhiy Storchaka in :issue:`19930`.)" msgstr "" +"El argumento * modo * de :func:`os.makedirs` ya no afecta a los bits de " +"permisos de archivos de los directorios de nivel intermedio recién creados. " +"Para configurar sus bits de permiso de archivo, puede configurar la máscara " +"de usuario antes de invocar ```makedirs()``. (Contribuido por *Serhiy " +"Storchaka* en :issue:`19930`.)" #: ../Doc/whatsnew/3.7.rst:2302 msgid "" "The :attr:`struct.Struct.format` type is now :class:`str` instead of :class:" "`bytes`. (Contributed by Victor Stinner in :issue:`21071`.)" msgstr "" +"El tipo :attr:`struct.Struct.format` ahora es :class:`str` en lugar de: " +"class :class:`bytes`. (Contribuido por *Victor Stinner* en :issue:`21071`.)" #: ../Doc/whatsnew/3.7.rst:2305 msgid "" @@ -3710,6 +4590,11 @@ msgid "" "file fields, the value associated to a key is a list of strings, not bytes. " "(Contributed by Pierre Quentel in :issue:`29979`.)" msgstr "" +":func:`~cgi.parse_multipart` ahora acepta los argumentos * codificación * y " +"* errores * y devuelve los mismos resultados que :class:`~FieldStorage`: " +"para campos que no son de archivo, el valor asociado a una clave es una " +"lista de cadenas, no bytes. (Contribuido por *Pierre Quentel* en :issue:" +"`29979`.)" #: ../Doc/whatsnew/3.7.rst:2311 msgid "" @@ -3717,6 +4602,9 @@ msgid "" "on a socket created by :func:`socket.share ` in older " "Python versions is not supported." msgstr "" +"Debido a cambios internos en :mod:`socket`, llamar :func:`socket.fromshare` " +"en un socket creado por :func:`socket.share ` en " +"versiones anteriores de Python no es compatible." #: ../Doc/whatsnew/3.7.rst:2315 msgid "" @@ -3744,6 +4632,10 @@ msgid "" "the first argument ``os.scandir`` instead of ``os.listdir`` when listing the " "directory is failed." msgstr "" +"Debido a que :func:`shutil.rmtree` ahora se implementa usando la función :" +"func:`os.scandir`, el controlador especificado por el usuario *onerror* " +"ahora se llama con el primer argumento ``os.scandir`` en lugar de ``os." +"listdir`` cuando falla el listado del directorio." #: ../Doc/whatsnew/3.7.rst:2327 msgid "" @@ -3755,6 +4647,14 @@ msgid "" "``'--'``, ``'&&'``, ``'~~'``, and ``'||'``. To avoid a warning, escape them " "with a backslash. (Contributed by Serhiy Storchaka in :issue:`30349`.)" msgstr "" +"Es posible que en el futuro se agregue soporte para conjuntos anidados y " +"operaciones de conjuntos en expresiones regulares como en `Unicode Technical " +"Standard #18`_. Esto cambiaría la sintaxis. Para facilitar este cambio " +"futuro, por el momento, se planteará un :exc:`FutureWarning` en casos " +"ambiguos. Que incluyen conjuntos que comienzan con un literal ``’[‘`` o que " +"contienen secuencias de caracteres literales ``’—‘``, ``’&&’``, ``’~~’``, " +"and ``’||’``. Para evitar una advertencia, escapa de ellos con una barra " +"invertida. (Contribuido por *Serhiy Storchaka* en :issue:`30349`.)" #: ../Doc/whatsnew/3.7.rst:2338 msgid "" @@ -3766,6 +4666,13 @@ msgid "" "pattern to ``r'\\s+'``. A :exc:`FutureWarning` was emitted for such " "patterns since Python 3.5." msgstr "" +"El resultado de dividir una cuerda en un :mod:`expresión regular ` que " +"podría coincidir con una cadena vacía. Por ejemplo, dividir en ``r’\\s*’`` " +"ahora dividirá no solo en espacios en blanco como lo hizo anteriormente, " +"sino también en cadenas vacías antes de todos los caracteres que no sean " +"espacios en blanco y justo antes del final de la cadena. El comportamiento " +"anterior se puede restaurar cambiando el patrón a ``r’\\s+’``. Una :exc:" +"`FutureWarning` se emitió para tales patrones desde Python 3.5." #: ../Doc/whatsnew/3.7.rst:2347 msgid "" @@ -3776,6 +4683,12 @@ msgid "" "positions 2--3. To match only blank lines, the pattern should be rewritten " "as ``r'(?m)^[^\\S\\n]*$'``." msgstr "" +"Para patrones que coinciden con cadenas vacías y no vacías, el resultado de " +"la búsqueda de todas las coincidencias también puede cambiarse en otros " +"casos. Por ejemplo en la cadena ``’a\\n\\n’``, el patrón ``’\\n’`` no solo " +"coincidirá con cadenas vacías en las posiciones 2 y 3, sino también la " +"cadena `` ‘\\ n’`` en las posiciones 2–3. Para hacer coincidir solo líneas " +"en blanco, el patrón debe reescribirse como ``r’(?m)^[^\\S\\n]*$’``." #: ../Doc/whatsnew/3.7.rst:2354 msgid "" @@ -3784,6 +4697,11 @@ msgid "" "instead of ``'-a-b-d-'`` (the first minus between 'b' and 'd' replaces 'x', " "and the second minus replaces an empty string between 'x' and 'd')." msgstr "" +":func:`re.sub()` ahora reemplaza las coincidencias vacías adyacentes a una " +"coincidencia anterior no vacía. Por ejemplo ``re.sub(‘x*’, ‘-‘, ‘abxd’)`` " +"retorno ahora ``’-a-b—d-‘`` en lugar de ``’-a-b-d-‘`` (el primer signo menos " +"entre ‘b’ y ‘d’ reemplaza a ‘x’, y el segundo signo menos reemplaza una " +"cadena vacía entre ‘x’ y ‘d’)." #: ../Doc/whatsnew/3.7.rst:2360 msgid "(Contributed by Serhiy Storchaka in :issue:`25054` and :issue:`32308`.)" @@ -3796,6 +4714,9 @@ msgid "" "escaping all characters other than ASCII letters, numbers, and ``'_'``. " "(Contributed by Serhiy Storchaka in :issue:`29995`.)" msgstr "" +"Cambie :func:`re.escape` para escapar solo de los caracteres especiales " +"regex en lugar de escapar de todos los caracteres que no sean letras ASCII, " +"números y ``’_’``. (Contribuido por *Serhiy Storchaka* en :issue:`29995`.)" #: ../Doc/whatsnew/3.7.rst:2366 msgid "" @@ -3803,6 +4724,9 @@ msgid "" "recent to be more consistent with :mod:`traceback`. (Contributed by Jesse " "Bakker in :issue:`32121`.)" msgstr "" +"Los marcos :class:`tracemalloc.Traceback` ahora se ordenan del más antiguo " +"al más reciente para ser más coherentes con :mod:`traceback`. (Contribuido " +"por *Jesse Bakker* en :issue:`32121`.)" #: ../Doc/whatsnew/3.7.rst:2370 msgid "" @@ -3812,6 +4736,11 @@ msgid "" "SOCK_STREAM`` work as expected on all platforms. (Contributed by Yury " "Selivanov in :issue:`32331`.)" msgstr "" +"En sistemas operativos que admiten banderas de bits :const:`socket." +"SOCK_NONBLOCK` o :const:`socket.SOCK_CLOEXEC`, el :attr:`socket.type ` ya no los tiene aplicados. Por lo tanto, comprobaciones como " +"``if sock.type == socket.SOCK_STREAM`` funcionan como se espera en todas las " +"plataformas. (Contribuido por *Yury Selivanov* en :issue:`32331`.)" #: ../Doc/whatsnew/3.7.rst:2377 msgid "" @@ -3822,6 +4751,9 @@ msgid "" "to pass ``close_fds=False`` to preserve the previous behaviour, or use :attr:" "`STARTUPINFO.lpAttributeList `." msgstr "" +"En Windows, el valor predeterminado para el argumento * close_fds * de: " +"class: `subprocess.Popen` se cambió de: const:` False` a: const: `True` al " +"redirigir los identificadores estándar." #: ../Doc/whatsnew/3.7.rst:2385 msgid "" @@ -3830,6 +4762,10 @@ msgid "" "`sys.path_importer_cache` which are set to ``None``. (Contributed by Brett " "Cannon in :issue:`33169`.)" msgstr "" +":meth:`importlib.machinery.PathFinder.invalidate_caches` -- que afecta " +"implícitamente a :func:`importlib.invalidate_caches` -- ahora borra entradas " +"en :data:`sys.path_importer_cache` que están configuradas en ``None``. " +"(Contribuido por *Brett Cannon* en :issue:`33169`.)" #: ../Doc/whatsnew/3.7.rst:2390 msgid "" @@ -3841,6 +4777,13 @@ msgid "" "Previously, these methods returned :class:`asyncio.Future` instances. " "(Contributed by Yury Selivanov in :issue:`32327`.)" msgstr "" +"En :mod:`asyncio`, :meth:`loop.sock_recv() `, :meth:" +"`loop.sock_sendall() `, :meth:`loop.sock_accept() " +"`, :meth:`loop.getaddrinfo() `, :meth:`loop.getnameinfo() ` se han " +"cambiado para que sean métodos de rutina adecuados para que coincidan con su " +"documentación. Anteriormente, estos métodos devolvían instancias :class:" +"`asyncio.Future`. (Contribuido por *Yury Selivanov* en :issue:`32327`.)" #: ../Doc/whatsnew/3.7.rst:2401 msgid "" @@ -3869,6 +4812,10 @@ msgid "" "ArgumentParser.add_subparsers>`. (Contributed by Anthony Sottile in :issue:" "`26510`.)" msgstr "" +":mod:`argparse` *subparsers* ahora pueden hacerse obligatorios pasando " +"``required=True`` a :meth:`ArgumentParser.add_subparsers() `. (Contribuido por *Anthony Sottile* en :" +"issue:`26510`.)" #: ../Doc/whatsnew/3.7.rst:2413 msgid "" @@ -3876,6 +4823,9 @@ msgid "" "arbitrary numbers are no longer allowed. (Contributed by Serhiy Storchaka " "in :issue:`31778`.)" msgstr "" +":meth:`ast.literal_eval()` ahora es más estricto. Ya no se permiten sumas y " +"restas de números arbitrarios. (Contribuido por *Serhiy Storchaka* en :issue:" +"`31778`.)" #: ../Doc/whatsnew/3.7.rst:2417 msgid "" @@ -3888,12 +4838,22 @@ msgid "" "tuples and are not restricted by the range supported by :class:`datetime." "date`. (Contributed by Alexander Belopolsky in :issue:`28292`.)" msgstr "" +":meth:`Calendar.itermonthdates ` ahora " +"generará una excepción cuando una fecha cae fuera del rango de " +"``0001-01-01`` a ``9999-12-31``. Para admitir aplicaciones que no pueden " +"tolerar tales excepciones, se puede utilizar el nuevo :meth:`Calendar." +"itermonthdays3 ` y :meth:`Calendar." +"itermonthdays4 `. Los nuevos métodos " +"devuelven tuplas y no están restringidos por el rango admitido por :class:" +"`datetime.date`. (Contribuido por *Alexander Belopolsky* en :issue:`28292`.)" #: ../Doc/whatsnew/3.7.rst:2427 msgid "" ":class:`collections.ChainMap` now preserves the order of the underlying " "mappings. (Contributed by Raymond Hettinger in :issue:`32792`.)" msgstr "" +"class:`collections.ChainMap` ahora conserva el orden de las asignaciones " +"subyacentes. (Contribuido por *Raymond Hettinger* en :issue:`32792`.)" #: ../Doc/whatsnew/3.7.rst:2430 msgid "" @@ -3902,6 +4862,10 @@ msgid "" "`RuntimeError` if called during interpreter shutdown. (Contributed by Mark " "Nemec in :issue:`33097`.)" msgstr "" +"El método ``submit()`` de :class:`concurrent.futures.ThreadPoolExecutor` y :" +"class:`concurrent.futures.ProcessPoolExecutor` ahora genera un :exc:" +"`RuntimeError` si se llama durante el cierre del intérprete. (Contribuido " +"por *Mark Nemec* en :issue:`33097`.)" #: ../Doc/whatsnew/3.7.rst:2435 msgid "" @@ -3911,6 +4875,12 @@ msgid "" "now being implicitly converted to strings. (Contributed by James Tocknell " "in :issue:`23835`.)" msgstr "" +"El constructor :class:`configparser.ConfigParser` ahora usa ``read_dict()`` " +"para procesar los valores predeterminados, haciendo que su comportamiento " +"sea coherente con el resto del analizador. Las claves y los valores que no " +"son cadenas en el diccionario de valores predeterminados ahora se están " +"convirtiendo implícitamente en cadenas. (Contribuido por *James Tocknell* " +"en :issue:`23835`.)" #: ../Doc/whatsnew/3.7.rst:2441 msgid "" @@ -3919,6 +4889,11 @@ msgid "" "that such undocumented internal imports may be removed any time without " "notice, even in micro version releases." msgstr "" +"Se eliminaron varias importaciones internas indocumentadas. Un ejemplo es " +"que ``os.errno`` ya no está disponible; use ``import errno`` directamente en " +"su lugar. Tenga en cuenta que estas importaciones internas no documentadas " +"pueden eliminarse en cualquier momento sin previo aviso, incluso en las " +"versiones micro." #: ../Doc/whatsnew/3.7.rst:2449 msgid "Changes in the C API" @@ -3935,6 +4910,15 @@ msgid "" "`PySlice_Unpack` and :c:func:`PySlice_AdjustIndices`. (Contributed by Serhiy " "Storchaka in :issue:`27867`.)" msgstr "" +"La función :c:func:`PySlice_GetIndicesEx` se considera insegura para " +"secuencias de tamaño variable. Si los índices de corte no son instancias de :" +"class:`int`, sino objetos que implementan el método meth:`!__index__`, la " +"secuencia se puede cambiar de tamaño después de pasar su longitud a :c:func:" +"`!PySlice_GetIndicesEx`. Esto puede llevar a que se devuelvan índices fuera " +"de la longitud de la secuencia. Esto puede llevar a devolver índices fuera " +"de la longitud de la secuencia. Para evitar posibles problemas, use las " +"nuevas funciones :c:func:`PySlice_Unpack` y :c:func:`PySlice_AdjustIndices`. " +"(Contribuido por *Serhiy Storchaka* en :issue:`27867`.)" #: ../Doc/whatsnew/3.7.rst:2462 msgid "CPython bytecode changes" @@ -3963,6 +4947,10 @@ msgid "" "executable>._pth`` instead of ``'sys.path'``. See :ref:`finding_modules` for " "more information. (Contributed by Steve Dower in :issue:`28137`.)" msgstr "" +"El archivo utilizado para anular :data:`sys.path` es ahora llamado ``._pth`` en lugar de ``’sys.path’``. Consultar :ref:" +"`finding_modules` para mas información. (Contribuido por *Steve Dower* en :" +"issue:`28137`.)" #: ../Doc/whatsnew/3.7.rst:2481 msgid "Other CPython implementation changes" @@ -3982,6 +4970,19 @@ msgid "" "part of :issue:`22257`, and further updated by Nick, Eric, and Victor " "Stinner in a number of other issues). Some known details affected:" msgstr "" +"En preparación para posibles cambios futuros en la API pública de " +"inicialización del tiempo de ejecución de CPython (ver :pep:`432` para un " +"borrador inicial, pero algo desactualizado), La lógica de gestión de " +"configuración y puesta en marcha interna de CPython se ha refactorizado " +"significativamente. Si bien estas actualizaciones están destinadas a ser " +"completamente transparentes tanto para las aplicaciones integradas como para " +"los usuarios de la CLI de CPython normal, se mencionan aquí ya que la " +"refactorización cambia el orden interno de varias operaciones durante el " +"inicio del intérprete y, por lo tanto, pueden descubrir defectos previamente " +"latentes, ya sea en aplicaciones incrustadas, o en el propio CPython. " +"( Inicialmente contribuido por *Nick Coghlan* y *Eric Snow* como parte de :" +"issue:`22257`, y actualizado por *Nick*, *Eric*, y *Victor Stinner* en " +"varios otros números). Algunos detalles conocidos afectados:" #: ../Doc/whatsnew/3.7.rst:2496 msgid "" @@ -3989,6 +4990,9 @@ msgid "" "applications due to the requirement to create a Unicode object prior to " "calling `Py_Initialize`. Use :c:func:`PySys_AddWarnOption` instead." msgstr "" +":c:func:`PySys_AddWarnOptionUnicode` actualmente no se puede utilizar para " +"incrustar aplicaciones debido al requisito de crear un objeto Unicode antes " +"de llamar `Py_Initialize`. En su lugar use :c:func:`PySys_AddWarnOption`." #: ../Doc/whatsnew/3.7.rst:2500 msgid "" @@ -3996,6 +5000,9 @@ msgid "" "`PySys_AddWarnOption` should now more consistently take precedence over the " "default filters set by the interpreter" msgstr "" +"filtros de advertencias agregados por una aplicación de incrustación con :c:" +"func:`PySys_AddWarnOption` ahora debería tener prioridad sobre los filtros " +"predeterminados establecidos por el intérprete" #: ../Doc/whatsnew/3.7.rst:2504 msgid "" @@ -4006,6 +5013,13 @@ msgid "" "warnings to be emitted in the first place), and an explicit ``error::" "BytesWarning`` warnings filter added to convert them to exceptions." msgstr "" +"Debido a cambios en la forma en que se configuran los filtros de " +"advertencias predeterminados, establecer :c:data:`Py_BytesWarningFlag` en un " +"valor mayor que uno ya no es suficiente para que ambos emitan mensajes :exc:" +"`BytesWarning` y los conviertan en excepciones. En su lugar, se debe " +"establecer la bandera (para hacer que las advertencias se emitan en primer " +"lugar) y se debe agregar un filtro de advertencias explícito ``error::" +"BytesWarning`` para convertirlas en excepciones." #: ../Doc/whatsnew/3.7.rst:2511 msgid "" @@ -4014,6 +5028,11 @@ msgid "" "is now marked as occurring on the same line as the docstring, not on the " "function's header line." msgstr "" +"Debido a un cambio en la forma en que el compilador maneja las cadenas de " +"documentos, el implícito ``return None`` en el cuerpo de una función que " +"consiste únicamente en una cadena de documentos ahora se marca como " +"ocurriendo en la misma línea que la cadena de documentos, no en la línea de " +"encabezado de la función." #: ../Doc/whatsnew/3.7.rst:2516 msgid "" @@ -4040,6 +5059,13 @@ msgid "" "to :issue:`34247`). If this behavior is unwanted, set :c:data:" "`Py_IgnoreEnvironmentFlag` to 1 before calling :c:func:`Py_Initialize`." msgstr "" +"A partir de 3.7.1, :c:func:`Py_Initialize` ahora lee y respeta " +"constantemente todos los mismos ajustes de entorno que :c:func:`Py_Main` (en " +"versiones anteriores de Python, respetaba un subconjunto mal definido de " +"esas variables de entorno, mientras que en Python 3.7.0 no leyó ninguna de " +"ellas debido a :issue:`34247`). Si este comportamiento no es deseado, " +"establezca :c:data:`Py_IgnoreEnvironmentFlag` en 1 antes de llamar a :c:func:" +"`Py_Initialize`." #: ../Doc/whatsnew/3.7.rst:2531 msgid "" @@ -4058,6 +5084,10 @@ msgid "" "behavior now matches what the C tokenizer does internally. (Contributed by " "Ammar Askar in :issue:`33899`.)" msgstr "" +"En 3.7.1 el módulo :mod:`tokenize` ahora emite un token ``NEWLINE``cuando se " +"le proporciona una entrada que no tiene una nueva línea al final. Este " +"comportamiento ahora coincide con lo que hace el tokenizador C internamente. " +"(Contribuido por *Ammar Askar* en :issue:`33899`.)" #: ../Doc/whatsnew/3.7.rst:2541 msgid "Notable changes in Python 3.7.2" @@ -4072,6 +5102,13 @@ msgid "" "this release will still require recreation of virtual environments in order " "to get the new scripts." msgstr "" +"En 3.7.2, :mod:`venv` en Windows ya no copia los binarios originales, sino " +"que crea scripts de redireccionamiento llamados ``python.exe`` y ``pythonw." +"exe`` en su lugar. Esto resuelve un problema de larga data en el que todos " +"los entornos virtuales tendrían que actualizarse o recrearse con cada " +"actualización de Python. Sin embargo, tenga en cuenta que esta versión aún " +"requerirá la recreación de entornos virtuales para obtener los nuevos " +"scripts." #: ../Doc/whatsnew/3.7.rst:2551 msgid "Notable changes in Python 3.7.6" @@ -4086,3 +5123,9 @@ msgid "" "(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in :issue:" "`37228`.)" msgstr "" +"Debido a importantes problemas de seguridad, el parámetro *reuse_address* " +"de :meth:`asyncio.loop.create_datagram_endpoint` ya no es compatible. Esto " +"se debe al comportamiento de la opción socket ``SO_REUSEADDR`` en UDP. Para " +"obtener más detalles, consulte la documentación de ``loop." +"create_datagram_endpoint()``. (Contribuido por *Kyle Stanley*, *Antoine " +"Pitrou*, y *Yury Selivanov* en :issue:`37228`.)" From a8170bcdc1cad3874325dc0e294b9318d082a65d Mon Sep 17 00:00:00 2001 From: andipandiber Date: Sun, 11 Oct 2020 22:12:41 -0500 Subject: [PATCH 4/6] Traduccion Corregida --- whatsnew/3.7.po | 114 +++++++++++++++++++++++++----------------------- 1 file changed, 59 insertions(+), 55 deletions(-) diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index e483548ad4..87d4463b50 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-11 21:04-0500\n" +"PO-Revision-Date: 2020-10-11 22:11-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -794,7 +794,7 @@ msgid "" msgstr "" "Inicialmente :pep:`484` fue diseñado de tal manera que no introduciría * " "ningún * cambio en el intérprete principal de CPython. Ahora escriba " -"sugerencias y el módulo :mod:`typing`son ampliamente utilizados por la " +"sugerencias y el módulo :mod:`typing` son ampliamente utilizados por la " "comunidad, por lo que se elimina esta restricción. El PEP introduce dos " "métodos especiales :meth:`__class_getitem__` y ``__mro_entries__``, estos " "métodos ahora son utilizados por la mayoría de las clases y construcciones " @@ -843,13 +843,13 @@ msgid "" "Hash-based ``.pyc`` files may be generated with :mod:`py_compile` or :mod:" "`compileall`." msgstr "" -":pep:`552` extendiendo el formato ppc para permitir que el hash del archivo " -"de origen se utilice para invalidación en lugar de la marca de tiempo de " -"origen. Estos archivos ``.pyc`` se denominan “hash-based”. Por defecto, " -"Python todavía usa la invalidación basada en la marca de tiempo y no genera " -"archivos ``.pyc`` basados en has de tiempos de ejecución. Los archivos ``." -"pyc`` basados en hash se pueden generar con :mod:`py_compile` o :mod:" -"`compileall`." +":pep:`552` extendiendo el formato *ppc* para permitir que el hash del " +"archivo de origen se utilice para invalidación en lugar de la marca de " +"tiempo de origen. Estos archivos ``.pyc`` se denominan “hash-based”. Por " +"defecto, Python todavía usa la invalidación basada en la marca de tiempo y " +"no genera archivos ``.pyc`` basados en has de tiempos de ejecución. Los " +"archivos ``.pyc`` basados en hash se pueden generar con :mod:`py_compile` o :" +"mod:`compileall`." #: ../Doc/whatsnew/3.7.rst:444 msgid "" @@ -863,7 +863,7 @@ msgstr "" "Archivos ``.pyc`` basados en hash Vienen en dos variantes: marcada y no " "marcada. Python valida los archivos ``.pyc`` basados en hash comprobados con " "los archivos de origen correspondientes en tiempo de ejecución, pero no lo " -"hace para pycs basados en hash no verificados. Archivos ``.pyc`` no " +"hace para *pycs* basados en hash no verificados. Archivos ``.pyc`` no " "comprobados son una optimización de rendimiento útil para entornos donde un " "sistema externo a Python (por ejemplo, el sistema de compilación) es " "responsable de mantener actualizados los archivos ``.pyc``." @@ -983,8 +983,8 @@ msgid "" "Naoki in :issue:`32677`.)" msgstr "" ":class:`str`, :class:`bytes`, y :class:`bytearray` adquirió soporte para el " -"método new :meth:`isascii() `, que se puede usar para probar si " -"una cadena o bytes contienen solo los caracteres ASCII. (Contribuido por " +"nuevo método :meth:`isascii() `, que se puede usar para probar " +"si una cadena o bytes contienen solo los caracteres ASCII. (Contribuido por " "*INADA Naoki* en :issue:`32677`.)" #: ../Doc/whatsnew/3.7.rst:513 @@ -1069,11 +1069,11 @@ msgid "" "variables are conceptually similar to thread-local variables. Unlike TLS, " "context variables support asynchronous code correctly." msgstr "" -"El nuevo módulo :mod:`contextvars`y un conjunto de :ref:`nuevas APIs C " -"` introducir soporte para * variables de contexto *. Las " +"El nuevo módulo :mod:`contextvars` y un conjunto de :ref:`nuevas APIs C " +"` introducir soporte para *variables de contexto*. Las " "variables de contexto son conceptualmente similares a las variables locales " -"del proceso. A diferencia de TLS, las variables de contexto admiten el " -"código asincrónico correctamente." +"del proceso. A diferencia de TLS, las variables de contexto admiten l código " +"asincrónico correctamente." #: ../Doc/whatsnew/3.7.rst:557 msgid "" @@ -1376,7 +1376,7 @@ msgid "" "Andrew Svetlov in :issue:`32741`.)" msgstr "" "Objetos de devolución de llamada devueltos por :func:`loop.call_later() " -"`conseguir el nuevo método :meth:`when() ` conseguir el nuevo método :meth:`when() ` que devuelve una marca de tiempo de devolución de llamada " "programada absoluta. (Contribuido por *Andrew Svetlov* en :issue:`32741`.)" @@ -1571,7 +1571,7 @@ msgid "" "(Contributed by Thomas Moreau in :issue:`31540`.)" msgstr "" "La :class:`ProcessPoolExecutor ` " -"puede ahora tomar el contexto de multiprocesamiento a traves del nuevo " +"puede ahora tomar el contexto de multiprocesamiento a través del nuevo " "argumento *mp_context*. (Contribuido por *Thomas Moreau* en :issue:`31540`.)" #: ../Doc/whatsnew/3.7.rst:826 @@ -1585,7 +1585,7 @@ msgid "" "Bakker in :issue:`10049`.)" msgstr "" "El nuevo :func:`~contextlib.nullcontext` es un administrador de contexto sin " -"operaciones simple y rapido que :class:`~contextlib.ExitStack`. (Contribuido " +"operaciones simple y rápido que :class:`~contextlib.ExitStack`. (Contribuido " "por *Jesse-Bakker* en :issue:`10049`.)" #: ../Doc/whatsnew/3.7.rst:832 @@ -1648,7 +1648,7 @@ msgid "" "isoformat>`. (Contributed by Paul Ganssle in :issue:`15873`.)" msgstr "" "Los nuevos objetos :meth:`datetime.fromisoformat() ` method constructs a :class:`~datetime.datetime` de una " +"fromisoformat>` un metodo constructor :class:`~datetime.datetime` de una " "cadena en uno de los formatos de salida de :meth:`datetime.isoformat() " "`. (Contribuido por *Paul Ganssle* en :issue:" "`15873`.)" @@ -1887,7 +1887,7 @@ msgid "" msgstr "" "El cuadro de diálogo Configuración (Opciones, Configurar IDLE) se ha " "reescrito parcialmente para mejorar tanto la apariencia como la función. " -"(Contribuido por *Cheryl Sabella* y *Terry Jan Reedy* en multiple issues.)" +"(Contribuido por *Cheryl Sabella* y *Terry Jan Reedy* en múltiple issues.)" #: ../Doc/whatsnew/3.7.rst:991 msgid "" @@ -2053,7 +2053,7 @@ msgid "" "value returned by this function." msgstr "" "La nueva :func:`importlib.source_hash` se puede utilizar para calcular el " -"hash de la fuente pasada. Un ref:`archivo .pyc basado en hash ` incrusta el valor devuelto por esta función." #: ../Doc/whatsnew/3.7.rst:1065 @@ -2083,7 +2083,7 @@ msgid "" "containment tests. (Contributed by Michel Albert and Cheryl Sabella in :" "issue:`20825`.)" msgstr "" -"Los nuevos métodos ``subnet_of()`` y ``supernet_of()`` of :class:`ipaddress." +"Los nuevos métodos ``subnet_of()`` y ``supernet_of()`` de :class:`ipaddress." "IPv6Network` y :class:`ipaddress.IPv4Network` pueden ser usados para pruebas " "de contención de redes. (Contribuido por *Michel Albert* y *Cheryl Sabella* " "en :issue:`20825`.)" @@ -2098,7 +2098,7 @@ msgid "" "__index__>` as start, stop, and slice arguments. (Contributed by Will " "Roberts in :issue:`30537`.)" msgstr "" -":func:`itertools.islice` now accepts :meth:`integer-like objects ` como argumentos de inicio, parada y corte. (Contribuido por " "*Will Roberts* en :issue:`30537`.)" @@ -2136,7 +2136,7 @@ msgid "" ":class:`~logging.Logger` instances can now be pickled. (Contributed by Vinay " "Sajip in :issue:`30520`.)" msgstr "" -"class:`~logging.Logger` instancias ahora pueden ser decapadas. (Contribuido " +":class:`~logging.Logger` instancias ahora pueden ser decapadas. (Contribuido " "por *Vinay Sajip* en :issue:`30520`.)" #: ../Doc/whatsnew/3.7.rst:1108 @@ -2195,8 +2195,8 @@ msgid "" "`20486`.)" msgstr "" "El nuevo método :meth:`Database.Close() ` se puede " -"utilizar para cerrar la base de datos :abbr:`MSI`. (Contribuido por Berker " -"Peksag in :issue:`20486`.)" +"utilizar para cerrar la base de datos :abbr:`MSI`. (Contribuido por *Berker " +"Peksag* en :issue:`20486`.)" #: ../Doc/whatsnew/3.7.rst:1141 msgid "multiprocessing" @@ -2373,7 +2373,7 @@ msgid "" "``-n`` command-line argument. (Contributed by Feanil Patel in :issue:" "`31128`.)" msgstr "" -"El servidor pydoc ahora puede vincularse a un nombre de host arbitrario " +"El servidor *pydoc* ahora puede vincularse a un nombre de host arbitrario " "especificado por el nuevo argumento de línea de comandos ``-n``. " "(Contribuido por *Feanil Patel* en :issue:`31128`.)" @@ -2600,7 +2600,7 @@ msgstr "" #: ../Doc/whatsnew/3.7.rst:1335 msgid "" -"The improved host name check requires a *libssl* implementation compatible " +"The improved host name check requires a libssl implementation compatible " "with OpenSSL 1.0.2 or 1.1. Consequently, OpenSSL 0.9.8 and 1.0.1 are no " "longer supported (see :ref:`37-platform-support-removals` for more details). " "The ssl module is mostly compatible with LibreSSL 2.7.2 and newer." @@ -2608,8 +2608,8 @@ msgstr "" "La verificación mejorada del nombre de host requiere una implementación " "*libssl* compatible con OpenSSL 1.0.2 o 1.1. En consecuencia, OpenSSL 0.9.8 " "y 1.0.1 ya no son compatibles (consulte :ref:`37-platform-support-removals` " -"para más detalles). El módulo ssl es principalmente compatible con LibreSSL " -"2.7.2 y versiones posteriores." +"para más detalles). El módulo *ssl* es principalmente compatible con " +"LibreSSL 2.7.2 y versiones posteriores." #: ../Doc/whatsnew/3.7.rst:1340 msgid "" @@ -2815,8 +2815,8 @@ msgstr "" "profundidad de seguimiento del origen de la corrutina actual, según lo " "establecido por el nuevo :func:`sys.set_coroutine_origin_tracking_depth`. :" "mod:`asyncio` se ha convertido para usar esta nueva API en lugar de la " -"obsoleta :func:`sys.set_coroutine_wrapper`. (Contribuido por Nathaniel J. " -"Smith in :issue:`32591`.)" +"obsoleta :func:`sys.set_coroutine_wrapper`. (Contribuido por *Nathaniel J. " +"Smith* en :issue:`32591`.)" #: ../Doc/whatsnew/3.7.rst:1441 msgid "time" @@ -2905,7 +2905,7 @@ msgid "" "the new *most_recent_first* argument to ``Traceback.format()``. (Contributed " "by Jesse Bakker in :issue:`32121`.)" msgstr "" -":class:`tracemalloc.Traceback`se comporta más como tracebacks regulares, " +":class:`tracemalloc.Traceback` se comporta más como tracebacks regulares, " "ordenando los fotogramas del más antiguo al más reciente. :meth:`Traceback." "format() ` ahora acepta *límite* negativo, " "truncando el resultado a los marcos más antiguos de ``abs(limit)``. Para " @@ -3214,7 +3214,7 @@ msgid "" ":class:`~zipfile.ZipFile` now accepts the new *compresslevel* parameter to " "control the compression level. (Contributed by Bo Bayles in :issue:`21417`.)" msgstr "" -":class:`~zipfile.ZipFile` ahora acepta el nuevo parámetro * compresslevel * " +":class:`~zipfile.ZipFile` ahora acepta el nuevo parámetro *compresslevel* " "para controlar el nivel de compresión. (Contribuido por *Bo Bayles* en :" "issue:`21417`.)" @@ -3476,9 +3476,9 @@ msgid "" "libffi is now required when building ``_ctypes`` on such platforms. " "(Contributed by Zachary Ware in :issue:`27979`.)" msgstr "" -"Ya no se incluye una copia completa de libffi para su uso al compilar el " +"Ya no se incluye una copia completa de *libffi* para su uso al compilar el " "módulo :mod:`_ctypes ` en plataformas que no son OSX UNIX. Ahora se " -"requiere una copia instalada de libffi al construir ``_ctypes`` en tales " +"requiere una copia instalada de *libffi* al construir ``_ctypes`` en tales " "plataformas. (Contribuido por *Zachary Ware* en :issue:`27979`.)" #: ../Doc/whatsnew/3.7.rst:1755 @@ -3489,12 +3489,12 @@ msgid "" "is used to download a copy of 32-bit Python for this purpose. (Contributed " "by Zachary Ware in :issue:`30450`.)" msgstr "" -"El proceso de compilación de Windows ya no depende de Subversion para " +"El proceso de compilación de Windows ya no depende de una sub versión para " "extraer fuentes externas; en su lugar, se usa un script de Python para " "descargar archivos zip desde GitHub. Si no se encuentra Python 3.6 en el " -"sistema (a través de ``py -3.6``), NuGet se usa para descargar una copia de " -"Python de 32 bits para este propósito. (Contribuido por *Zachary Ware* en :" -"issue:`30450`.)" +"sistema (a través de ``py -3.6``), *NuGet* se usa para descargar una copia " +"de Python de 32 bits para este propósito. (Contribuido por *Zachary Ware* " +"en :issue:`30450`.)" #: ../Doc/whatsnew/3.7.rst:1761 msgid "" @@ -3503,7 +3503,7 @@ msgid "" "supported. LibreSSL is temporarily not supported as well. LibreSSL releases " "up to version 2.6.4 are missing required OpenSSL 1.0.2 APIs." msgstr "" -"El módulo :mod:`ssl` requiere libssl compatible con OpenSSL 1.0.2 o 1.1. " +"El módulo :mod:`ssl` requiere *libssl* compatible con OpenSSL 1.0.2 o 1.1. " "OpenSSL 1.0.1 llegó al final de su vida útil el 31 de diciembre de 2016 y ya " "no es compatible. LibreSSL tampoco es compatible temporalmente. Las " "versiones de LibreSSL hasta la versión 2.6.4 carecen de las API de OpenSSL " @@ -3609,7 +3609,7 @@ msgid "" msgstr "" "Como resultado de :ref:`PEP 560 trabajo `, el tiempo de " "importación de :mod:`typing` se ha reducido en un factor de 7, y muchas " -"operaciones de tipeo ahora son más rápidas. (Contribuido por *Ivan " +"operaciones de mecanografía ahora son más rápidas. (Contribuido por *Ivan " "Levkivskyi* en :issue:`32226`.)" #: ../Doc/whatsnew/3.7.rst:1814 @@ -3628,7 +3628,7 @@ msgid "" ":meth:`dict.copy` is now up to 5.5 times faster. (Contributed by Yury " "Selivanov in :issue:`31179`.)" msgstr "" -"meth:`dict.copy` es ahora 5.5 veces más rápido. (Contribuido por *Yury " +":meth:`dict.copy` es ahora 5.5 veces más rápido. (Contribuido por *Yury " "Selivanov* en :issue:`31179`.)" #: ../Doc/whatsnew/3.7.rst:1821 @@ -3661,7 +3661,7 @@ msgid "" "Zijlstra with further improvements by INADA Naoki, Serhiy Storchaka, and " "Raymond Hettinger in :issue:`28638`.)" msgstr "" -"La fábrica :func:`collections.namedtuple` ha sido reimplementada para hacer " +"La fábrica :func:`collections.namedtuple` ha sido re-implementada para hacer " "que la creación de tuplas con nombre sea de 4 a 6 veces más rápida. " "(Contribuido por *Jelle Zijlstra* con nuevas mejoras de *INADA Naoki*, " "*Serhiy Storchaka*, y *Raymond Hettinger* en :issue:`28638`.)" @@ -4188,7 +4188,7 @@ msgid "" "default." msgstr "" "En particular, este problema afecta a las distribuciones LTS Linux Debian 8 " -"(también conocido como “jessie”) y Ubuntu 14.04 (también conocido como " +"(también conocido como “jessie”) y *Ubuntu* 14.04 (también conocido como " "“Trusty”), ya que todavía usan OpenSSL 1.0.1 por defecto." #: ../Doc/whatsnew/3.7.rst:2118 @@ -4198,7 +4198,7 @@ msgid "" "use OpenSSL 1.0.2 or later, and remain supported in the default build " "configuration." msgstr "" -"Debian 9 (“stretch”) y Ubuntu 16.04 (“xenial”), así como las versiones " +"Debian 9 (“stretch”) y *Ubuntu* 16.04 (“xenial”), así como las versiones " "recientes de otras versiones de LTS Linux (por ejemplo, RHEL / CentOS 7.5, " "SLES 12-SP3), usan OpenSSL 1.0.2 o posterior y siguen siendo compatibles en " "la configuración de compilación predeterminada." @@ -4320,8 +4320,8 @@ msgid "" "asyncio import selectors`` with ``import selectors``." msgstr "" ":mod:`asyncio` ya no exporta el :mod:`selectors` y módulos como :mod:" -"`_overlapped` ``asyncio.selectors`` y ``asyncio._overlapped``. replazar por " -"``from asyncio import selectors`` y ``import selectors``." +"`_overlapped` ``asyncio.selectors`` y ``asyncio._overlapped``. reemplazar " +"por ``from asyncio import selectors`` y ``import selectors``." #: ../Doc/whatsnew/3.7.rst:2176 msgid "" @@ -4464,7 +4464,7 @@ msgstr "" "expresión generadora siempre debe estar directamente dentro de un conjunto " "de paréntesis y no puede tener una coma a ambos lados, y la duplicación de " "los paréntesis solo se puede omitir en las llamadas. (Contribuido por " -"*Serhiy Storchaka * en :issue:`32012` y :issue:`32023`.)" +"*Serhiy Storchaka* en :issue:`32012` y :issue:`32023`.)" #: ../Doc/whatsnew/3.7.rst:2251 msgid "" @@ -4751,9 +4751,13 @@ msgid "" "to pass ``close_fds=False`` to preserve the previous behaviour, or use :attr:" "`STARTUPINFO.lpAttributeList `." msgstr "" -"En Windows, el valor predeterminado para el argumento * close_fds * de: " -"class: `subprocess.Popen` se cambió de: const:` False` a: const: `True` al " -"redirigir los identificadores estándar." +"En Windows, el valor predeterminado para el argumento *close_fds* de :class: " +"`subprocess.Popen` se cambió de :const:` False` a :const: `True` al " +"redirigir los identificadores estándar. Si anteriormente dependía de que los " +"identificadores fueran heredados al usar :class:`subprocess.Popen` con la " +"redirección estándar de io, tendrá que pasar ``close_fds=False`` para " +"preservar el comportamiento anterior, o usar :attr:`STARTUPINFO." +"lpAttributeList `." #: ../Doc/whatsnew/3.7.rst:2385 msgid "" @@ -4852,7 +4856,7 @@ msgid "" ":class:`collections.ChainMap` now preserves the order of the underlying " "mappings. (Contributed by Raymond Hettinger in :issue:`32792`.)" msgstr "" -"class:`collections.ChainMap` ahora conserva el orden de las asignaciones " +":class:`collections.ChainMap` ahora conserva el orden de las asignaciones " "subyacentes. (Contribuido por *Raymond Hettinger* en :issue:`32792`.)" #: ../Doc/whatsnew/3.7.rst:2430 @@ -4973,7 +4977,7 @@ msgstr "" "En preparación para posibles cambios futuros en la API pública de " "inicialización del tiempo de ejecución de CPython (ver :pep:`432` para un " "borrador inicial, pero algo desactualizado), La lógica de gestión de " -"configuración y puesta en marcha interna de CPython se ha refactorizado " +"configuración y puesta en marcha interna de CPython se ha re-factorizado " "significativamente. Si bien estas actualizaciones están destinadas a ser " "completamente transparentes tanto para las aplicaciones integradas como para " "los usuarios de la CLI de CPython normal, se mencionan aquí ya que la " From 9cf6feeace9b2156b22fba22e28ada4805f85737 Mon Sep 17 00:00:00 2001 From: andipandiber Date: Mon, 12 Oct 2020 05:28:18 -0500 Subject: [PATCH 5/6] Traduccion Realizada --- whatsnew/3.7.po | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 87d4463b50..99bf593fae 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -345,8 +345,8 @@ msgstr "" "predeterminada para convertir automáticamente esa configuración regional en " "una configuración regional basada en UTF-8 disponible, como se describe en " "la documentación de la nueva variable de entorno :envvar:" -"`PYTHONCOERCECLOCALE`. Configurar automáticamente ``LC_CTYPE``de esta manera " -"significa que tanto el intérprete central como las extensiones C que " +"`PYTHONCOERCECLOCALE`. Configurar automáticamente ``LC_CTYPE`` de esta " +"manera significa que tanto el intérprete central como las extensiones C que " "reconocen la configuración regional (por ejemplo :mod:`readline`) asumirá el " "uso de UTF-8 como codificación de texto predeterminada, en lugar de ASCII." @@ -935,7 +935,7 @@ msgid "" msgstr "" "La nueva linea de comandos módulo :option:`-X` ``dev`` o la nueva variable " "de entorno :envvar:`PYTHONDEVMODE` se puede utilizar para habilitar el * " -"modo de desarrollo * de CPython. Cuando está en modo de desarrollo, CPython " +"modo de desarrollo* de CPython. Cuando está en modo de desarrollo, CPython " "realiza comprobaciones de tiempo de ejecución adicionales que son demasiado " "caras para habilitarse de forma predeterminada. Ver :option:`-X` ``dev``en " "la documentación para la descripción completa de los efectos de este modo." @@ -1648,7 +1648,7 @@ msgid "" "isoformat>`. (Contributed by Paul Ganssle in :issue:`15873`.)" msgstr "" "Los nuevos objetos :meth:`datetime.fromisoformat() ` un metodo constructor :class:`~datetime.datetime` de una " +"fromisoformat>` un método constructor :class:`~datetime.datetime` de una " "cadena en uno de los formatos de salida de :meth:`datetime.isoformat() " "`. (Contribuido por *Paul Ganssle* en :issue:" "`15873`.)" @@ -1780,7 +1780,7 @@ msgid "" msgstr "" "La nueva función :func:`gc.freeze` permite congelar todos los objetos " "rastreados por el recolector de basura y excluirlos de colecciones futuras. " -"Esto se puede utilizar antes de llamar POSIX ``fork()` para hacer que la " +"Esto se puede utilizar antes de llamar POSIX ``fork()`` para hacer que la " "copia en escritura de GC sea amigable o para acelerar la recopilación. La " "nuevas funciones :func:`gc.unfreeze` revierten esta operación. Además, :func:" "`gc.get_freeze_count` se puede utilizar para obtener el número de objetos " @@ -2098,7 +2098,7 @@ msgid "" "__index__>` as start, stop, and slice arguments. (Contributed by Will " "Roberts in :issue:`30537`.)" msgstr "" -":func:`itertools.islice` ahora accepts :meth:`integer-like objects ` como argumentos de inicio, parada y corte. (Contribuido por " "*Will Roberts* en :issue:`30537`.)" @@ -2291,7 +2291,7 @@ msgid "" "was always returned. (Contributed by Benjamin Peterson in :issue:`32441`.)" msgstr "" ":func:`os.dup2` ahora retorna el nuevo descriptor de archivo. Previamente, " -"``None``siempre fue retornado. (Contribuido por *Benjamin Peterson* en :" +"``None`` siempre fue retornado. (Contribuido por *Benjamin Peterson* en :" "issue:`32441`.)" #: ../Doc/whatsnew/3.7.rst:1184 @@ -2905,7 +2905,7 @@ msgid "" "the new *most_recent_first* argument to ``Traceback.format()``. (Contributed " "by Jesse Bakker in :issue:`32121`.)" msgstr "" -":class:`tracemalloc.Traceback` se comporta más como tracebacks regulares, " +":class:`tracemalloc.Traceback` se comporta más como rastreos regulares, " "ordenando los fotogramas del más antiguo al más reciente. :meth:`Traceback." "format() ` ahora acepta *límite* negativo, " "truncando el resultado a los marcos más antiguos de ``abs(limit)``. Para " @@ -3957,7 +3957,7 @@ msgstr "" ":mod:`dbm.dumb` ahora admite la lectura de archivos de solo lectura y ya no " "escribe el archivo de índice cuando no se cambia. Ahora se emite una " "advertencia de obsolescencia si falta el archivo de índice y se recrea en " -"los modos ``’r’`` y ``’w’``(esto será un error en futuras versiones de " +"los modos ``’r’`` y ``’w’`` (esto será un error en futuras versiones de " "Python). (Contribuido por *Serhiy Storchaka* en :issue:`28847`.)" #: ../Doc/whatsnew/3.7.rst:1986 @@ -4523,8 +4523,8 @@ msgid "" "Stinner in :issue:`31900`.)" msgstr "" "La función :func:`locale.localeconv` ahora establece temporalmente la " -"configuración regional ``LC_CTYPE`` en el valor de ```LC_NUMERIC``en algunos " -"casos. (Contribuido por *Victor Stinner* en :issue:`31900`.)" +"configuración regional ``LC_CTYPE`` en el valor de ```LC_NUMERIC`` en " +"algunos casos. (Contribuido por *Victor Stinner* en :issue:`31900`.)" #: ../Doc/whatsnew/3.7.rst:2279 msgid "" @@ -4752,8 +4752,8 @@ msgid "" "`STARTUPINFO.lpAttributeList `." msgstr "" "En Windows, el valor predeterminado para el argumento *close_fds* de :class: " -"`subprocess.Popen` se cambió de :const:` False` a :const: `True` al " -"redirigir los identificadores estándar. Si anteriormente dependía de que los " +"`subprocess.Popen` se cambió de :const:`False` a :const:`True` al redirigir " +"los identificadores estándar. Si anteriormente dependía de que los " "identificadores fueran heredados al usar :class:`subprocess.Popen` con la " "redirección estándar de io, tendrá que pasar ``close_fds=False`` para " "preservar el comportamiento anterior, o usar :attr:`STARTUPINFO." @@ -5088,8 +5088,8 @@ msgid "" "behavior now matches what the C tokenizer does internally. (Contributed by " "Ammar Askar in :issue:`33899`.)" msgstr "" -"En 3.7.1 el módulo :mod:`tokenize` ahora emite un token ``NEWLINE``cuando se " -"le proporciona una entrada que no tiene una nueva línea al final. Este " +"En 3.7.1 el módulo :mod:`tokenize` ahora emite un token ``NEWLINE`` cuando " +"se le proporciona una entrada que no tiene una nueva línea al final. Este " "comportamiento ahora coincide con lo que hace el tokenizador C internamente. " "(Contribuido por *Ammar Askar* en :issue:`33899`.)" From 657fa8fac32cc2a450e1b1945d5fcd2292aed5d6 Mon Sep 17 00:00:00 2001 From: andipandiber Date: Mon, 12 Oct 2020 05:45:45 -0500 Subject: [PATCH 6/6] Traduccion Realizada2 --- whatsnew/3.7.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/whatsnew/3.7.po b/whatsnew/3.7.po index 99bf593fae..c72e0ee124 100644 --- a/whatsnew/3.7.po +++ b/whatsnew/3.7.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-11 22:11-0500\n" +"PO-Revision-Date: 2020-10-12 05:44-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -937,7 +937,7 @@ msgstr "" "de entorno :envvar:`PYTHONDEVMODE` se puede utilizar para habilitar el * " "modo de desarrollo* de CPython. Cuando está en modo de desarrollo, CPython " "realiza comprobaciones de tiempo de ejecución adicionales que son demasiado " -"caras para habilitarse de forma predeterminada. Ver :option:`-X` ``dev``en " +"caras para habilitarse de forma predeterminada. Ver :option:`-X` ``dev`` en " "la documentación para la descripción completa de los efectos de este modo." #: ../Doc/whatsnew/3.7.rst:494 @@ -2760,7 +2760,7 @@ msgstr "" "En Windows, el valor predeterminado de *close_fds* se cambió de ``False`` a " "``True`` al redirigir los identificadores estándar. Ahora es posible " "establecer *close_fds* en verdadero al redirigir los identificadores " -"estándar. Ver :class:`subprocess.Popen`. Esto significa que * close_fds * " +"estándar. Ver :class:`subprocess.Popen`. Esto significa que *close_fds* " "ahora tiene el valor predeterminado de ``True`` en todas las plataformas " "compatibles. (Contribuido por *Segev Finer* en :issue:`19764`.)" @@ -4751,7 +4751,7 @@ msgid "" "to pass ``close_fds=False`` to preserve the previous behaviour, or use :attr:" "`STARTUPINFO.lpAttributeList `." msgstr "" -"En Windows, el valor predeterminado para el argumento *close_fds* de :class: " +"En Windows, el valor predeterminado para el argumento *close_fds* de :class:" "`subprocess.Popen` se cambió de :const:`False` a :const:`True` al redirigir " "los identificadores estándar. Si anteriormente dependía de que los " "identificadores fueran heredados al usar :class:`subprocess.Popen` con la "