From 8500cecaaa8d55562ec5481f6ea103e0b11d20ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Fri, 27 Feb 2026 10:05:34 +0100 Subject: [PATCH] Bump whatsnew/3.5 to 3.14 Close #3443 --- whatsnew/3.5.po | 2596 ++++++++++++++++++++++++++--------------------- 1 file changed, 1420 insertions(+), 1176 deletions(-) diff --git a/whatsnew/3.5.po b/whatsnew/3.5.po index 28af87561e..d85f2e7120 100644 --- a/whatsnew/3.5.po +++ b/whatsnew/3.5.po @@ -13,12 +13,12 @@ msgstr "" "POT-Creation-Date: 2026-02-26 18:44-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: José Luis Salgado Banda\n" -"Language: es_MX\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: es_MX\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Generated-By: Babel 2.18.0\n" #: ../Doc/whatsnew/3.5.rst:3 @@ -34,16 +34,15 @@ msgid "Elvis Pranskevichus , Yury Selivanov " msgstr "Elvis Pranskevichus , Yury Selivanov " #: ../Doc/whatsnew/3.5.rst:47 -#, fuzzy msgid "" "This article explains the new features in Python 3.5, compared to 3.4. " "Python 3.5 was released on September 13, 2015. See the `changelog `_ for a full list of changes." msgstr "" "Este artículo explica las nuevas características de Python 3.5, en " -"comparación con 3.4. Python 3.5 se publicó el 13 de septiembre de 2015. " -"Consultar el `registro de cambios `_ para una lista completa de cambios." +"comparación con 3.4. Python 3.5 se lanzó el 13 de septiembre de 2015. " +"Consulte `changelog `_ " +"para obtener una lista completa de cambios." #: ../Doc/whatsnew/3.5.rst:54 msgid ":pep:`478` - Python 3.5 Release Schedule" @@ -112,8 +111,8 @@ msgid "" "New :meth:`bytes.hex`, :meth:`bytearray.hex` and :meth:`memoryview.hex` " "methods. (Contributed by Arnon Yaari in :issue:`9951`.)" msgstr "" -"Nuevos métodos :meth:`bytes.hex`, :meth:`bytearray.hex` y :meth:`memoryview." -"hex`. (Contribución de Arnon Yaari en :issue:`9951`.)" +"Nuevos métodos :meth:`bytes.hex`, :meth:`bytearray.hex` " +"y :meth:`memoryview.hex`. (Contribución de Arnon Yaari en :issue:`9951`.)" #: ../Doc/whatsnew/3.5.rst:82 msgid "" @@ -139,8 +138,8 @@ msgid "" "depth is reached. (Contributed by Georg Brandl in :issue:`19235`.)" msgstr "" "Ahora se genera una nueva excepción :exc:`RecursionError` cuando se alcanza " -"la profundidad máxima de recursividad. (Contribución de Georg Brandl en :" -"issue:`19235`.)" +"la profundidad máxima de recursividad. (Contribución de Georg Brandl " +"en :issue:`19235`.)" #: ../Doc/whatsnew/3.5.rst:94 msgid "CPython implementation improvements:" @@ -148,16 +147,16 @@ msgstr "Mejoras en la implementación de CPython:" #: ../Doc/whatsnew/3.5.rst:96 msgid "" -"When the ``LC_TYPE`` locale is the POSIX locale (``C`` locale), :py:data:" -"`sys.stdin` and :py:data:`sys.stdout` now use the ``surrogateescape`` error " -"handler, instead of the ``strict`` error handler. (Contributed by Victor " -"Stinner in :issue:`19977`.)" +"When the ``LC_TYPE`` locale is the POSIX locale (``C`` " +"locale), :py:data:`sys.stdin` and :py:data:`sys.stdout` now use the " +"``surrogateescape`` error handler, instead of the ``strict`` error handler. " +"(Contributed by Victor Stinner in :issue:`19977`.)" msgstr "" "Cuando la configuración regional ``LC_TYPE`` es la configuración regional " -"POSIX (configuración regional ``C``), ahora :py:data:`sys.stdin` y :py:data:" -"`sys.stdout` usan el controlador de errores ``surrogateescape``, en lugar " -"del controlador de errores ``strict``. (Contribución de Victor Stinner en :" -"issue:`19977`.)" +"POSIX (configuración regional ``C``), ahora :py:data:`sys.stdin` " +"y :py:data:`sys.stdout` usan el controlador de errores ``surrogateescape``, " +"en lugar del controlador de errores ``strict``. (Contribución de Victor " +"Stinner en :issue:`19977`.)" #: ../Doc/whatsnew/3.5.rst:101 msgid "" @@ -240,8 +239,9 @@ msgstr "Mejoras de seguridad:" #: ../Doc/whatsnew/3.5.rst:138 msgid "" "SSLv3 is now disabled throughout the standard library. It can still be " -"enabled by instantiating a :class:`ssl.SSLContext` manually. (See :issue:" -"`22638` for more details; this change was backported to CPython 3.4 and 2.7.)" +"enabled by instantiating a :class:`ssl.SSLContext` manually. " +"(See :issue:`22638` for more details; this change was backported to CPython " +"3.4 and 2.7.)" msgstr "" "Ahora SSLv3 está deshabilitado en toda la biblioteca estándar. Aún se puede " "habilitar creando una instancia de :class:`ssl.SSLContext` manualmente. " @@ -254,8 +254,8 @@ msgid "" "injection attacks. (Contributed by Antoine Pitrou in :issue:`22796`.)" msgstr "" "Ahora el análisis de cookies HTTP es más estricto, con el fin de proteger " -"contra posibles ataques de entrada. (Contribución de Antoine Pitrou en :" -"issue:`22796`.)" +"contra posibles ataques de entrada. (Contribución de Antoine Pitrou " +"en :issue:`22796`.)" #: ../Doc/whatsnew/3.5.rst:148 msgid "Windows improvements:" @@ -266,8 +266,8 @@ msgid "" "A new installer for Windows has replaced the old MSI. See :ref:`using-on-" "windows` for more information." msgstr "" -"Un nuevo instalador para Windows ha reemplazado al antiguo MSI. Consultar :" -"ref:`using-on-windows` para más información." +"Un nuevo instalador para Windows ha reemplazado al antiguo MSI. " +"Consultar :ref:`using-on-windows` para más información." #: ../Doc/whatsnew/3.5.rst:153 msgid "" @@ -322,20 +322,21 @@ msgid "" ">>> async def coro():\n" "... return 'spam'" msgstr "" +">>> asíncrono def coro():\n" +"... return 'spam'" #: ../Doc/whatsnew/3.5.rst:181 -#, fuzzy msgid "" "Inside a coroutine function, the new :keyword:`await` expression can be used " "to suspend coroutine execution until the result is available. Any object " "can be *awaited*, as long as it implements the :term:`awaitable` protocol by " "defining the :meth:`~object.__await__` method." msgstr "" -"Dentro de una función corrutina, la nueva expresión :keyword:`await` puede " -"ser usada para suspender la ejecución de la corrutina hasta que el resultado " -"esté disponible. Cualquier objeto puede ser *awaited*, siempre que " -"implemente el protocolo :term:`awaitable` al definir el método :meth:" -"`__await__`." +"Dentro de una función de rutina, la nueva expresión :keyword:`await` se " +"puede usar para suspender la ejecución de la rutina hasta que el resultado " +"esté disponible. Cualquier objeto puede ser *awaited*, siempre que " +"implemente el protocolo :term:`awaitable` definiendo el " +"método :meth:`~object.__await__`." #: ../Doc/whatsnew/3.5.rst:186 msgid "" @@ -376,6 +377,28 @@ msgid "" "finally:\n" " loop.close()" msgstr "" +"importar asincio\n" +"\n" +"asíncrono def http_get(dominio):\n" +" lector, escritor = espera asyncio.open_connection (dominio, 80)\n" +"\n" +" escritor.write(b'\\r\\n'.join([\n" +" b'GET/HTTP/1.1',\n" +" b'Host: %b' % dominio.encode('latin-1'),\n" +" b'Conexión: cerrar',\n" +" b'', b''\n" +" ]))\n" +"\n" +" asíncrono para línea en lector:\n" +" imprimir('>>>', línea)\n" +"\n" +" escritor.cerrar()\n" +"\n" +"bucle = asyncio.get_event_loop()\n" +"prueba:\n" +" loop.run_until_complete(http_get('ejemplo.com'))\n" +"finalmente:\n" +" bucle.cerrar()" #: ../Doc/whatsnew/3.5.rst:215 msgid "" @@ -405,6 +428,22 @@ msgid "" "finally:\n" " loop.close()" msgstr "" +"importar asincio\n" +"\n" +"async def coro(nombre, candado):\n" +" print('coro {}: esperando bloqueo'.format(nombre))\n" +" asíncrono con bloqueo:\n" +" print('coro {}: manteniendo el candado'.format(nombre))\n" +" espera asyncio.sleep(1)\n" +" print('coro {}: liberando el candado'.format(nombre))\n" +"\n" +"bucle = asyncio.get_event_loop()\n" +"bloqueo = asyncio.Lock()\n" +"coros = asyncio.gather(coro(1, bloquear), coro(2, bloquear))\n" +"prueba:\n" +" bucle.run_until_complete (coros)\n" +"finalmente:\n" +" bucle.cerrar()" #: ../Doc/whatsnew/3.5.rst:235 msgid "will output::" @@ -419,6 +458,12 @@ msgid "" "coro 1: holding the lock\n" "coro 1: releasing the lock" msgstr "" +"coro 2: esperando bloqueo\n" +"coro 2: sosteniendo la cerradura\n" +"coro 1: esperando bloqueo\n" +"coro 2: soltar la cerradura\n" +"coro 1: sosteniendo la cerradura\n" +"coro 1: soltar la cerradura" #: ../Doc/whatsnew/3.5.rst:244 msgid "" @@ -439,13 +484,15 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:253 msgid "" -"Starting with CPython 3.5.2, ``__aiter__`` can directly return :term:" -"`asynchronous iterators `. Returning an :term:" -"`awaitable` object will result in a :exc:`PendingDeprecationWarning`." +"Starting with CPython 3.5.2, ``__aiter__`` can directly " +"return :term:`asynchronous iterators `. Returning " +"an :term:`awaitable` object will result in " +"a :exc:`PendingDeprecationWarning`." msgstr "" -"A partir de CPython 3.5.2, ``__aiter__`` puede retornar directamente :term:" -"`iteradores asincrónicos `. Retornar un objeto :term:" -"`awaitable` resultará en :exc:`PendingDeprecationWarning`." +"A partir de CPython 3.5.2, ``__aiter__`` puede retornar " +"directamente :term:`iteradores asincrónicos `. " +"Retornar un objeto :term:`awaitable` resultará " +"en :exc:`PendingDeprecationWarning`." #: ../Doc/whatsnew/3.5.rst:259 msgid "See more details in the :ref:`async-iterators` documentation section." @@ -467,22 +514,22 @@ msgstr "" "PEP 465 - Un operador infijo dedicado para la multiplicación de matrices" #: ../Doc/whatsnew/3.5.rst:274 -#, fuzzy msgid "" ":pep:`465` adds the ``@`` infix operator for matrix multiplication. " "Currently, no builtin Python types implement the new operator, however, it " -"can be implemented by defining :meth:`~object.__matmul__`, :meth:`~object." -"__rmatmul__`, and :meth:`~object.__imatmul__` for regular, reflected, and in-" -"place matrix multiplication. The semantics of these methods is similar to " -"that of methods defining other infix arithmetic operators." +"can be implemented by " +"defining :meth:`~object.__matmul__`, :meth:`~object.__rmatmul__`, " +"and :meth:`~object.__imatmul__` for regular, reflected, and in-place matrix " +"multiplication. The semantics of these methods is similar to that of methods " +"defining other infix arithmetic operators." msgstr "" ":pep:`465` agrega el operador infijo ``@`` para la multiplicación de " -"matrices. Actualmente, ningún tipo de Python incorporado implementa el nuevo " -"operador, sin embargo, puede ser implementado al definir :meth:" -"`__matmul__`, :meth:`__rmatmul__`, y :meth:`__imatmul__` para la " -"multiplicación de matrices regulares, reflejadas e in situ. La semántica de " -"estos métodos es similar a la de los métodos que definen otros operadores " -"infijos aritméticos." +"matrices. Actualmente, ningún tipo integrado de Python implementa el nuevo " +"operador; sin embargo, se puede implementar " +"definiendo :meth:`~object.__matmul__`, :meth:`~object.__rmatmul__` " +"y :meth:`~object.__imatmul__` para la multiplicación de matrices regular, " +"reflejada e in situ. La semántica de estos métodos es similar a la de los " +"métodos que definen otros operadores aritméticos infijos." #: ../Doc/whatsnew/3.5.rst:282 msgid "" @@ -496,7 +543,7 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:286 msgid "S = (H @ beta - r).T @ inv(H @ V @ H.T) @ (H @ beta - r)" -msgstr "" +msgstr "S = (H @ beta - r).T @ inv(H @ V @ H.T) @ (H @ beta - r)" #: ../Doc/whatsnew/3.5.rst:288 msgid "instead of::" @@ -507,6 +554,8 @@ msgid "" "S = dot((dot(H, beta) - r).T,\n" " dot(inv(dot(dot(H, V), H.T)), dot(H, beta) - r))" msgstr "" +"S = punto((punto(H, beta) - r).T,\n" +" punto(inv(punto(punto(H, V), H.T)), punto(H, beta) - r))" #: ../Doc/whatsnew/3.5.rst:293 msgid "NumPy 1.10 has support for the new operator::" @@ -529,6 +578,20 @@ msgid "" ">>> x @ m\n" "array([ 1., 1., 1.])" msgstr "" +">>> importar números\n" +"\n" +">>> x = numpy.unos(3)\n" +">>> x\n" +"matriz([ 1., 1., 1.])\n" +"\n" +">>> m = numpy.ojo(3)\n" +">>> m\n" +"matriz([[ 1., 0., 0.],\n" +" [ 0., 1., 0.],\n" +" [ 0., 0., 1.]])\n" +"\n" +">>> x@m\n" +"matriz([ 1., 1., 1.])" #: ../Doc/whatsnew/3.5.rst:313 msgid ":pep:`465` -- A dedicated infix operator for matrix multiplication" @@ -568,6 +631,15 @@ msgid "" ">>> fn(**{'a': 1, 'c': 3}, **{'b': 2, 'd': 4})\n" "1 2 3 4" msgstr "" +">>> imprimir(*[1], *[2], 3, *[4, 5])\n" +"1 2 3 4 5\n" +"\n" +">>> def fn(a, b, c, d):\n" +"... imprimir(a, b, c, d)\n" +"...\n" +"\n" +">>> fn(**{'a': 1, 'c': 3}, **{'b': 2, 'd': 4})\n" +"1 2 3 4" #: ../Doc/whatsnew/3.5.rst:336 msgid "" @@ -575,8 +647,8 @@ msgid "" "unpackings (see :ref:`exprlists` and :ref:`dict`)::" msgstr "" "De manera similar, las pantallas de tupla, lista, conjunto y diccionario " -"permiten desembalajes múltiples (consultar :ref:`exprlists` and :ref:" -"`dict`)::" +"permiten desembalajes múltiples (consultar :ref:`exprlists` " +"and :ref:`dict`)::" #: ../Doc/whatsnew/3.5.rst:339 #, python-brace-format @@ -593,6 +665,17 @@ msgid "" ">>> {'x': 1, **{'y': 2}}\n" "{'x': 1, 'y': 2}" msgstr "" +">>> *range(4), 4\n" +"(0, 1, 2, 3, 4)\n" +"\n" +">>> [*rango(4), 4]\n" +"[0, 1, 2, 3, 4]\n" +"\n" +">>> {*range(4), 4, *(5, 6, 7)}\n" +"{0, 1, 2, 3, 4, 5, 6, 7}\n" +"\n" +">>> {'x': 1, **{'y': 2}}\n" +"{'x': 1, 'y': 2}" #: ../Doc/whatsnew/3.5.rst:353 msgid ":pep:`448` -- Additional Unpacking Generalizations" @@ -648,6 +731,11 @@ msgid "" ">>> b'x=%i y=%f' % (1, 2.5)\n" "b'x=1 y=2.500000'" msgstr "" +">>> b'¡Hola %b!' % b'Mundo'\n" +"b'¡Hola mundo!'\n" +"\n" +">>> b'x=%i y=%f' % (1, 2.5)\n" +"b'x=1 y=2.500000'" #: ../Doc/whatsnew/3.5.rst:382 msgid "" @@ -668,6 +756,13 @@ msgid "" ">>> b'price: %a' % '10€'\n" "b\"price: '10\\\\u20ac'\"" msgstr "" +">>> b'¡Hola %b!' % 'Mundo'\n" +"Rastreo (última llamada más reciente):\n" +" Archivo \"\", línea 1, en \n" +"TypeError: %b requiere bytes o un objeto que implemente __bytes__, no 'str'\n" +"\n" +">>> b'precio: %a' % '10€'\n" +"b\"precio: '10\\\\u20ac'\"" #: ../Doc/whatsnew/3.5.rst:393 #, python-format @@ -698,8 +793,8 @@ msgstr "PEP 484 - Indicador de tipos" #: ../Doc/whatsnew/3.5.rst:408 msgid "" -"Function annotation syntax has been a Python feature since version 3.0 (:pep:" -"`3107`), however the semantics of annotations has been left undefined." +"Function annotation syntax has been a Python feature since version 3.0 " +"(:pep:`3107`), however the semantics of annotations has been left undefined." msgstr "" "La sintaxis de anotaciones de funciones ha sido una característica de Python " "desde la versión 3.0 (:pep:`3107`), sin embargo, la semántica de anotaciones " @@ -741,28 +836,28 @@ msgid "" "def greeting(name: str) -> str:\n" " return 'Hello ' + name" msgstr "" +"def saludo(nombre: str) -> str:\n" +" devolver 'Hola ' + nombre" #: ../Doc/whatsnew/3.5.rst:426 -#, fuzzy msgid "" -"While these annotations are available at runtime through the usual :attr:" -"`~object.__annotations__` attribute, *no automatic type checking happens at " -"runtime*. Instead, it is assumed that a separate off-line type checker (e." -"g. `mypy `_) will be used for on-demand source code " -"analysis." +"While these annotations are available at runtime through the " +"usual :attr:`~object.__annotations__` attribute, *no automatic type checking " +"happens at runtime*. Instead, it is assumed that a separate off-line type " +"checker (e.g. `mypy `_) will be used for on-demand " +"source code analysis." msgstr "" "Si bien estas anotaciones están disponibles en tiempo de ejecución a través " -"del atributo habitual :attr:`__annotations__`, *no se realiza ninguna " -"verificación de tipos automática en tiempo de ejecución*. En su lugar, se " -"asume que se utilizará un verificador de tipos fuera de línea independiente " -"(p. ej. `mypy `_) para el análisis de código fuente " -"bajo demanda." +"del atributo :attr:`~object.__annotations__` habitual, *no automatic type " +"checking happens at runtime*. En cambio, se supone que se utilizará un " +"verificador de tipo fuera de línea independiente (por ejemplo, `mypy " +"`_) para el análisis del código fuente bajo demanda." #: ../Doc/whatsnew/3.5.rst:432 msgid "" -"The type system supports unions, generic types, and a special type named :" -"class:`~typing.Any` which is consistent with (i.e. assignable to and from) " -"all types." +"The type system supports unions, generic types, and a special type " +"named :class:`~typing.Any` which is consistent with (i.e. assignable to and " +"from) all types." msgstr "" "El sistema de tipos admite uniones, tipos genéricos y un tipo especial " "llamado :class:`~typing.Any` el cual es consistente con (esto es asignable " @@ -808,12 +903,13 @@ msgid "" "reducing the number of calls to :func:`os.stat` required to walk a directory " "tree." msgstr "" -":pep:`471` agrega una nueva función de iteración de directorio, :func:`os." -"scandir`, a la biblioteca estándar. Adicionalmente, ahora :func:`os.walk` se " -"implementa utilizando ``scandir``, lo que lo hace de 3 a 5 veces más rápido " -"en sistemas POSIX y de 7 a 20 veces más rápido en sistemas Windows. Esto se " -"logra en gran medida al reducir enormemente el número de llamadas necesarias " -"de :func:`os.stat` para recorrer un árbol de directorios." +":pep:`471` agrega una nueva función de iteración de " +"directorio, :func:`os.scandir`, a la biblioteca estándar. Adicionalmente, " +"ahora :func:`os.walk` se implementa utilizando ``scandir``, lo que lo hace " +"de 3 a 5 veces más rápido en sistemas POSIX y de 7 a 20 veces más rápido en " +"sistemas Windows. Esto se logra en gran medida al reducir enormemente el " +"número de llamadas necesarias de :func:`os.stat` para recorrer un árbol de " +"directorios." #: ../Doc/whatsnew/3.5.rst:458 msgid "" @@ -834,8 +930,9 @@ msgid "" msgstr "" "El siguiente ejemplo presenta un uso simple de :func:`os.scandir` para " "mostrar todos los archivos (excluyendo directorios) en el *path* dado que no " -"comienzan con ``'.'``. La llamada a :meth:`entry.is_file() ` generalmente no hará una llamada adicional al sistema::" +"comienzan con ``'.'``. La llamada a :meth:`entry.is_file() " +"` generalmente no hará una llamada adicional al " +"sistema::" #: ../Doc/whatsnew/3.5.rst:467 msgid "" @@ -843,6 +940,9 @@ msgid "" " if not entry.name.startswith('.') and entry.is_file():\n" " print(entry.name)" msgstr "" +"para ingresar en os.scandir(ruta):\n" +" si no es entrada.nombre.startswith('.') y entrada.is_file():\n" +" imprimir(entrada.nombre)" #: ../Doc/whatsnew/3.5.rst:473 msgid "" @@ -862,18 +962,17 @@ msgid "PEP 475: Retry system calls failing with EINTR" msgstr "PEP 475: Reintentar las llamadas al sistema que fallan con EINTR" #: ../Doc/whatsnew/3.5.rst:482 -#, fuzzy msgid "" "An :py:const:`errno.EINTR` error code is returned whenever a system call, " "that is waiting for I/O, is interrupted by a signal. Previously, Python " "would raise :exc:`InterruptedError` in such cases. This meant that, when " "writing a Python application, the developer had two choices:" msgstr "" -"Se retorna un código de error :py:data:`errno.EINTR` siempre que una llamada " -"al sistema, que está esperando E/S, es interrumpida por una señal. " -"Anteriormente, Python generaría :exc:`InterruptedError` en tales casos. Esto " -"significaba que, al escribir una aplicación en Python, el desarrollador " -"tenía dos opciones:" +"Se devuelve un código de error :py:const:`errno.EINTR` cada vez que una " +"señal interrumpe una llamada al sistema, que está esperando E/S. " +"Anteriormente, Python generaba :exc:`InterruptedError` en tales casos. Esto " +"significaba que, al escribir una aplicación Python, el desarrollador tenía " +"dos opciones:" #: ../Doc/whatsnew/3.5.rst:487 msgid "Ignore the ``InterruptedError``." @@ -899,7 +998,7 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:495 msgid "print(\"Hello World\")" -msgstr "" +msgstr "imprimir(\"Hola mundo\")" #: ../Doc/whatsnew/3.5.rst:497 msgid "and::" @@ -914,6 +1013,12 @@ msgid "" " except InterruptedError:\n" " continue" msgstr "" +"mientras que Verdadero:\n" +" prueba:\n" +" imprimir(\"Hola mundo\")\n" +" romper\n" +" excepto error interrumpido:\n" +" continuar" #: ../Doc/whatsnew/3.5.rst:506 msgid "" @@ -924,11 +1029,11 @@ msgid "" "the signal handler does not raise an exception." msgstr "" ":pep:`475` implementa el reintento automático de las llamadas al sistema en " -"``EINTR``. Esto elimina la carga de lidiar con ``EINTR`` o la excepción :exc:" -"`InterruptedError` en el código de usuario en la mayoría de las situaciones " -"y hace que los programas de Python, incluida la biblioteca estándar, sean " -"más robustos. Ten en cuenta que la llamada al sistema sólo se reintenta si " -"el gestor de señales no lanza una excepción." +"``EINTR``. Esto elimina la carga de lidiar con ``EINTR`` o la " +"excepción :exc:`InterruptedError` en el código de usuario en la mayoría de " +"las situaciones y hace que los programas de Python, incluida la biblioteca " +"estándar, sean más robustos. Ten en cuenta que la llamada al sistema sólo se " +"reintenta si el gestor de señales no lanza una excepción." #: ../Doc/whatsnew/3.5.rst:513 msgid "" @@ -948,59 +1053,47 @@ msgstr "funciones del módulo :mod:`faulthandler`;" #: ../Doc/whatsnew/3.5.rst:520 msgid "" -":mod:`os` functions: :func:`~os.fchdir`, :func:`~os.fchmod`, :func:`~os." -"fchown`, :func:`~os.fdatasync`, :func:`~os.fstat`, :func:`~os.fstatvfs`, :" -"func:`~os.fsync`, :func:`~os.ftruncate`, :func:`~os.mkfifo`, :func:`~os." -"mknod`, :func:`~os.open`, :func:`~os.posix_fadvise`, :func:`~os." -"posix_fallocate`, :func:`~os.pread`, :func:`~os.pwrite`, :func:`~os.read`, :" -"func:`~os.readv`, :func:`~os.sendfile`, :func:`~os.wait3`, :func:`~os." -"wait4`, :func:`~os.wait`, :func:`~os.waitid`, :func:`~os.waitpid`, :func:" -"`~os.write`, :func:`~os.writev`;" -msgstr "" -"funciones del módulo :mod:`os`: :func:`~os.fchdir`, :func:`~os.fchmod`, :" -"func:`~os.fchown`, :func:`~os.fdatasync`, :func:`~os.fstat`, :func:`~os." -"fstatvfs`, :func:`~os.fsync`, :func:`~os.ftruncate`, :func:`~os.mkfifo`, :" -"func:`~os.mknod`, :func:`~os.open`, :func:`~os.posix_fadvise`, :func:`~os." -"posix_fallocate`, :func:`~os.pread`, :func:`~os.pwrite`, :func:`~os.read`, :" -"func:`~os.readv`, :func:`~os.sendfile`, :func:`~os.wait3`, :func:`~os." -"wait4`, :func:`~os.wait`, :func:`~os.waitid`, :func:`~os.waitpid`, :func:" -"`~os.write`, :func:`~os.writev`;" +":mod:`os` " +"functions: :func:`~os.fchdir`, :func:`~os.fchmod`, :func:`~os.fchown`, :func:`~os.fdatasync`, :func:`~os.fstat`, :func:`~os.fstatvfs`, :func:`~os.fsync`, :func:`~os.ftruncate`, :func:`~os.mkfifo`, :func:`~os.mknod`, :func:`~os.open`, :func:`~os.posix_fadvise`, :func:`~os.posix_fallocate`, :func:`~os.pread`, :func:`~os.pwrite`, :func:`~os.read`, :func:`~os.readv`, :func:`~os.sendfile`, :func:`~os.wait3`, :func:`~os.wait4`, :func:`~os.wait`, :func:`~os.waitid`, :func:`~os.waitpid`, :func:`~os.write`, :func:`~os.writev`;" +msgstr "" +"funciones del " +"módulo :mod:`os`: :func:`~os.fchdir`, :func:`~os.fchmod`, :func:`~os.fchown`, :func:`~os.fdatasync`, :func:`~os.fstat`, :func:`~os.fstatvfs`, :func:`~os.fsync`, :func:`~os.ftruncate`, :func:`~os.mkfifo`, :func:`~os.mknod`, :func:`~os.open`, :func:`~os.posix_fadvise`, :func:`~os.posix_fallocate`, :func:`~os.pread`, :func:`~os.pwrite`, :func:`~os.read`, :func:`~os.readv`, :func:`~os.sendfile`, :func:`~os.wait3`, :func:`~os.wait4`, :func:`~os.wait`, :func:`~os.waitid`, :func:`~os.waitpid`, :func:`~os.write`, :func:`~os.writev`;" #: ../Doc/whatsnew/3.5.rst:530 -#, fuzzy msgid "" -"special cases: :func:`os.close` and :func:`os.dup2` now ignore :py:const:" -"`~errno.EINTR` errors; the syscall is not retried (see the PEP for the " -"rationale);" +"special cases: :func:`os.close` and :func:`os.dup2` now " +"ignore :py:const:`~errno.EINTR` errors; the syscall is not retried (see the " +"PEP for the rationale);" msgstr "" -"casos especiales: ahora :func:`os.close` y :func:`os.dup2` ignoran errores :" -"py:data:`~errno.EINTR`; no se reintenta la llamada al sistema (consultar la " -"PEP para la justificación);" +"casos especiales: :func:`os.close` y :func:`os.dup2` ahora ignoran los " +"errores :py:const:`~errno.EINTR`; la llamada al sistema no se vuelve a " +"intentar (consulte el PEP para conocer el fundamento);" #: ../Doc/whatsnew/3.5.rst:534 msgid "" -":mod:`select` functions: :func:`devpoll.poll() `, :func:" -"`epoll.poll() `, :func:`kqueue.control() `, :func:`poll.poll() `, :func:`~select.select`;" +":mod:`select` functions: :func:`devpoll.poll() " +"`, :func:`epoll.poll() " +"`, :func:`kqueue.control() " +"`, :func:`poll.poll() " +"`, :func:`~select.select`;" msgstr "" -"funciones del módulo :mod:`select`: :func:`devpoll.poll() `, :func:`epoll.poll() `, :func:`kqueue.control() " -"`, :func:`poll.poll() `, :func:" -"`~select.select`;" +"funciones del módulo :mod:`select`: :func:`devpoll.poll() " +"`, :func:`epoll.poll() " +"`, :func:`kqueue.control() " +"`, :func:`poll.poll() " +"`, :func:`~select.select`;" #: ../Doc/whatsnew/3.5.rst:539 msgid "" -"methods of the :class:`~socket.socket` class: :meth:`~socket.socket." -"accept`, :meth:`~socket.socket.connect` (except for non-blocking sockets), :" -"meth:`~socket.socket.recv`, :meth:`~socket.socket.recvfrom`, :meth:`~socket." -"socket.recvmsg`, :meth:`~socket.socket.send`, :meth:`~socket.socket." -"sendall`, :meth:`~socket.socket.sendmsg`, :meth:`~socket.socket.sendto`;" +"methods of the :class:`~socket.socket` " +"class: :meth:`~socket.socket.accept`, :meth:`~socket.socket.connect` (except " +"for non-blocking " +"sockets), :meth:`~socket.socket.recv`, :meth:`~socket.socket.recvfrom`, :meth:`~socket.socket.recvmsg`, :meth:`~socket.socket.send`, :meth:`~socket.socket.sendall`, :meth:`~socket.socket.sendmsg`, :meth:`~socket.socket.sendto`;" msgstr "" -"métodos de la clase :class:`~socket.socket`: :meth:`~socket.socket.accept`, :" -"meth:`~socket.socket.connect` (excepto para sockets sin bloqueo), :meth:" -"`~socket.socket.recv`, :meth:`~socket.socket.recvfrom`, :meth:`~socket." -"socket.recvmsg`, :meth:`~socket.socket.send`, :meth:`~socket.socket." -"sendall`, :meth:`~socket.socket.sendmsg`, :meth:`~socket.socket.sendto`;" +"métodos de la " +"clase :class:`~socket.socket`: :meth:`~socket.socket.accept`, :meth:`~socket.socket.connect` " +"(excepto para sockets sin " +"bloqueo), :meth:`~socket.socket.recv`, :meth:`~socket.socket.recvfrom`, :meth:`~socket.socket.recvmsg`, :meth:`~socket.socket.send`, :meth:`~socket.socket.sendall`, :meth:`~socket.socket.sendmsg`, :meth:`~socket.socket.sendto`;" #: ../Doc/whatsnew/3.5.rst:546 msgid ":func:`signal.sigtimedwait` and :func:`signal.sigwaitinfo`;" @@ -1043,12 +1136,12 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:568 msgid "" ":pep:`479` changes the behavior of generators: when a ``StopIteration`` " -"exception is raised inside a generator, it is replaced with a :exc:" -"`RuntimeError` before it exits the generator frame. The main goal of this " -"change is to ease debugging in the situation where an unguarded :func:`next` " -"call raises ``StopIteration`` and causes the iteration controlled by the " -"generator to terminate silently. This is particularly pernicious in " -"combination with the ``yield from`` construct." +"exception is raised inside a generator, it is replaced with " +"a :exc:`RuntimeError` before it exits the generator frame. The main goal of " +"this change is to ease debugging in the situation where an " +"unguarded :func:`next` call raises ``StopIteration`` and causes the " +"iteration controlled by the generator to terminate silently. This is " +"particularly pernicious in combination with the ``yield from`` construct." msgstr "" ":pep:`479` cambia el comportamiento de los generadores: cuando se lanza una " "excepción ``StopIteration`` dentro de un generador, se reemplaza con una " @@ -1061,8 +1154,8 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:576 msgid "" -"This is a backwards incompatible change, so to enable the new behavior, a :" -"term:`__future__` import is necessary::" +"This is a backwards incompatible change, so to enable the new behavior, " +"a :term:`__future__` import is necessary::" msgstr "" "Este es un cambio incompatible hacia atrás, así que para habilitar el nuevo " "comportamiento, es necesario importar :term:`__future__`::" @@ -1086,6 +1179,22 @@ msgid "" " File \"\", line 1, in \n" "RuntimeError: generator raised StopIteration" msgstr "" +">>> desde __futuro__ importar generador_parada\n" +"\n" +">>> def generación():\n" +"... siguiente(iter([]))\n" +"... rendimiento\n" +"...\n" +">>> siguiente(generación())\n" +"Rastreo (última llamada más reciente):\n" +" Archivo \"\", línea 2, en gen\n" +"Detener iteración\n" +"\n" +"La excepción anterior fue la causa directa de la siguiente excepción:\n" +"\n" +"Rastreo (última llamada más reciente):\n" +" Archivo \"\", línea 1, en \n" +"RuntimeError: el generador generó StopIteration" #: ../Doc/whatsnew/3.5.rst:596 msgid "" @@ -1093,9 +1202,9 @@ msgid "" "raised whenever a :exc:`StopIteration` exception is raised inside a " "generator." msgstr "" -"Si no se importa ``__future__``, se lanzará la excepción :exc:" -"`PendingDeprecationWarning` siempre que se lance una excepción :exc:" -"`StopIteration` dentro de un generador." +"Si no se importa ``__future__``, se lanzará la " +"excepción :exc:`PendingDeprecationWarning` siempre que se lance una " +"excepción :exc:`StopIteration` dentro de un generador." #: ../Doc/whatsnew/3.5.rst:601 msgid ":pep:`479` -- Change StopIteration handling inside generators" @@ -1139,6 +1248,13 @@ msgid "" ">>> math.isclose(a, b, rel_tol=1e-6)\n" "False" msgstr "" +">>> importar matemáticas\n" +">>> a = 5.0\n" +">>> b = 4,99998\n" +">>> matemáticas.isclose(a, b, rel_tol=1e-5)\n" +"Verdadero\n" +">>> matemáticas.isclose(a, b, rel_tol=1e-6)\n" +"Falso" #: ../Doc/whatsnew/3.5.rst:626 msgid "" @@ -1158,6 +1274,13 @@ msgid "" ">>> math.isclose(a, b, abs_tol=0.00001)\n" "False" msgstr "" +">>> importar matemáticas\n" +">>> a = 5.0\n" +">>> b = 4,99998\n" +">>> matemáticas.isclose(a, b, abs_tol=0.00003)\n" +"Verdadero\n" +">>> matemáticas.isclose(a, b, abs_tol=0.00001)\n" +"Falso" #: ../Doc/whatsnew/3.5.rst:639 msgid ":pep:`485` -- A function for testing approximate equality" @@ -1204,15 +1327,15 @@ msgstr "PEP 488: Eliminación de archivos PYO" #: ../Doc/whatsnew/3.5.rst:665 msgid "" -":pep:`488` does away with the concept of ``.pyo`` files. This means that ``." -"pyc`` files represent both unoptimized and optimized bytecode. To prevent " +":pep:`488` does away with the concept of ``.pyo`` files. This means that " +"``.pyc`` files represent both unoptimized and optimized bytecode. To prevent " "the need to constantly regenerate bytecode files, ``.pyc`` files now have an " "optional ``opt-`` tag in their name when the bytecode is optimized. This has " "the side-effect of no more bytecode file name clashes when running under " "either :option:`-O` or :option:`-OO`. Consequently, bytecode files generated " -"from :option:`-O`, and :option:`-OO` may now exist simultaneously. :func:" -"`importlib.util.cache_from_source` has an updated API to help with this " -"change." +"from :option:`-O`, and :option:`-OO` may now exist " +"simultaneously. :func:`importlib.util.cache_from_source` has an updated API " +"to help with this change." msgstr "" ":pep:`488` elimina el concepto de archivos ``.pyo``. Esto significa que los " "archivos ``.pyc`` representan tanto bytecode optimizado y sin optimizar. " @@ -1243,8 +1366,8 @@ msgid "" "two step module loading mechanism introduced by :pep:`451` in Python 3.4." msgstr "" ":pep:`489` actualiza la inicialización del módulo de extensión para " -"aprovechar el mecanismo de carga del módulo de dos pasos introducido por :" -"pep:`451` en Python 3.4." +"aprovechar el mecanismo de carga del módulo de dos pasos introducido " +"por :pep:`451` en Python 3.4." #: ../Doc/whatsnew/3.5.rst:689 msgid "" @@ -1293,27 +1416,27 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:710 msgid "" -"The :option:`-b` option now affects comparisons of :class:`bytes` with :" -"class:`int`. (Contributed by Serhiy Storchaka in :issue:`23681`.)" +"The :option:`-b` option now affects comparisons of :class:`bytes` " +"with :class:`int`. (Contributed by Serhiy Storchaka in :issue:`23681`.)" msgstr "" -"Ahora la opción :option:`-b` afecta comparaciones de :class:`bytes` con :" -"class:`int`. (Contribución de Serhiy Storchaka en :issue:`23681`.)" +"Ahora la opción :option:`-b` afecta comparaciones de :class:`bytes` " +"con :class:`int`. (Contribución de Serhiy Storchaka en :issue:`23681`.)" #: ../Doc/whatsnew/3.5.rst:713 msgid "" "New Kazakh ``kz1048`` and Tajik ``koi8_t`` :ref:`codecs `. (Contributed by Serhiy Storchaka in :issue:`22682` and :issue:" -"`22681`.)" +"encodings>`. (Contributed by Serhiy Storchaka in :issue:`22682` " +"and :issue:`22681`.)" msgstr "" "Nuevos :ref:`códecs ` Kazakh ``kz1048`` y Tajik " -"``koi8_t``. (Contribución de Serhiy Storchaka en :issue:`22682` y :issue:" -"`22681`.)" +"``koi8_t``. (Contribución de Serhiy Storchaka en :issue:`22682` " +"y :issue:`22681`.)" #: ../Doc/whatsnew/3.5.rst:716 msgid "" -"Property docstrings are now writable. This is especially useful for :func:" -"`collections.namedtuple` docstrings. (Contributed by Berker Peksag in :issue:" -"`24064`.)" +"Property docstrings are now writable. This is especially useful " +"for :func:`collections.namedtuple` docstrings. (Contributed by Berker Peksag " +"in :issue:`24064`.)" msgstr "" "Ahora las docstrings de propiedad se pueden escribir. Esto es especialmente " "útil para las docstrings :func:`collections.namedtuple`. (Contribución de " @@ -1359,9 +1482,9 @@ msgid "" msgstr "" "El módulo nuevo :mod:`zipapp` (especificado en :pep:`441`) proporciona una " "API y una herramienta de línea de comandos para crear aplicaciones Python " -"Zip ejecutables, las cuales se introdujeron en la versión de Python 2.6 en :" -"issue:`1739468`, pero no se publicitaron bien, ni en ese momento ni desde " -"entonces." +"Zip ejecutables, las cuales se introdujeron en la versión de Python 2.6 " +"en :issue:`1739468`, pero no se publicitaron bien, ni en ese momento ni " +"desde entonces." #: ../Doc/whatsnew/3.5.rst:744 msgid "" @@ -1378,14 +1501,16 @@ msgid "" "$ python -m zipapp myapp\n" "$ python myapp.pyz" msgstr "" +"$ python -m zipapp miaplicación\n" +"$ python miaplicación.pyz" #: ../Doc/whatsnew/3.5.rst:753 msgid "" -"The module implementation has been contributed by Paul Moore in :issue:" -"`23491`." +"The module implementation has been contributed by Paul Moore " +"in :issue:`23491`." msgstr "" -"La implementación del módulo ha sido contribución de Paul Moore en :issue:" -"`23491`." +"La implementación del módulo ha sido contribución de Paul Moore " +"en :issue:`23491`." #: ../Doc/whatsnew/3.5.rst:758 msgid ":pep:`441` -- Improving Python ZIP Application Support" @@ -1401,15 +1526,15 @@ msgstr "argparse" #: ../Doc/whatsnew/3.5.rst:767 msgid "" -"The :class:`~argparse.ArgumentParser` class now allows disabling :ref:" -"`abbreviated usage ` of long options by setting :ref:" -"`allow_abbrev` to ``False``. (Contributed by Jonathan Paugh, Steven " -"Bethard, paul j3 and Daniel Eriksson in :issue:`14910`.)" +"The :class:`~argparse.ArgumentParser` class now allows " +"disabling :ref:`abbreviated usage ` of long options by " +"setting :ref:`allow_abbrev` to ``False``. (Contributed by Jonathan Paugh, " +"Steven Bethard, paul j3 and Daniel Eriksson in :issue:`14910`.)" msgstr "" -"Ahora la clase :class:`~argparse.ArgumentParser` permite deshabilitar el :" -"ref:`uso abreviado ` de opciones largas al establecer :ref:" -"`allow_abbrev` en ``False``. (Contribución de Jonathan Paugh, Steven " -"Bethard, paul j3 y Daniel Eriksson en :issue:`14910`.)" +"Ahora la clase :class:`~argparse.ArgumentParser` permite deshabilitar " +"el :ref:`uso abreviado ` de opciones largas al " +"establecer :ref:`allow_abbrev` en ``False``. (Contribución de Jonathan " +"Paugh, Steven Bethard, paul j3 y Daniel Eriksson en :issue:`14910`.)" #: ../Doc/whatsnew/3.5.rst:774 msgid "asyncio" @@ -1418,8 +1543,8 @@ msgstr "asyncio" #: ../Doc/whatsnew/3.5.rst:776 msgid "" "Since the :mod:`asyncio` module is :term:`provisional `, " -"all changes introduced in Python 3.5 have also been backported to Python 3.4." -"x." +"all changes introduced in Python 3.5 have also been backported to Python " +"3.4.x." msgstr "" "Ya que el módulo :mod:`asyncio` es :term:`provisional `, " "todos los cambios que se introdujeron en Python 3.5 también se han " @@ -1431,13 +1556,13 @@ msgstr "Cambios notables en el módulo :mod:`asyncio` desde Python 3.4.0:" #: ../Doc/whatsnew/3.5.rst:781 msgid "" -"New debugging APIs: :meth:`loop.set_debug() ` and :" -"meth:`loop.get_debug() ` methods. (Contributed by " -"Victor Stinner.)" +"New debugging APIs: :meth:`loop.set_debug() ` " +"and :meth:`loop.get_debug() ` methods. (Contributed " +"by Victor Stinner.)" msgstr "" -"Nuevas API de depuración: métodos :meth:`loop.set_debug() ` y :meth:`loop.get_debug() `. " -"(Contribución de Victor Stinner.)" +"Nuevas API de depuración: métodos :meth:`loop.set_debug() " +"` y :meth:`loop.get_debug() " +"`. (Contribución de Victor Stinner.)" #: ../Doc/whatsnew/3.5.rst:785 msgid "" @@ -1467,59 +1592,59 @@ msgstr "" "Un nuevo método :meth:`loop.create_task() ` para " "crear y programar convenientemente una nueva clase :class:`~asyncio.Task` " "para una corrutina. El método ``create_task`` también se usa para todas las " -"funciones asyncio que contengan corrutinas en tareas, tales como :func:" -"`asyncio.wait`, :func:`asyncio.gather`, etc. (Contribución de Victor " -"Stinner.)" +"funciones asyncio que contengan corrutinas en tareas, tales " +"como :func:`asyncio.wait`, :func:`asyncio.gather`, etc. (Contribución de " +"Victor Stinner.)" #: ../Doc/whatsnew/3.5.rst:799 msgid "" -"A new :meth:`transport.get_write_buffer_limits() ` method to inquire for *high-* and *low-* water " -"limits of the flow control. (Contributed by Victor Stinner.)" -msgstr "" -"Un nuevo método :meth:`transport.get_write_buffer_limits() ` para consultar los límites *high-* " -"(superior) y *low-* (inferior) del control de flujo. (Contribución de Victor " +"A new :meth:`transport.get_write_buffer_limits() " +"` method to inquire for " +"*high-* and *low-* water limits of the flow control. (Contributed by Victor " "Stinner.)" +msgstr "" +"Un nuevo método :meth:`transport.get_write_buffer_limits() " +"` para consultar los límites " +"*high-* (superior) y *low-* (inferior) del control de flujo. (Contribución " +"de Victor Stinner.)" #: ../Doc/whatsnew/3.5.rst:804 -#, fuzzy msgid "" -"The :func:`!async` function is deprecated in favor of :func:`~asyncio." -"ensure_future`. (Contributed by Yury Selivanov.)" +"The :func:`!async` function is deprecated in favor " +"of :func:`~asyncio.ensure_future`. (Contributed by Yury Selivanov.)" msgstr "" -"La función :func:`~asyncio.async` está obsoleta en favor de la función :func:" -"`~asyncio.ensure_future`. (Contribución de Yury Selivanov.)" +"La función :func:`!async` está en desuso en favor " +"de :func:`~asyncio.ensure_future`. (Contribución de Yury Selivanov.)" #: ../Doc/whatsnew/3.5.rst:808 msgid "" -"New :meth:`loop.set_task_factory() ` and :" -"meth:`loop.get_task_factory() ` methods to " -"customize the task factory that :meth:`loop.create_task() ` method uses. (Contributed by Yury Selivanov.)" +"New :meth:`loop.set_task_factory() ` " +"and :meth:`loop.get_task_factory() ` methods " +"to customize the task factory that :meth:`loop.create_task() " +"` method uses. (Contributed by Yury Selivanov.)" msgstr "" -"Nuevos métodos :meth:`loop.set_task_factory() ` y :meth:`loop.get_task_factory() ` para personalizar la fábrica de tareas que el método :" -"meth:`loop.create_task() ` usa. (Contribución de " -"Yury Selivanov.)" +"Nuevos métodos :meth:`loop.set_task_factory() " +"` y :meth:`loop.get_task_factory() " +"` para personalizar la fábrica de tareas que " +"el método :meth:`loop.create_task() ` usa. " +"(Contribución de Yury Selivanov.)" #: ../Doc/whatsnew/3.5.rst:815 msgid "" "New :meth:`Queue.join() ` and :meth:`Queue.task_done() " "` queue methods. (Contributed by Victor Stinner.)" msgstr "" -"Nuevos métodos de cola :meth:`Queue.join() ` y :meth:" -"`Queue.task_done() `. (Contribución de Victor " -"Stinner.)" +"Nuevos métodos de cola :meth:`Queue.join() ` " +"y :meth:`Queue.task_done() `. (Contribución de " +"Victor Stinner.)" #: ../Doc/whatsnew/3.5.rst:819 msgid "" -"The ``JoinableQueue`` class was removed, in favor of the :class:`asyncio." -"Queue` class. (Contributed by Victor Stinner.)" +"The ``JoinableQueue`` class was removed, in favor of " +"the :class:`asyncio.Queue` class. (Contributed by Victor Stinner.)" msgstr "" -"Se eliminó la clase ``JoinableQueue``, en favor de la clase :class:`asyncio." -"Queue`. (Contribución de Victor Stinner.)" +"Se eliminó la clase ``JoinableQueue``, en favor de la " +"clase :class:`asyncio.Queue`. (Contribución de Victor Stinner.)" #: ../Doc/whatsnew/3.5.rst:823 msgid "Updates in 3.5.1:" @@ -1533,9 +1658,9 @@ msgid "" "by Yury Selivanov.)" msgstr "" "La función :func:`~asyncio.ensure_future` y todas las funciones que la " -"utilizan, como el método :meth:`loop.run_until_complete() `, ahora acepta todo tipo de :term:`objetos aguardables " -"`. (Contribución de Yury Selivanov.)" +"utilizan, como el método :meth:`loop.run_until_complete() " +"`, ahora acepta todo tipo de :term:`objetos " +"aguardables `. (Contribución de Yury Selivanov.)" #: ../Doc/whatsnew/3.5.rst:830 msgid "" @@ -1552,9 +1677,9 @@ msgid "" "to check if the transport is closing or closed. (Contributed by Yury " "Selivanov.)" msgstr "" -"Nuevo método :meth:`Transport.is_closing() ` para comprobar si el transporte se está cerrando o ya está " -"cerrado. (Contribución de Yury Selivanov.)" +"Nuevo método :meth:`Transport.is_closing() " +"` para comprobar si el transporte se está " +"cerrando o ya está cerrado. (Contribución de Yury Selivanov.)" #: ../Doc/whatsnew/3.5.rst:838 msgid "" @@ -1584,13 +1709,13 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:851 msgid "" -"New :meth:`loop.get_exception_handler() ` method to get the current exception handler. " -"(Contributed by Yury Selivanov.)" +"New :meth:`loop.get_exception_handler() " +"` method to get the current exception " +"handler. (Contributed by Yury Selivanov.)" msgstr "" -"Nuevo método :meth:`loop.get_exception_handler() ` para obtener el gestor de excepciones actual. " -"(Contribución de Yury Selivanov.)" +"Nuevo método :meth:`loop.get_exception_handler() " +"` para obtener el gestor de excepciones " +"actual. (Contribución de Yury Selivanov.)" #: ../Doc/whatsnew/3.5.rst:855 msgid "" @@ -1598,21 +1723,23 @@ msgid "" "to read data from the stream until a separator bytes sequence appears. " "(Contributed by Mark Korenberg.)" msgstr "" -"Nuevo método :meth:`StreamReader.readuntil() ` para leer datos de la secuencia hasta que aparezca una secuencia " -"de separador de bytes. (Contribución de Mark Korenberg.)" +"Nuevo método :meth:`StreamReader.readuntil() " +"` para leer datos de la secuencia hasta que " +"aparezca una secuencia de separador de bytes. (Contribución de Mark " +"Korenberg.)" #: ../Doc/whatsnew/3.5.rst:860 msgid "" -"The :meth:`loop.create_connection() ` and :" -"meth:`loop.create_server() ` methods are " +"The :meth:`loop.create_connection() ` " +"and :meth:`loop.create_server() ` methods are " "optimized to avoid calling the system ``getaddrinfo`` function if the " "address is already resolved. (Contributed by A. Jesse Jiryu Davis.)" msgstr "" -"Se optimizaron los métodos :meth:`loop.create_connection() ` y :meth:`loop.create_server() ` para evitar llamar al sistema la función ``getaddrinfo`` si " -"la dirección ya está resuelta. (Contribución de A. Jesse Jiryu Davis.)" +"Se optimizaron los métodos :meth:`loop.create_connection() " +"` y :meth:`loop.create_server() " +"` para evitar llamar al sistema la función " +"``getaddrinfo`` si la dirección ya está resuelta. (Contribución de A. Jesse " +"Jiryu Davis.)" #: ../Doc/whatsnew/3.5.rst:866 msgid "" @@ -1620,9 +1747,9 @@ msgid "" "longer requires the *address* to be resolved prior to the call. (Contributed " "by A. Jesse Jiryu Davis.)" msgstr "" -"El método :meth:`loop.sock_connect(sock, address) ` ya no requiere *address* para que se resuelva antes de la " -"llamada. (Contribución de A. Jesse Jiryu Davis.)" +"El método :meth:`loop.sock_connect(sock, address) " +"` ya no requiere *address* para que se resuelva " +"antes de la llamada. (Contribución de A. Jesse Jiryu Davis.)" #: ../Doc/whatsnew/3.5.rst:872 msgid "bz2" @@ -1634,23 +1761,22 @@ msgid "" "method now accepts an optional *max_length* argument to limit the maximum " "size of decompressed data. (Contributed by Nikolaus Rath in :issue:`15955`.)" msgstr "" -"Ahora el método :meth:`BZ2Decompressor.decompress ` acepta un argumento opcional *max_length* para limitar el " -"tamaño máximo de datos descomprimidos. (Contribución de Nikolaus Rath en :" -"issue:`15955`.)" +"Ahora el método :meth:`BZ2Decompressor.decompress " +"` acepta un argumento opcional *max_length* " +"para limitar el tamaño máximo de datos descomprimidos. (Contribución de " +"Nikolaus Rath en :issue:`15955`.)" #: ../Doc/whatsnew/3.5.rst:880 msgid "cgi" msgstr "cgi" #: ../Doc/whatsnew/3.5.rst:882 -#, fuzzy msgid "" "The :class:`!FieldStorage` class now supports the :term:`context manager` " "protocol. (Contributed by Berker Peksag in :issue:`20289`.)" msgstr "" -"Ahora la clase :class:`~cgi.FieldStorage` admite el protocolo :term:`context " -"manager`. (Contribución de Berker Peksag en :issue:`20289`.)" +"La clase :class:`!FieldStorage` ahora admite el protocolo :term:`context " +"manager`. (Aportado por Berker Peksag en :issue:`20289`.)" #: ../Doc/whatsnew/3.5.rst:887 msgid "cmath" @@ -1662,8 +1788,8 @@ msgid "" "equality. (Contributed by Chris Barker and Tal Einat in :issue:`24270`.)" msgstr "" "Una nueva función :func:`~cmath.isclose` proporciona una forma de probar la " -"igualdad aproximada. (Contribución de Chris Barker y Tal Einat en :issue:" -"`24270`.)" +"igualdad aproximada. (Contribución de Chris Barker y Tal Einat " +"en :issue:`24270`.)" #: ../Doc/whatsnew/3.5.rst:894 msgid "code" @@ -1671,13 +1797,13 @@ msgstr "code" #: ../Doc/whatsnew/3.5.rst:896 msgid "" -"The :func:`InteractiveInterpreter.showtraceback() ` method now prints the full chained " -"traceback, just like the interactive interpreter. (Contributed by Claudiu " -"Popa in :issue:`17442`.)" +"The :func:`InteractiveInterpreter.showtraceback() " +"` method now prints the full " +"chained traceback, just like the interactive interpreter. (Contributed by " +"Claudiu Popa in :issue:`17442`.)" msgstr "" -"Ahora el método :func:`InteractiveInterpreter.showtraceback() ` imprime el rastreo encadenado " +"Ahora el método :func:`InteractiveInterpreter.showtraceback() " +"` imprime el rastreo encadenado " "completo, al igual que el interprete interactivo. (Contribución de Claudiu " "Popa en :issue:`17442`.)" @@ -1688,40 +1814,39 @@ msgstr "collections" #: ../Doc/whatsnew/3.5.rst:906 msgid "" "The :class:`~collections.OrderedDict` class is now implemented in C, which " -"makes it 4 to 100 times faster. (Contributed by Eric Snow in :issue:" -"`16991`.)" +"makes it 4 to 100 times faster. (Contributed by Eric Snow " +"in :issue:`16991`.)" msgstr "" "Ahora la clase :class:`~collections.OrderedDict` está implementada en C, lo " -"que la hace de 4 a 100 veces más rápida. (Contribución de Eric Snow en :" -"issue:`16991`.)" +"que la hace de 4 a 100 veces más rápida. (Contribución de Eric Snow " +"en :issue:`16991`.)" #: ../Doc/whatsnew/3.5.rst:909 -#, fuzzy msgid "" ":meth:`!OrderedDict.items`, :meth:`!OrderedDict.keys`, and :meth:`!" "OrderedDict.values` views now support :func:`reversed` iteration. " "(Contributed by Serhiy Storchaka in :issue:`19505`.)" msgstr "" -":meth:`OrderedDict.items() `, :meth:" -"`OrderedDict.keys() `, :meth:`OrderedDict." -"values() ` ahora soportan la iteración :func:" -"`reversed`. (Contribución de Serhiy Storchaka en :issue:`19505`.)" +"Las vistas :meth:`!OrderedDict.items`, :meth:`!OrderedDict.keys` y :meth:`!" +"OrderedDict.values` ahora admiten la iteración :func:`reversed`. (Aportado " +"por Serhiy Storchaka en :issue:`19505`.)" #: ../Doc/whatsnew/3.5.rst:913 msgid "" -"The :class:`~collections.deque` class now defines :meth:`~collections.deque." -"index`, :meth:`~collections.deque.insert`, and :meth:`~collections.deque." -"copy`, and supports the ``+`` and ``*`` operators. This allows deques to be " -"recognized as a :class:`~collections.abc.MutableSequence` and improves their " -"substitutability for lists. (Contributed by Raymond Hettinger in :issue:" -"`23704`.)" -msgstr "" -"Ahora la clase :class:`~collections.deque` define :meth:`~collections.deque." -"index`, :meth:`~collections.deque.insert` y :meth:`~collections.deque.copy`, " -"y soporta los operadores ``+`` y ``*``. Esto permite que las deques sean " -"reconocidas como :class:`~collections.abc.MutableSequence` y mejora su " -"sustituibilidad por listas. (Contribución de Raymond Hettinger en :issue:" -"`23704`.)" +"The :class:`~collections.deque` class now " +"defines :meth:`~collections.deque.index`, :meth:`~collections.deque.insert`, " +"and :meth:`~collections.deque.copy`, and supports the ``+`` and ``*`` " +"operators. This allows deques to be recognized as " +"a :class:`~collections.abc.MutableSequence` and improves their " +"substitutability for lists. (Contributed by Raymond Hettinger " +"in :issue:`23704`.)" +msgstr "" +"Ahora la clase :class:`~collections.deque` " +"define :meth:`~collections.deque.index`, :meth:`~collections.deque.insert` " +"y :meth:`~collections.deque.copy`, y soporta los operadores ``+`` y ``*``. " +"Esto permite que las deques sean reconocidas " +"como :class:`~collections.abc.MutableSequence` y mejora su sustituibilidad " +"por listas. (Contribución de Raymond Hettinger en :issue:`23704`.)" #: ../Doc/whatsnew/3.5.rst:920 msgid "" @@ -1737,41 +1862,41 @@ msgid "" "Point.x.__doc__ = 'abscissa'\n" "Point.y.__doc__ = 'ordinate'" msgstr "" +"Punto = tupla con nombre('Punto', ['x', 'y'])\n" +"Punto.__doc__ += ': Coordenada cartesiana'\n" +"Punto.x.__doc__ = 'abscisa'\n" +"Punto.y.__doc__ = 'ordenada'" #: ../Doc/whatsnew/3.5.rst:927 msgid "(Contributed by Berker Peksag in :issue:`24064`.)" msgstr "(Contribución de Berker Peksag en :issue:`24064`.)" #: ../Doc/whatsnew/3.5.rst:929 -#, fuzzy msgid "" -"The :class:`~collections.UserString` class now implements the :meth:`~object." -"__getnewargs__`, :meth:`~object.__rmod__`, :meth:`~str.casefold`, :meth:" -"`~str.format_map`, :meth:`~str.isprintable`, and :meth:`~str.maketrans` " -"methods to match the corresponding methods of :class:`str`. (Contributed by " -"Joe Jevnik in :issue:`22189`.)" +"The :class:`~collections.UserString` class now implements " +"the :meth:`~object.__getnewargs__`, :meth:`~object.__rmod__`, :meth:`~str.casefold`, :meth:`~str.format_map`, :meth:`~str.isprintable`, " +"and :meth:`~str.maketrans` methods to match the corresponding methods " +"of :class:`str`. (Contributed by Joe Jevnik in :issue:`22189`.)" msgstr "" -"Ahora la clase :class:`~collections.UserString` implementa los métodos :meth:" -"`__getnewargs__`, :meth:`__rmod__`, :meth:`~str.casefold`, :meth:`~str." -"format_map`, :meth:`~str.isprintable` y :meth:`~str.maketrans` para que " -"coincidan con los métodos correspondientes de :class:`str`. (Contribución de " -"Joe Jevnik en :issue:`22189`.)" +"La clase :class:`~collections.UserString` ahora implementa los " +"métodos :meth:`~object.__getnewargs__`, :meth:`~object.__rmod__`, :meth:`~str.casefold`, :meth:`~str.format_map`, :meth:`~str.isprintable` " +"y :meth:`~str.maketrans` para que coincidan con los métodos correspondientes " +"de :class:`str`. (Aportado por Joe Jevnik en :issue:`22189`.)" #: ../Doc/whatsnew/3.5.rst:937 msgid "collections.abc" msgstr "collections.abc" #: ../Doc/whatsnew/3.5.rst:939 -#, fuzzy msgid "" "The :meth:`!Sequence.index` method now accepts *start* and *stop* arguments " "to match the corresponding methods of :class:`tuple`, :class:`list`, etc. " "(Contributed by Devin Jeanpierre in :issue:`23086`.)" msgstr "" -"Ahora el método :meth:`Sequence.index() ` " -"acepta los argumentos *start* y *stop* para que coincidan con los métodos " -"correspondientes de :class:`tuple`, :class:`list`, etc. (Contribución de " -"Devin Jeanpierre en :issue:`23086`.)" +"El método :meth:`!Sequence.index` ahora acepta argumentos *start* y *stop* " +"para coincidir con los métodos correspondientes " +"de :class:`tuple`, :class:`list`, etc. (Contribución de Devin Jeanpierre " +"en :issue:`23086`)." #: ../Doc/whatsnew/3.5.rst:944 msgid "" @@ -1783,25 +1908,22 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:947 msgid "" -"New :class:`~collections.abc.Awaitable`, :class:`~collections.abc." -"Coroutine`, :class:`~collections.abc.AsyncIterator`, and :class:" -"`~collections.abc.AsyncIterable` abstract base classes. (Contributed by Yury " -"Selivanov in :issue:`24184`.)" +"New :class:`~collections.abc.Awaitable`, :class:`~collections.abc.Coroutine`, :class:`~collections.abc.AsyncIterator`, " +"and :class:`~collections.abc.AsyncIterable` abstract base classes. " +"(Contributed by Yury Selivanov in :issue:`24184`.)" msgstr "" -"Nuevas clases de base abstracta :class:`~collections.abc.Awaitable`, :class:" -"`~collections.abc.Coroutine`, :class:`~collections.abc.AsyncIterator` y :" -"class:`~collections.abc.AsyncIterable`. (Contribución de Yury Selivanov en :" -"issue:`24184`.)" +"Nuevas clases de base " +"abstracta :class:`~collections.abc.Awaitable`, :class:`~collections.abc.Coroutine`, :class:`~collections.abc.AsyncIterator` " +"y :class:`~collections.abc.AsyncIterable`. (Contribución de Yury Selivanov " +"en :issue:`24184`.)" #: ../Doc/whatsnew/3.5.rst:952 -#, fuzzy msgid "" "For earlier Python versions, a backport of the new ABCs is available in an " "external :pypi:`PyPI package `." msgstr "" -"Para versiones anteriores de Python, un backport del nuevo ABC está " -"disponible en un `paquete PyPI `_ " -"externo." +"Para versiones anteriores de Python, hay disponible un backport de los " +"nuevos ABC en un :pypi:`paquete PyPI ` externo." #: ../Doc/whatsnew/3.5.rst:957 msgid "compileall" @@ -1811,15 +1933,15 @@ msgstr "compileall" #, python-brace-format msgid "" "A new :mod:`compileall` option, :samp:`-j {N}`, allows running *N* workers " -"simultaneously to perform parallel bytecode compilation. The :func:" -"`~compileall.compile_dir` function has a corresponding ``workers`` " +"simultaneously to perform parallel bytecode compilation. " +"The :func:`~compileall.compile_dir` function has a corresponding ``workers`` " "parameter. (Contributed by Claudiu Popa in :issue:`16104`.)" msgstr "" "Una nueva opción :mod:`compileall`, :samp:`-j {N}`, permite ejecutar *N* " "workers simultáneamente para realizar la compilación de bytecode en " "paralelo. La función :func:`~compileall.compile_dir` tiene un parámetro " -"``workers`` correspondiente. (Contribución de Claudiu Popa en :issue:" -"`16104`.)" +"``workers`` correspondiente. (Contribución de Claudiu Popa " +"en :issue:`16104`.)" #: ../Doc/whatsnew/3.5.rst:964 msgid "" @@ -1833,17 +1955,19 @@ msgstr "" msgid "" "The ``-q`` command line option can now be specified more than once, in which " "case all output, including errors, will be suppressed. The corresponding " -"``quiet`` parameter in :func:`~compileall.compile_dir`, :func:`~compileall." -"compile_file`, and :func:`~compileall.compile_path` can now accept an " -"integer value indicating the level of output suppression. (Contributed by " -"Thomas Kluyver in :issue:`21338`.)" +"``quiet`` parameter " +"in :func:`~compileall.compile_dir`, :func:`~compileall.compile_file`, " +"and :func:`~compileall.compile_path` can now accept an integer value " +"indicating the level of output suppression. (Contributed by Thomas Kluyver " +"in :issue:`21338`.)" msgstr "" "Ahora la opción de línea de comando ``-q`` se puede especificar más de una " "vez, en cuyo caso todas las salidas, incluyendo errores, se suprimirán. " -"Ahora el parámetro ``quiet`` correspondiente en :func:`~compileall." -"compile_dir`, :func:`~compileall.compile_file` y :func:`~compileall." -"compile_path` puede aceptar un valor entero que indica el nivel de supresión " -"de salida. (Contribución de Thomas Kluyver en :issue:`21338`.)" +"Ahora el parámetro ``quiet`` correspondiente " +"en :func:`~compileall.compile_dir`, :func:`~compileall.compile_file` " +"y :func:`~compileall.compile_path` puede aceptar un valor entero que indica " +"el nivel de supresión de salida. (Contribución de Thomas Kluyver " +"en :issue:`21338`.)" #: ../Doc/whatsnew/3.5.rst:976 msgid "concurrent.futures" @@ -1858,8 +1982,9 @@ msgid "" msgstr "" "Ahora el método :meth:`Executor.map() ` " "acepta un argumento *chunksize* para permitir el procesamiento por lotes de " -"tareas para mejorar el desempeño cuando se usa :meth:`~concurrent.futures." -"ProcessPoolExecutor`. (Contribución de Dan O'Reilly en :issue:`11271`.)" +"tareas para mejorar el desempeño cuando se " +"usa :meth:`~concurrent.futures.ProcessPoolExecutor`. (Contribución de Dan " +"O'Reilly en :issue:`11271`.)" #: ../Doc/whatsnew/3.5.rst:983 msgid "" @@ -1867,9 +1992,10 @@ msgid "" "constructor is optional now. The default value is 5 times the number of " "CPUs. (Contributed by Claudiu Popa in :issue:`21527`.)" msgstr "" -"Ahora el número de workers en el constructor :class:`~concurrent.futures." -"ThreadPoolExecutor` es opcional. El valor predeterminado es 5 veces el " -"número de CPUs. (Contribución de Claudiu Popa en :issue:`21527`.)" +"Ahora el número de workers en el " +"constructor :class:`~concurrent.futures.ThreadPoolExecutor` es opcional. El " +"valor predeterminado es 5 veces el número de CPUs. (Contribución de Claudiu " +"Popa en :issue:`21527`.)" #: ../Doc/whatsnew/3.5.rst:989 msgid "configparser" @@ -1878,10 +2004,10 @@ msgstr "configparser" #: ../Doc/whatsnew/3.5.rst:991 msgid "" ":mod:`configparser` now provides a way to customize the conversion of values " -"by specifying a dictionary of converters in the :class:`~configparser." -"ConfigParser` constructor, or by defining them as methods in " -"``ConfigParser`` subclasses. Converters defined in a parser instance are " -"inherited by its section proxies." +"by specifying a dictionary of converters in " +"the :class:`~configparser.ConfigParser` constructor, or by defining them as " +"methods in ``ConfigParser`` subclasses. Converters defined in a parser " +"instance are inherited by its section proxies." msgstr "" "Ahora :mod:`configparser` proporciona una forma de personalizar la " "conversión de valores al especificar un diccionario de convertidores en el " @@ -1912,6 +2038,21 @@ msgid "" ">>> section.getlist('list')\n" "['a', 'b', 'c', 'd', 'e', 'f', 'g']" msgstr "" +">>> importar analizador de configuración\n" +">>> conv = {}\n" +">>> conv['lista'] = lambda v: [e.strip() para e en v.split() si e.strip()]\n" +">>> cfg = configparser.ConfigParser(convertidores=conv)\n" +">>> cfg.read_string(\"\"\"\n" +"... [s]\n" +"... lista = a b c d e f g\n" +"... \"\"\")\n" +">>> cfg.get('s', 'lista')\n" +"'a b c d e f g'\n" +">>> cfg.getlist('s', 'lista')\n" +"['a', 'b', 'c', 'd', 'e', 'f', 'g']\n" +">>> sección = cfg['s']\n" +">>> sección.getlist('lista')\n" +"['a', 'b', 'c', 'd', 'e', 'f', 'g']" #: ../Doc/whatsnew/3.5.rst:1015 msgid "(Contributed by Łukasz Langa in :issue:`18159`.)" @@ -1930,8 +2071,8 @@ msgid "" msgstr "" "El nuevo :term:`context manager` :func:`~contextlib.redirect_stderr` " "(similar a :func:`~contextlib.redirect_stdout`) facilita que los scripts de " -"utilidad manejen APIs inflexibles que escriben su salida a :data:`sys." -"stderr` y no proporcionen ninguna opción para redirigirlo::" +"utilidad manejen APIs inflexibles que escriben su salida " +"a :data:`sys.stderr` y no proporcionen ninguna opción para redirigirlo::" #: ../Doc/whatsnew/3.5.rst:1026 msgid "" @@ -1943,6 +2084,13 @@ msgid "" ">>> f.getvalue()\n" "'WARNING:root:warning\\n'" msgstr "" +">>> importar contextlib, io, registro\n" +">>> f = io.StringIO()\n" +">>> con contextlib.redirect_stderr(f):\n" +"... logging.warning('advertencia')\n" +"...\n" +">>> f.obtenervalor()\n" +"'ADVERTENCIA:raíz:advertencia\\n'" #: ../Doc/whatsnew/3.5.rst:1034 msgid "(Contributed by Berker Peksag in :issue:`22389`.)" @@ -1958,25 +2106,24 @@ msgid "" "not just sequences. (Contributed by Serhiy Storchaka in :issue:`23171`.)" msgstr "" "Ahora el método :meth:`~csv.csvwriter.writerow` admite iterables " -"arbitrarios, no sólo secuencias. (Contribución de Serhiy Storchaka en :issue:" -"`23171`.)" +"arbitrarios, no sólo secuencias. (Contribución de Serhiy Storchaka " +"en :issue:`23171`.)" #: ../Doc/whatsnew/3.5.rst:1045 msgid "curses" msgstr "curses" #: ../Doc/whatsnew/3.5.rst:1047 -#, fuzzy msgid "" -"The new :func:`~curses.update_lines_cols` function updates the :data:" -"`~curses.LINES` and :data:`~curses.COLS` module variables. This is useful " -"for detecting manual screen resizing. (Contributed by Arnon Yaari in :issue:" -"`4254`.)" +"The new :func:`~curses.update_lines_cols` function updates " +"the :data:`~curses.LINES` and :data:`~curses.COLS` module variables. This " +"is useful for detecting manual screen resizing. (Contributed by Arnon Yaari " +"in :issue:`4254`.)" msgstr "" "La nueva función :func:`~curses.update_lines_cols` actualiza las variables " -"de entorno :envvar:`LINES` y :envvar:`COLS`. Esto es útil para detectar el " -"cambio de tamaño manual de la pantalla. (Contribución de Arnon Yaari en :" -"issue:`4254`.)" +"de los módulos :data:`~curses.LINES` y :data:`~curses.COLS`. Esto es útil " +"para detectar el cambio de tamaño de pantalla manual. (Aportado por Arnon " +"Yaari en :issue:`4254`.)" #: ../Doc/whatsnew/3.5.rst:1053 msgid "dbm" @@ -1985,8 +2132,8 @@ msgstr "dbm" #: ../Doc/whatsnew/3.5.rst:1055 msgid "" ":func:`dumb.open ` always creates a new database when the " -"flag has the value ``\"n\"``. (Contributed by Claudiu Popa in :issue:" -"`18039`.)" +"flag has the value ``\"n\"``. (Contributed by Claudiu Popa " +"in :issue:`18039`.)" msgstr "" ":func:`dumb.open ` siempre crea una nueva base de datos " "cuando la bandera tiene el valor ``\"n\"``. (Contribución de Claudiu Popa " @@ -2001,14 +2148,15 @@ msgid "" "The charset of HTML documents generated by :meth:`HtmlDiff.make_file() " "` can now be customized by using a new *charset* " "keyword-only argument. The default charset of HTML document changed from " -"``\"ISO-8859-1\"`` to ``\"utf-8\"``. (Contributed by Berker Peksag in :issue:" -"`2052`.)" +"``\"ISO-8859-1\"`` to ``\"utf-8\"``. (Contributed by Berker Peksag " +"in :issue:`2052`.)" msgstr "" -"Ahora el juego de caracteres de los documentos HTML generado por :meth:" -"`HtmlDiff.make_file() ` se puede personalizar " -"usando un nuevo argumento de solo palabras clave *charset*. El juego de " -"caracteres predeterminado del documento HTML cambió de ``\"ISO-8859-1\"`` a " -"``\"utf-8\"``. (Contribución de Berker Peksag en :issue:`2052`.)" +"Ahora el juego de caracteres de los documentos HTML generado " +"por :meth:`HtmlDiff.make_file() ` se puede " +"personalizar usando un nuevo argumento de solo palabras clave *charset*. El " +"juego de caracteres predeterminado del documento HTML cambió de " +"``\"ISO-8859-1\"`` a ``\"utf-8\"``. (Contribución de Berker Peksag " +"en :issue:`2052`.)" #: ../Doc/whatsnew/3.5.rst:1069 msgid "" @@ -2035,15 +2183,14 @@ msgstr "" "Antoine Pitrou en :issue:`5309`.)" #: ../Doc/whatsnew/3.5.rst:1081 -#, fuzzy msgid "" "The ``distutils`` module now supports ``xz`` compression, and can be enabled " "by passing ``xztar`` as an argument to ``bdist --format``. (Contributed by " "Serhiy Storchaka in :issue:`16314`.)" msgstr "" -"Ahora el módulo :mod:`distutils` admite la compresión ``xz`` y se puede " -"habilitar pasando ``xztar`` como un argumento a ``bdist --format``. " -"(Contribución de Serhiy Storchaka en :issue:`16314`.)" +"El módulo ``distutils`` ahora admite la compresión ``xz`` y se puede " +"habilitar pasando ``xztar`` como argumento a ``bdist --format``. (Aportado " +"por Serhiy Storchaka en :issue:`16314`.)" #: ../Doc/whatsnew/3.5.rst:1087 msgid "doctest" @@ -2051,13 +2198,15 @@ msgstr "doctest" #: ../Doc/whatsnew/3.5.rst:1089 msgid "" -"The :func:`~doctest.DocTestSuite` function returns an empty :class:`unittest." -"TestSuite` if *module* contains no docstrings, instead of raising :exc:" -"`ValueError`. (Contributed by Glenn Jones in :issue:`15916`.)" +"The :func:`~doctest.DocTestSuite` function returns an " +"empty :class:`unittest.TestSuite` if *module* contains no docstrings, " +"instead of raising :exc:`ValueError`. (Contributed by Glenn Jones " +"in :issue:`15916`.)" msgstr "" -"La función :func:`~doctest.DocTestSuite` retorna una clase :class:`unittest." -"TestSuite` vacía si *module* no contiene docstrings, en lugar de lanzar :exc:" -"`ValueError`. (Contribución de Glenn Jones en :issue:`15916`.)" +"La función :func:`~doctest.DocTestSuite` retorna una " +"clase :class:`unittest.TestSuite` vacía si *module* no contiene docstrings, " +"en lugar de lanzar :exc:`ValueError`. (Contribución de Glenn Jones " +"en :issue:`15916`.)" #: ../Doc/whatsnew/3.5.rst:1095 msgid "email" @@ -2065,47 +2214,48 @@ msgstr "email" #: ../Doc/whatsnew/3.5.rst:1097 msgid "" -"A new policy option :attr:`Policy.mangle_from_ ` controls whether or not lines that start with ``\"From \"`` " -"in email bodies are prefixed with a ``\">\"`` character by generators. The " -"default is ``True`` for :attr:`~email.policy.compat32` and ``False`` for all " -"other policies. (Contributed by Milan Oberkirch in :issue:`20098`.)" +"A new policy option :attr:`Policy.mangle_from_ " +"` controls whether or not lines that start " +"with ``\"From \"`` in email bodies are prefixed with a ``\">\"`` character " +"by generators. The default is ``True`` for :attr:`~email.policy.compat32` " +"and ``False`` for all other policies. (Contributed by Milan Oberkirch " +"in :issue:`20098`.)" msgstr "" -"Una nueva opción de directiva :attr:`Policy.mangle_from_ ` controla si las líneas que empiecen o no con ``\"From " -"\"`` en los cuerpos del correo electrónico tienen el prefijo de un caracter " -"``\">\"`` por generadores. El valor predeterminado es ``True`` para :attr:" -"`~email.policy.compat32` y ``False`` para todas las demás directivas. " -"(Contribución de Milan Oberkirch en :issue:`20098`.)" +"Una nueva opción de directiva :attr:`Policy.mangle_from_ " +"` controla si las líneas que empiecen o no " +"con ``\"From \"`` en los cuerpos del correo electrónico tienen el prefijo de " +"un caracter ``\">\"`` por generadores. El valor predeterminado es ``True`` " +"para :attr:`~email.policy.compat32` y ``False`` para todas las demás " +"directivas. (Contribución de Milan Oberkirch en :issue:`20098`.)" #: ../Doc/whatsnew/3.5.rst:1103 msgid "" -"A new :meth:`Message.get_content_disposition() ` method provides easy access to a canonical value " -"for the :mailheader:`Content-Disposition` header. (Contributed by Abhilash " -"Raj in :issue:`21083`.)" +"A new :meth:`Message.get_content_disposition() " +"` method provides easy access " +"to a canonical value for the :mailheader:`Content-Disposition` header. " +"(Contributed by Abhilash Raj in :issue:`21083`.)" msgstr "" -"Un nuevo método :meth:`Message.get_content_disposition() ` proporciona fácil acceso a un valor " -"canónico para el encabezado :mailheader:`Content-Disposition`. (Contribución " -"de Abhilash Raj en :issue:`21083`.)" +"Un nuevo método :meth:`Message.get_content_disposition() " +"` proporciona fácil acceso a " +"un valor canónico para el encabezado :mailheader:`Content-Disposition`. " +"(Contribución de Abhilash Raj en :issue:`21083`.)" #: ../Doc/whatsnew/3.5.rst:1109 msgid "" "A new policy option :attr:`EmailPolicy.utf8 ` " "can be set to ``True`` to encode email headers using the UTF-8 charset " "instead of using encoded words. This allows ``Messages`` to be formatted " -"according to :rfc:`6532` and used with an SMTP server that supports the :rfc:" -"`6531` ``SMTPUTF8`` extension. (Contributed by R. David Murray in :issue:" -"`24211`.)" -msgstr "" -"Una nueva opción de directiva :attr:`EmailPolicy.utf8 ` se puede configurar en ``True`` para codificar los " -"encabezados de correo electrónico usando el juego de caracteres UTF-8 en " -"lugar de utilizar palabras codificadas. Esto permite formatear ``Messages`` " -"de acuerdo a :rfc:`6532` y usarlos con un servidor SMTP que admita la " -"extensión :rfc:`6531` ``SMTPUTF8``. (Contribución de R. David Murray en :" -"issue:`24211`.)" +"according to :rfc:`6532` and used with an SMTP server that supports " +"the :rfc:`6531` ``SMTPUTF8`` extension. (Contributed by R. David Murray " +"in :issue:`24211`.)" +msgstr "" +"Una nueva opción de directiva :attr:`EmailPolicy.utf8 " +"` se puede configurar en ``True`` para " +"codificar los encabezados de correo electrónico usando el juego de " +"caracteres UTF-8 en lugar de utilizar palabras codificadas. Esto permite " +"formatear ``Messages`` de acuerdo a :rfc:`6532` y usarlos con un servidor " +"SMTP que admita la extensión :rfc:`6531` ``SMTPUTF8``. (Contribución de R. " +"David Murray en :issue:`24211`.)" #: ../Doc/whatsnew/3.5.rst:1116 msgid "" @@ -2138,6 +2288,11 @@ msgid "" ">>> Animal.dog\n" "" msgstr "" +">>> Animal = enum.Enum('Animal', 'gato perro', inicio=10)\n" +">>> Animal.gato\n" +"\n" +">>> Animal.perro\n" +"" #: ../Doc/whatsnew/3.5.rst:1133 msgid "(Contributed by Ethan Furman in :issue:`21706`.)" @@ -2149,15 +2304,16 @@ msgstr "faulthandler" #: ../Doc/whatsnew/3.5.rst:1139 msgid "" -"The :func:`~faulthandler.enable`, :func:`~faulthandler.register`, :func:" -"`~faulthandler.dump_traceback` and :func:`~faulthandler." -"dump_traceback_later` functions now accept file descriptors in addition to " -"file-like objects. (Contributed by Wei Wu in :issue:`23566`.)" +"The :func:`~faulthandler.enable`, :func:`~faulthandler.register`, :func:`~faulthandler.dump_traceback` " +"and :func:`~faulthandler.dump_traceback_later` functions now accept file " +"descriptors in addition to file-like objects. (Contributed by Wei Wu " +"in :issue:`23566`.)" msgstr "" -"Ahora las funciones :func:`~faulthandler.enable`, :func:`~faulthandler." -"register`, :func:`~faulthandler.dump_traceback` y :func:`~faulthandler." -"dump_traceback_later` aceptan descriptores de archivo además de objetos " -"similares a archivos. (Contribución de Wei Wu en :issue:`23566`.)" +"Ahora las " +"funciones :func:`~faulthandler.enable`, :func:`~faulthandler.register`, :func:`~faulthandler.dump_traceback` " +"y :func:`~faulthandler.dump_traceback_later` aceptan descriptores de archivo " +"además de objetos similares a archivos. (Contribución de Wei Wu " +"en :issue:`23566`.)" #: ../Doc/whatsnew/3.5.rst:1147 msgid "functools" @@ -2194,8 +2350,8 @@ msgstr "gzip" #: ../Doc/whatsnew/3.5.rst:1167 msgid "" "The *mode* argument of the :class:`~gzip.GzipFile` constructor now accepts " -"``\"x\"`` to request exclusive creation. (Contributed by Tim Heaney in :" -"issue:`19222`.)" +"``\"x\"`` to request exclusive creation. (Contributed by Tim Heaney " +"in :issue:`19222`.)" msgstr "" "Ahora el argumento *mode* del constructor de :class:`~gzip.GzipFile` acepta " "``\"x\"`` para solicitar la creación exclusiva. (Contribución de Tim Heaney " @@ -2227,6 +2383,14 @@ msgid "" ">>> list(heapq.merge(reversed(a), reversed(b), key=len, reverse=True))\n" "['55555', '6666', '777', '88', '9']" msgstr "" +">>> importar montónq\n" +">>> a = ['9', '777', '55555']\n" +">>> b = ['88', '6666']\n" +">>> lista(heapq.merge(a, b, clave=len))\n" +"['9', '88', '777', '6666', '55555']\n" +">>> lista(heapq.merge(invertida(a), invertida(b), clave=len, " +"inversa=Verdadero))\n" +"['55555', '6666', '777', '88', '9']" #: ../Doc/whatsnew/3.5.rst:1188 msgid "(Contributed by Raymond Hettinger in :issue:`13742`.)" @@ -2252,19 +2416,21 @@ msgstr "http.client" #: ../Doc/whatsnew/3.5.rst:1202 msgid "" -":meth:`HTTPConnection.getresponse() ` now raises a :exc:`~http.client.RemoteDisconnected` exception " -"when a remote server connection is closed unexpectedly. Additionally, if a :" -"exc:`ConnectionError` (of which ``RemoteDisconnected`` is a subclass) is " +":meth:`HTTPConnection.getresponse() " +"` now raises " +"a :exc:`~http.client.RemoteDisconnected` exception when a remote server " +"connection is closed unexpectedly. Additionally, if " +"a :exc:`ConnectionError` (of which ``RemoteDisconnected`` is a subclass) is " "raised, the client socket is now closed automatically, and will reconnect on " "the next request::" msgstr "" -"Ahora :meth:`HTTPConnection.getresponse() ` lanza una excepción :exc:`~http.client.RemoteDisconnected` " -"cuando una conexión de servidor remoto se cierra inesperadamente. Además, si " -"se lanza una excepción :exc:`ConnectionError` (del cual " -"``RemoteDisconnected`` es una subclase), ahora el socket del cliente se " -"cierra automáticamente y se reconectará en la siguiente solicitud::" +"Ahora :meth:`HTTPConnection.getresponse() " +"` lanza una " +"excepción :exc:`~http.client.RemoteDisconnected` cuando una conexión de " +"servidor remoto se cierra inesperadamente. Además, si se lanza una " +"excepción :exc:`ConnectionError` (del cual ``RemoteDisconnected`` es una " +"subclase), ahora el socket del cliente se cierra automáticamente y se " +"reconectará en la siguiente solicitud::" #: ../Doc/whatsnew/3.5.rst:1209 msgid "" @@ -2277,6 +2443,14 @@ msgid "" " except http.client.RemoteDisconnected:\n" " pass" msgstr "" +"importar http.cliente\n" +"conexión = http.client.HTTPConnection('www.python.org')\n" +"para reintentos en el rango (3):\n" +" prueba:\n" +" conexión.request('OBTENER', '/')\n" +" resp = conexión.getresponse()\n" +" excepto http.client.RemoteDisconnected:\n" +" pasar" #: ../Doc/whatsnew/3.5.rst:1218 msgid "(Contributed by Martin Panter in :issue:`3566`.)" @@ -2289,10 +2463,10 @@ msgstr "idlelib e IDLE" #: ../Doc/whatsnew/3.5.rst:1224 msgid "" "Since idlelib implements the IDLE shell and editor and is not intended for " -"import by other programs, it gets improvements with every release. See :" -"file:`Lib/idlelib/NEWS.txt` for a cumulative list of changes since 3.4.0, as " -"well as changes made in future 3.5.x releases. This file is also available " -"from the IDLE :menuselection:`Help --> About IDLE` dialog." +"import by other programs, it gets improvements with every release. " +"See :file:`Lib/idlelib/NEWS.txt` for a cumulative list of changes since " +"3.4.0, as well as changes made in future 3.5.x releases. This file is also " +"available from the IDLE :menuselection:`Help --> About IDLE` dialog." msgstr "" "Desde que idlelib implementa el shell y el editor IDLE y no se destina para " "ser importado por otros programas, obtiene mejoras con cada versión. " @@ -2319,19 +2493,19 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1239 msgid "" -"The :mod:`imaplib` module now supports :rfc:`5161` (ENABLE Extension) and :" -"rfc:`6855` (UTF-8 Support) via the :meth:`IMAP4.enable() ` method. A new :attr:`IMAP4.utf8_enabled ` attribute tracks whether or not :rfc:`6855` support is " -"enabled. (Contributed by Milan Oberkirch, R. David Murray, and Maciej Szulik " -"in :issue:`21800`.)" +"The :mod:`imaplib` module now supports :rfc:`5161` (ENABLE Extension) " +"and :rfc:`6855` (UTF-8 Support) via the :meth:`IMAP4.enable() " +"` method. A new :attr:`IMAP4.utf8_enabled " +"` attribute tracks whether or not :rfc:`6855` " +"support is enabled. (Contributed by Milan Oberkirch, R. David Murray, and " +"Maciej Szulik in :issue:`21800`.)" msgstr "" -"Ahora el módulo :mod:`imaplib` admite :rfc:`5161` (extensión ENABLE) y :rfc:" -"`6855` (soporte UTF-8) a través del método :meth:`IMAP4.enable() `. Un nuevo atributo :attr:`IMAP4.utf8_enabled ` rastrea si el soporte con :rfc:`6855` está habilitado o no. " -"(Contribución de Milan Oberkirch, R. David Murray y Maciej Szulik en :issue:" -"`21800`.)" +"Ahora el módulo :mod:`imaplib` admite :rfc:`5161` (extensión ENABLE) " +"y :rfc:`6855` (soporte UTF-8) a través del método :meth:`IMAP4.enable() " +"`. Un nuevo atributo :attr:`IMAP4.utf8_enabled " +"` rastrea si el soporte con :rfc:`6855` está " +"habilitado o no. (Contribución de Milan Oberkirch, R. David Murray y Maciej " +"Szulik en :issue:`21800`.)" #: ../Doc/whatsnew/3.5.rst:1246 msgid "" @@ -2348,17 +2522,16 @@ msgid "imghdr" msgstr "imghdr" #: ../Doc/whatsnew/3.5.rst:1254 -#, fuzzy msgid "" -"The :func:`!what` function now recognizes the `OpenEXR `_ format (contributed by Martin Vignali and Claudiu Popa in :issue:" -"`20295`), and the `WebP `_ format " -"(contributed by Fabrice Aneche and Claudiu Popa in :issue:`20197`.)" +"The :func:`!what` function now recognizes the `OpenEXR `_ format (contributed by Martin Vignali and Claudiu Popa " +"in :issue:`20295`), and the `WebP `_ " +"format (contributed by Fabrice Aneche and Claudiu Popa in :issue:`20197`.)" msgstr "" -"La función :func:`~imghdr.what` ahora reconoce el formato `OpenEXR `_ (aportado por Martin Vignali y Claudiu Popa en :issue:" -"`20295`) y el formato `WebP `_ (aportado " -"por Fabrice Aneche y Claudiu Popa en :issue:`20197`)." +"La función :func:`!what` ahora reconoce el formato `OpenEXR `_ (aportado por Martin Vignali y Claudiu Popa " +"en :issue:`20295`) y el formato `WebP `_ " +"(aportado por Fabrice Aneche y Claudiu Popa en :issue:`20197`)." #: ../Doc/whatsnew/3.5.rst:1262 msgid "importlib" @@ -2376,17 +2549,17 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1268 msgid "" -"The :func:`abc.InspectLoader.source_to_code() ` method is now a static method. This makes it easier to " -"initialize a module object with code compiled from a string by running " -"``exec(code, module.__dict__)``. (Contributed by Brett Cannon in :issue:" -"`21156`.)" +"The :func:`abc.InspectLoader.source_to_code() " +"` method is now a static " +"method. This makes it easier to initialize a module object with code " +"compiled from a string by running ``exec(code, module.__dict__)``. " +"(Contributed by Brett Cannon in :issue:`21156`.)" msgstr "" -"Ahora el método es :func:`abc.InspectLoader.source_to_code() ` es un método estático. Esto hace más fácil la " -"inicialización de un objeto de módulo con código compilado a partir de una " -"cadena de caracteres ejecutando ``exec(code, module.__dict__)``. " -"(Contribución de Brett Cannon en :issue:`21156`.)" +"Ahora el método es :func:`abc.InspectLoader.source_to_code() " +"` es un método estático. Esto " +"hace más fácil la inicialización de un objeto de módulo con código compilado " +"a partir de una cadena de caracteres ejecutando ``exec(code, " +"module.__dict__)``. (Contribución de Brett Cannon en :issue:`21156`.)" #: ../Doc/whatsnew/3.5.rst:1274 msgid "" @@ -2396,12 +2569,12 @@ msgid "" "will set the various import-controlled attributes based on the passed-in " "spec object. (Contributed by Brett Cannon in :issue:`20383`.)" msgstr "" -"Ahora la nueva función :func:`util.module_from_spec() ` es la forma preferida para crear un nuevo módulo. A " -"diferencia de crear directamente una instancia :class:`types.ModuleType`, " -"esta nueva función configurará varios atributos controlados por importación " -"basados en el objeto de especificación pasado. (Contribución de Brett Cannon " -"en :issue:`20383`.)" +"Ahora la nueva función :func:`util.module_from_spec() " +"` es la forma preferida para crear un nuevo " +"módulo. A diferencia de crear directamente una " +"instancia :class:`types.ModuleType`, esta nueva función configurará varios " +"atributos controlados por importación basados en el objeto de especificación " +"pasado. (Contribución de Brett Cannon en :issue:`20383`.)" #: ../Doc/whatsnew/3.5.rst:1282 msgid "inspect" @@ -2410,22 +2583,22 @@ msgstr "inspect" #: ../Doc/whatsnew/3.5.rst:1284 msgid "" "Both the :class:`~inspect.Signature` and :class:`~inspect.Parameter` classes " -"are now picklable and hashable. (Contributed by Yury Selivanov in :issue:" -"`20726` and :issue:`20334`.)" +"are now picklable and hashable. (Contributed by Yury Selivanov " +"in :issue:`20726` and :issue:`20334`.)" msgstr "" "Ahora las clases :class:`~inspect.Signature` y :class:`~inspect.Parameter` " -"se pueden seleccionar y manipular. (Contribución de Yury Selivanov en :issue:" -"`20726` y :issue:`20334`.)" +"se pueden seleccionar y manipular. (Contribución de Yury Selivanov " +"en :issue:`20726` y :issue:`20334`.)" #: ../Doc/whatsnew/3.5.rst:1288 msgid "" -"A new :meth:`BoundArguments.apply_defaults() ` method provides a way to set default values for missing " -"arguments::" +"A new :meth:`BoundArguments.apply_defaults() " +"` method provides a way to set " +"default values for missing arguments::" msgstr "" -"Un nuevo método :meth:`BoundArguments.apply_defaults() ` proporciona una forma de establecer valores " -"predeterminados para los argumentos faltantes::" +"Un nuevo método :meth:`BoundArguments.apply_defaults() " +"` proporciona una forma de establecer " +"valores predeterminados para los argumentos faltantes::" #: ../Doc/whatsnew/3.5.rst:1292 msgid "" @@ -2435,6 +2608,11 @@ msgid "" ">>> ba.arguments\n" "OrderedDict([('a', 'spam'), ('b', 'ham'), ('args', ())])" msgstr "" +">>> def foo(a, b='ham', *args): pasar\n" +">>> ba = inspeccionar.firma(foo).bind('spam')\n" +">>> ba.apply_defaults()\n" +">>> ba.argumentos\n" +"OrderedDict([('a', 'spam'), ('b', 'ham'), ('args', ())])" #: ../Doc/whatsnew/3.5.rst:1298 msgid "(Contributed by Yury Selivanov in :issue:`24190`.)" @@ -2442,20 +2620,22 @@ msgstr "(Contribución de Yury Selivanov en :issue:`24190`.)" #: ../Doc/whatsnew/3.5.rst:1300 msgid "" -"A new class method :meth:`Signature.from_callable() ` makes subclassing of :class:`~inspect.Signature` easier. " -"(Contributed by Yury Selivanov and Eric Snow in :issue:`17373`.)" +"A new class method :meth:`Signature.from_callable() " +"` makes subclassing " +"of :class:`~inspect.Signature` easier. (Contributed by Yury Selivanov and " +"Eric Snow in :issue:`17373`.)" msgstr "" -"Un nuevo método de clase :meth:`Signature.from_callable() ` facilita la subclasificación de :class:`~inspect.Signature`. " -"(Contribución de Yury Selivanov y Eric Snow en :issue:`17373`.)" +"Un nuevo método de clase :meth:`Signature.from_callable() " +"` facilita la subclasificación " +"de :class:`~inspect.Signature`. (Contribución de Yury Selivanov y Eric Snow " +"en :issue:`17373`.)" #: ../Doc/whatsnew/3.5.rst:1305 msgid "" "The :func:`~inspect.signature` function now accepts a *follow_wrapped* " "optional keyword argument, which, when set to ``False``, disables automatic " -"following of ``__wrapped__`` links. (Contributed by Yury Selivanov in :issue:" -"`20691`.)" +"following of ``__wrapped__`` links. (Contributed by Yury Selivanov " +"in :issue:`20691`.)" msgstr "" "Ahora la función :func:`~inspect.signature` acepta un argumento de palabra " "clave opcional *follow_wrapped*, el cual, cuando se establece en ``False``, " @@ -2465,29 +2645,28 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1310 msgid "" "A set of new functions to inspect :term:`coroutine functions ` and :term:`coroutine objects ` has been added: :func:" -"`~inspect.iscoroutine`, :func:`~inspect.iscoroutinefunction`, :func:" -"`~inspect.isawaitable`, :func:`~inspect.getcoroutinelocals`, and :func:" -"`~inspect.getcoroutinestate`. (Contributed by Yury Selivanov in :issue:" -"`24017` and :issue:`24400`.)" -msgstr "" -"Se ha agregado un conjunto de nuevas funciones para inspeccionar :term:" -"`funciones corrutina ` y :term:`objetos corrutina " -"`: :func:`~inspect.iscoroutine`, :func:`~inspect." -"iscoroutinefunction`, :func:`~inspect.isawaitable`, :func:`~inspect." -"getcoroutinelocals` y :func:`~inspect.getcoroutinestate`. (Contribución de " -"Yury Selivanov en :issue:`24017` y :issue:`24400`.)" +"function>` and :term:`coroutine objects ` has been " +"added: :func:`~inspect.iscoroutine`, :func:`~inspect.iscoroutinefunction`, :func:`~inspect.isawaitable`, :func:`~inspect.getcoroutinelocals`, " +"and :func:`~inspect.getcoroutinestate`. (Contributed by Yury Selivanov " +"in :issue:`24017` and :issue:`24400`.)" +msgstr "" +"Se ha agregado un conjunto de nuevas funciones para " +"inspeccionar :term:`funciones corrutina ` " +"y :term:`objetos corrutina " +"`: :func:`~inspect.iscoroutine`, :func:`~inspect.iscoroutinefunction`, :func:`~inspect.isawaitable`, :func:`~inspect.getcoroutinelocals` " +"y :func:`~inspect.getcoroutinestate`. (Contribución de Yury Selivanov " +"en :issue:`24017` y :issue:`24400`.)" #: ../Doc/whatsnew/3.5.rst:1318 msgid "" -"The :func:`~inspect.stack`, :func:`~inspect.trace`, :func:`~inspect." -"getouterframes`, and :func:`~inspect.getinnerframes` functions now return a " -"list of named tuples. (Contributed by Daniel Shahaf in :issue:`16808`.)" +"The :func:`~inspect.stack`, :func:`~inspect.trace`, :func:`~inspect.getouterframes`, " +"and :func:`~inspect.getinnerframes` functions now return a list of named " +"tuples. (Contributed by Daniel Shahaf in :issue:`16808`.)" msgstr "" -"Ahora las funciones :func:`~inspect.stack`, :func:`~inspect.trace`, :func:" -"`~inspect.getouterframes` y :func:`~inspect.getinnerframes` retornan una " -"lista de tuplas con nombre. (Contribución de Daniel Shahaf en :issue:" -"`16808`.)" +"Ahora las " +"funciones :func:`~inspect.stack`, :func:`~inspect.trace`, :func:`~inspect.getouterframes` " +"y :func:`~inspect.getinnerframes` retornan una lista de tuplas con nombre. " +"(Contribución de Daniel Shahaf en :issue:`16808`.)" #: ../Doc/whatsnew/3.5.rst:1325 msgid "io" @@ -2496,16 +2675,16 @@ msgstr "io" #: ../Doc/whatsnew/3.5.rst:1327 msgid "" "A new :meth:`BufferedIOBase.readinto1() ` " -"method, that uses at most one call to the underlying raw stream's :meth:" -"`RawIOBase.read() ` or :meth:`RawIOBase.readinto() ` methods. (Contributed by Nikolaus Rath in :issue:" -"`20578`.)" +"method, that uses at most one call to the underlying raw " +"stream's :meth:`RawIOBase.read() ` " +"or :meth:`RawIOBase.readinto() ` methods. " +"(Contributed by Nikolaus Rath in :issue:`20578`.)" msgstr "" -"Un nuevo método :meth:`BufferedIOBase.readinto1() `, que usa como mucho una llamada al flujo sin procesar subyacente " -"de los métodos :meth:`RawIOBase.read() ` o :meth:" -"`RawIOBase.readinto() `. (Contribución de Nikolaus " -"Rath en :issue:`20578`.)" +"Un nuevo método :meth:`BufferedIOBase.readinto1() " +"`, que usa como mucho una llamada al flujo sin " +"procesar subyacente de los métodos :meth:`RawIOBase.read() " +"` o :meth:`RawIOBase.readinto() `. " +"(Contribución de Nikolaus Rath en :issue:`20578`.)" #: ../Doc/whatsnew/3.5.rst:1335 msgid "ipaddress" @@ -2517,9 +2696,10 @@ msgid "" "classes now accept an ``(address, netmask)`` tuple argument, so as to easily " "construct network objects from existing addresses::" msgstr "" -"Ahora las clases :class:`~ipaddress.IPv4Network` y :class:`~ipaddress." -"IPv6Network` aceptan un argumento de tupla ``(address, netmask)``, para " -"construir fácilmente objetos de red a partir de direcciones existentes::" +"Ahora las clases :class:`~ipaddress.IPv4Network` " +"y :class:`~ipaddress.IPv6Network` aceptan un argumento de tupla ``(address, " +"netmask)``, para construir fácilmente objetos de red a partir de direcciones " +"existentes::" #: ../Doc/whatsnew/3.5.rst:1341 msgid "" @@ -2529,21 +2709,25 @@ msgid "" ">>> ipaddress.IPv4Network(('127.0.0.0', '255.0.0.0'))\n" "IPv4Network('127.0.0.0/8')" msgstr "" +">>> importar dirección IP\n" +">>> direcciónip.IPv4Network(('127.0.0.0', 8))\n" +"Red IPv4('127.0.0.0/8')\n" +">>> direcciónip.IPv4Network(('127.0.0.0', '255.0.0.0'))\n" +"Red IPv4('127.0.0.0/8')" #: ../Doc/whatsnew/3.5.rst:1347 msgid "(Contributed by Peter Moody and Antoine Pitrou in :issue:`16531`.)" msgstr "(Contribución de Peter Moody y Antoine Pitrou en :issue:`16531`.)" #: ../Doc/whatsnew/3.5.rst:1349 -#, fuzzy msgid "" -"A new :attr:`~ipaddress.IPv4Address.reverse_pointer` attribute for the :" -"class:`~ipaddress.IPv4Address` and :class:`~ipaddress.IPv6Address` classes " -"returns the name of the reverse DNS PTR record::" +"A new :attr:`~ipaddress.IPv4Address.reverse_pointer` attribute for " +"the :class:`~ipaddress.IPv4Address` and :class:`~ipaddress.IPv6Address` " +"classes returns the name of the reverse DNS PTR record::" msgstr "" -"Un nuevo atributo :attr:`~ipaddress.IPv4Network.reverse_pointer` para las " -"clases :class:`~ipaddress.IPv4Network` y :class:`~ipaddress.IPv6Network` " -"retorna el nombre del registro DNS PTR inverso::" +"Un nuevo atributo :attr:`~ipaddress.IPv4Address.reverse_pointer` para las " +"clases :class:`~ipaddress.IPv4Address` y :class:`~ipaddress.IPv6Address` " +"devuelve el nombre del registro PTR DNS inverso:" #: ../Doc/whatsnew/3.5.rst:1353 msgid "" @@ -2555,6 +2739,13 @@ msgid "" ">>> addr6.reverse_pointer\n" "'1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa'" msgstr "" +">>> importar dirección IP\n" +">>> dirección = dirección IP.DirecciónIPv4('127.0.0.1')\n" +">>> dirección.puntero_reverso\n" +"'1.0.0.127.en-dirección.arpa'\n" +">>> dirección6 = direcciónip.DirecciónIPv6('::1')\n" +">>> addr6.reverse_pointer\n" +"'1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa'" #: ../Doc/whatsnew/3.5.rst:1361 msgid "(Contributed by Leon Weber in :issue:`20480`.)" @@ -2568,8 +2759,8 @@ msgstr "json" msgid "" "The :mod:`json.tool` command line interface now preserves the order of keys " "in JSON objects passed in input. The new ``--sort-keys`` option can be used " -"to sort the keys alphabetically. (Contributed by Berker Peksag in :issue:" -"`21650`.)" +"to sort the keys alphabetically. (Contributed by Berker Peksag " +"in :issue:`21650`.)" msgstr "" "Ahora la interfaz de la línea de comandos :mod:`json.tool` conserva el orden " "de los nombres en los objetos JSON pasados en la entrada. La nueva opción " @@ -2578,13 +2769,13 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1372 msgid "" -"JSON decoder now raises :exc:`~json.JSONDecodeError` instead of :exc:" -"`ValueError` to provide better context information about the error. " +"JSON decoder now raises :exc:`~json.JSONDecodeError` instead " +"of :exc:`ValueError` to provide better context information about the error. " "(Contributed by Serhiy Storchaka in :issue:`19361`.)" msgstr "" -"Ahora el decodificador JSON lanza :exc:`~json.JSONDecodeError` en lugar de :" -"exc:`ValueError` para proporcionar una mejor información de contexto sobre " -"el error. (Contribución de Serhiy Storchaka en :issue:`19361`.)" +"Ahora el decodificador JSON lanza :exc:`~json.JSONDecodeError` en lugar " +"de :exc:`ValueError` para proporcionar una mejor información de contexto " +"sobre el error. (Contribución de Serhiy Storchaka en :issue:`19361`.)" #: ../Doc/whatsnew/3.5.rst:1378 msgid "linecache" @@ -2602,8 +2793,8 @@ msgstr "" "información sobre un módulo no basado en archivos para permitir obtener sus " "líneas más tarde a través de :func:`~linecache.getline`. Esto evita hacer E/" "S hasta que una línea sea realmente necesaria, sin tener que llevar los " -"módulos globales indefinidamente. (Contribución de Robert Collins en :issue:" -"`17911`.)" +"módulos globales indefinidamente. (Contribución de Robert Collins " +"en :issue:`17911`.)" #: ../Doc/whatsnew/3.5.rst:1388 msgid "locale" @@ -2631,6 +2822,15 @@ msgid "" ">>> locale.delocalize('1,234.56')\n" "'1234.56'" msgstr "" +">>> importar configuración regional\n" +">>> local.setlocale(local.LC_NUMERIC, 'de_DE.UTF-8')\n" +"'de_DE.UTF-8'\n" +">>> configuración regional.delocalize('1.234,56')\n" +"'1234.56'\n" +">>> local.setlocale(locale.LC_NUMERIC, 'en_US.UTF-8')\n" +"'en_US.UTF-8'\n" +">>> configuración regional.delocalize('1,234.56')\n" +"'1234.56'" #: ../Doc/whatsnew/3.5.rst:1403 msgid "(Contributed by Cédric Krier in :issue:`13918`.)" @@ -2642,16 +2842,15 @@ msgstr "logging" #: ../Doc/whatsnew/3.5.rst:1409 msgid "" -"All logging methods (:class:`~logging.Logger` :meth:`~logging.Logger.log`, :" -"meth:`~logging.Logger.exception`, :meth:`~logging.Logger.critical`, :meth:" -"`~logging.Logger.debug`, etc.), now accept exception instances as an " -"*exc_info* argument, in addition to boolean values and exception tuples::" +"All logging methods " +"(:class:`~logging.Logger` :meth:`~logging.Logger.log`, :meth:`~logging.Logger.exception`, :meth:`~logging.Logger.critical`, :meth:`~logging.Logger.debug`, " +"etc.), now accept exception instances as an *exc_info* argument, in addition " +"to boolean values and exception tuples::" msgstr "" -"Ahora todos los métodos del módulo logging (:class:`~logging.Logger` :meth:" -"`~logging.Logger.log`, :meth:`~logging.Logger.exception`, :meth:`~logging." -"Logger.critical`, :meth:`~logging.Logger.debug`, etc.), aceptan instancias " -"de excepción como un argumento *exc_info*, además de valores booleanos y " -"tuplas de excepción::" +"Ahora todos los métodos del módulo logging " +"(:class:`~logging.Logger` :meth:`~logging.Logger.log`, :meth:`~logging.Logger.exception`, :meth:`~logging.Logger.critical`, :meth:`~logging.Logger.debug`, " +"etc.), aceptan instancias de excepción como un argumento *exc_info*, además " +"de valores booleanos y tuplas de excepción::" #: ../Doc/whatsnew/3.5.rst:1415 msgid "" @@ -2662,6 +2861,12 @@ msgid "" "... logging.error('exception', exc_info=ex)\n" "ERROR:root:exception" msgstr "" +">>> importar registro\n" +">>> prueba:\n" +"... 1/0\n" +"... excepto ZeroDivisionError como por ejemplo:\n" +"... logging.error('excepción', exc_info=ex)\n" +"ERROR: raíz: excepción" #: ../Doc/whatsnew/3.5.rst:1422 msgid "(Contributed by Yury Selivanov in :issue:`20537`.)" @@ -2671,8 +2876,8 @@ msgstr "(Contribución de Yury Selivanov en :issue:`20537`.)" msgid "" "The :class:`handlers.HTTPHandler ` class now " "accepts an optional :class:`ssl.SSLContext` instance to configure SSL " -"settings used in an HTTP connection. (Contributed by Alex Gaynor in :issue:" -"`22788`.)" +"settings used in an HTTP connection. (Contributed by Alex Gaynor " +"in :issue:`22788`.)" msgstr "" "Ahora la clase :class:`handlers.HTTPHandler ` " "acepta una instancia opcional :class:`ssl.SSLContext` para establecer la " @@ -2686,10 +2891,11 @@ msgid "" "``True``, will pass messages to handlers taking handler levels into account. " "(Contributed by Vinay Sajip.)" msgstr "" -"Ahora la clase :class:`handlers.QueueListener ` toma un argumento de palabra clave *respect_handler_level*, " -"el cual, si se establece en ``True``, pasará mensajes a gestores teniendo en " -"cuenta los gestores de niveles. (Contribución de Vinay Sajip.)" +"Ahora la clase :class:`handlers.QueueListener " +"` toma un argumento de palabra clave " +"*respect_handler_level*, el cual, si se establece en ``True``, pasará " +"mensajes a gestores teniendo en cuenta los gestores de niveles. " +"(Contribución de Vinay Sajip.)" #: ../Doc/whatsnew/3.5.rst:1436 msgid "lzma" @@ -2701,10 +2907,10 @@ msgid "" "method now accepts an optional *max_length* argument to limit the maximum " "size of decompressed data. (Contributed by Martin Panter in :issue:`15955`.)" msgstr "" -"Ahora el método :meth:`LZMADecompressor.decompress() ` acepta un argumento opcional *max_length* para limitar el " -"tamaño máximo de datos descomprimidos. (Contribución de Martin Panter en :" -"issue:`15955`.)" +"Ahora el método :meth:`LZMADecompressor.decompress() " +"` acepta un argumento opcional " +"*max_length* para limitar el tamaño máximo de datos descomprimidos. " +"(Contribución de Martin Panter en :issue:`15955`.)" #: ../Doc/whatsnew/3.5.rst:1445 msgid "math" @@ -2712,12 +2918,13 @@ msgstr "math" #: ../Doc/whatsnew/3.5.rst:1447 msgid "" -"Two new constants have been added to the :mod:`math` module: :data:`~math." -"inf` and :data:`~math.nan`. (Contributed by Mark Dickinson in :issue:" -"`23185`.)" +"Two new constants have been added to the :mod:`math` " +"module: :data:`~math.inf` and :data:`~math.nan`. (Contributed by Mark " +"Dickinson in :issue:`23185`.)" msgstr "" -"Se agregaron dos nuevas contantes en el módulo :mod:`math`: :data:`~math." -"inf` y :data:`~math.nan`. (Contribución de Mark Dickinson en :issue:`23185`.)" +"Se agregaron dos nuevas contantes en el " +"módulo :mod:`math`: :data:`~math.inf` y :data:`~math.nan`. (Contribución de " +"Mark Dickinson en :issue:`23185`.)" #: ../Doc/whatsnew/3.5.rst:1450 msgid "" @@ -2725,19 +2932,18 @@ msgid "" "equality. (Contributed by Chris Barker and Tal Einat in :issue:`24270`.)" msgstr "" "Una nueva función :func:`~math.isclose` proporciona una forma de comprobar " -"la igualdad aproximada. (Contribución de Chris Barker y Tal Einat en :issue:" -"`24270`.)" +"la igualdad aproximada. (Contribución de Chris Barker y Tal Einat " +"en :issue:`24270`.)" #: ../Doc/whatsnew/3.5.rst:1453 -#, fuzzy msgid "" "A new :func:`~math.gcd` function has been added. The :func:`!fractions.gcd` " "function is now deprecated. (Contributed by Mark Dickinson and Serhiy " "Storchaka in :issue:`22486`.)" msgstr "" -"Se agregó una nueva función :func:`~math.gcd`. Ahora la función :func:" -"`fractions.gcd` está obsoleta. (Contribución de Mark Dickinson y Serhiy " -"Storchaka en :issue:`22486`.)" +"Se ha agregado una nueva función :func:`~math.gcd`. La función :func:`!" +"fractions.gcd` ahora está en desuso. (Contribución de Mark Dickinson y " +"Serhiy Storchaka en :issue:`22486`)." #: ../Doc/whatsnew/3.5.rst:1459 msgid "multiprocessing" @@ -2745,13 +2951,15 @@ msgstr "multiprocessing" #: ../Doc/whatsnew/3.5.rst:1461 msgid "" -":func:`sharedctypes.synchronized() ` objects now support the :term:`context manager` protocol. " -"(Contributed by Charles-François Natali in :issue:`21565`.)" +":func:`sharedctypes.synchronized() " +"` objects now support " +"the :term:`context manager` protocol. (Contributed by Charles-François " +"Natali in :issue:`21565`.)" msgstr "" -"Ahora los objetos :func:`sharedctypes.synchronized() ` admiten el protocolo :term:`context manager`. " -"(Contribución de Charles-François Natali en :issue:`21565`.)" +"Ahora los objetos :func:`sharedctypes.synchronized() " +"` admiten el " +"protocolo :term:`context manager`. (Contribución de Charles-François Natali " +"en :issue:`21565`.)" #: ../Doc/whatsnew/3.5.rst:1467 msgid "operator" @@ -2759,9 +2967,9 @@ msgstr "operator" #: ../Doc/whatsnew/3.5.rst:1469 msgid "" -":func:`~operator.attrgetter`, :func:`~operator.itemgetter`, and :func:" -"`~operator.methodcaller` objects now support pickling. (Contributed by Josh " -"Rosenberg and Serhiy Storchaka in :issue:`22955`.)" +":func:`~operator.attrgetter`, :func:`~operator.itemgetter`, " +"and :func:`~operator.methodcaller` objects now support pickling. " +"(Contributed by Josh Rosenberg and Serhiy Storchaka in :issue:`22955`.)" msgstr "" "Ahora los objetos :func:`~operator.attrgetter`, :func:`~operator.itemgetter` " "y :func:`~operator.methodcaller` admiten pickling. (Contribución de Josh " @@ -2770,8 +2978,8 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1473 msgid "" "New :func:`~operator.matmul` and :func:`~operator.imatmul` functions to " -"perform matrix multiplication. (Contributed by Benjamin Peterson in :issue:" -"`21176`.)" +"perform matrix multiplication. (Contributed by Benjamin Peterson " +"in :issue:`21176`.)" msgstr "" "Las nuevas funciones :func:`~operator.matmul` y :func:`~operator.imatmul` " "para realizar multiplicación de matrices. (Contribución de Benjamin Peterson " @@ -2783,28 +2991,29 @@ msgstr "os" #: ../Doc/whatsnew/3.5.rst:1481 msgid "" -"The new :func:`~os.scandir` function returning an iterator of :class:`~os." -"DirEntry` objects has been added. If possible, :func:`~os.scandir` extracts " -"file attributes while scanning a directory, removing the need to perform " -"subsequent system calls to determine file type or attributes, which may " -"significantly improve performance. (Contributed by Ben Hoyt with the help " -"of Victor Stinner in :issue:`22524`.)" +"The new :func:`~os.scandir` function returning an iterator " +"of :class:`~os.DirEntry` objects has been added. If " +"possible, :func:`~os.scandir` extracts file attributes while scanning a " +"directory, removing the need to perform subsequent system calls to determine " +"file type or attributes, which may significantly improve performance. " +"(Contributed by Ben Hoyt with the help of Victor Stinner in :issue:`22524`.)" msgstr "" -"Se agregó la nueva función :func:`~os.scandir` que retorna un iterador de :" -"class:`~os.DirEntry`. Si es posible, :func:`~os.scandir` extrae los " +"Se agregó la nueva función :func:`~os.scandir` que retorna un iterador " +"de :class:`~os.DirEntry`. Si es posible, :func:`~os.scandir` extrae los " "atributos del archivo mientras escanea un directorio, eliminando la " "necesidad de realizar llamadas posteriores al sistema para determinar el " "tipo de archivo o los atributos, lo que puede mejorar significativamente el " -"rendimiento. (Contribución de Ben Hoyt con la ayuda de Victor Stinner en :" -"issue:`22524`.)" +"rendimiento. (Contribución de Ben Hoyt con la ayuda de Victor Stinner " +"en :issue:`22524`.)" #: ../Doc/whatsnew/3.5.rst:1488 msgid "" -"On Windows, a new :attr:`stat_result.st_file_attributes ` attribute is now available. It corresponds to the " -"``dwFileAttributes`` member of the ``BY_HANDLE_FILE_INFORMATION`` structure " -"returned by ``GetFileInformationByHandle()``. (Contributed by Ben Hoyt in :" -"issue:`21719`.)" +"On Windows, a new :attr:`stat_result.st_file_attributes " +"` attribute is now available. It " +"corresponds to the ``dwFileAttributes`` member of the " +"``BY_HANDLE_FILE_INFORMATION`` structure returned by " +"``GetFileInformationByHandle()``. (Contributed by Ben Hoyt " +"in :issue:`21719`.)" msgstr "" "En Windows, ahora un nuevo atributo :attr:`stat_result.st_file_attributes " "` está disponible. Corresponde al miembro " @@ -2823,19 +3032,18 @@ msgstr "" "``getrandom()`` en Linux 3.17 o versiones más recientes, y ``getentropy()`` " "en OpenBSD 5.6 y versiones más recientes, eliminando la necesidad de " "utilizar ``/dev/urandom`` y evitando fallas debido al posible agotamiento " -"del descriptor de archivo. (Contribución de Victor Stinner en :issue:" -"`22181`.)" +"del descriptor de archivo. (Contribución de Victor Stinner " +"en :issue:`22181`.)" #: ../Doc/whatsnew/3.5.rst:1499 -#, fuzzy msgid "" "New :func:`~os.get_blocking` and :func:`~os.set_blocking` functions allow " -"getting and setting a file descriptor's blocking mode (:const:`~os." -"O_NONBLOCK`.) (Contributed by Victor Stinner in :issue:`22054`.)" +"getting and setting a file descriptor's blocking mode " +"(:const:`~os.O_NONBLOCK`.) (Contributed by Victor Stinner in :issue:`22054`.)" msgstr "" "Las nuevas funciones :func:`~os.get_blocking` y :func:`~os.set_blocking` " -"permiten obtener y establecer un modo de bloqueo del descriptor (:data:`~os." -"O_NONBLOCK`.) (Contribución de Victor Stinner en :issue:`22054`.)" +"permiten obtener y configurar el modo de bloqueo de un descriptor de archivo " +"(:const:`~os.O_NONBLOCK`). (Aportado por Victor Stinner en :issue:`22054`)." #: ../Doc/whatsnew/3.5.rst:1503 msgid "" @@ -2848,12 +3056,12 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1506 msgid "" "There is a new :func:`os.path.commonpath` function returning the longest " -"common sub-path of each passed pathname. Unlike the :func:`os.path." -"commonprefix` function, it always returns a valid path::" +"common sub-path of each passed pathname. Unlike " +"the :func:`os.path.commonprefix` function, it always returns a valid path::" msgstr "" "Hay una nueva función :func:`os.path.commonpath` que retorna la sub-ruta " -"común más larga de cada nombre de ruta pasado. A diferencia de la función :" -"func:`os.path.commonprefix`, siempre retorna una ruta válida::" +"común más larga de cada nombre de ruta pasado. A diferencia de la " +"función :func:`os.path.commonprefix`, siempre retorna una ruta válida::" #: ../Doc/whatsnew/3.5.rst:1511 msgid "" @@ -2863,6 +3071,11 @@ msgid "" ">>> os.path.commonpath(['/usr/lib', '/usr/local/lib'])\n" "'/usr'" msgstr "" +">>> os.path.commonprefix(['/usr/lib', '/usr/local/lib'])\n" +"'/usr/l'\n" +"\n" +">>> os.path.commonpath(['/usr/lib', '/usr/local/lib'])\n" +"'/usr'" #: ../Doc/whatsnew/3.5.rst:1517 msgid "(Contributed by Rafik Draoui and Serhiy Storchaka in :issue:`10395`.)" @@ -2891,6 +3104,11 @@ msgid "" ">>> p1.samefile(p2)\n" "True" msgstr "" +">>> importar rutalib\n" +">>> p1 = rutalib.Path('/etc/hosts')\n" +">>> p2 = rutalib.Path('/etc/../etc/hosts')\n" +">>> p1.mismoarchivo(p2)\n" +"Verdadero" #: ../Doc/whatsnew/3.5.rst:1533 msgid "(Contributed by Vajrasky Kok and Antoine Pitrou in :issue:`19775`.)" @@ -2904,8 +3122,8 @@ msgid "" msgstr "" "Ahora el método :meth:`Path.mkdir() ` acepta un nuevo " "argumento opcional *exist_ok* para que coincida con la funcionalidad ``mkdir " -"-p`` y :func:`os.makedirs`. (Contribución de Berker Peksag en :issue:" -"`21539`.)" +"-p`` y :func:`os.makedirs`. (Contribución de Berker Peksag " +"en :issue:`21539`.)" #: ../Doc/whatsnew/3.5.rst:1539 msgid "" @@ -2921,8 +3139,8 @@ msgstr "" msgid "" "A new :meth:`Path.home() ` class method can be used to " "get a :class:`~pathlib.Path` instance representing the user’s home " -"directory. (Contributed by Victor Salgado and Mayank Tripathi in :issue:" -"`19777`.)" +"directory. (Contributed by Victor Salgado and Mayank Tripathi " +"in :issue:`19777`.)" msgstr "" "Una nueva clase de método :meth:`Path.home() ` se puede " "usar para obtener una instancia :class:`~pathlib.Path` que representa el " @@ -2931,16 +3149,19 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1548 msgid "" -"New :meth:`Path.write_text() `, :meth:`Path." -"read_text() `, :meth:`Path.write_bytes() `, :meth:`Path.read_bytes() ` " -"methods to simplify read/write operations on files." +"New :meth:`Path.write_text() " +"`, :meth:`Path.read_text() " +"`, :meth:`Path.write_bytes() " +"`, :meth:`Path.read_bytes() " +"` methods to simplify read/write operations on " +"files." msgstr "" -"Los nuevos métodos :meth:`Path.write_text() `, :" -"meth:`Path.read_text() `, :meth:`Path.write_bytes() " -"`, :meth:`Path.read_bytes() ` para simplificar la lectura/escritura de operaciones en los " -"archivos." +"Los nuevos métodos :meth:`Path.write_text() " +"`, :meth:`Path.read_text() " +"`, :meth:`Path.write_bytes() " +"`, :meth:`Path.read_bytes() " +"` para simplificar la lectura/escritura de " +"operaciones en los archivos." #: ../Doc/whatsnew/3.5.rst:1554 msgid "" @@ -2957,6 +3178,10 @@ msgid "" ">>> p.expanduser().write_text('ham')\n" "3" msgstr "" +">>> importar rutalib\n" +">>> p = rutalib.Path('~/spam42')\n" +">>> p.expanduser().write_text('jamón')\n" +"3" #: ../Doc/whatsnew/3.5.rst:1562 msgid "(Contributed by Christopher Welborn in :issue:`20218`.)" @@ -2976,8 +3201,8 @@ msgstr "" "Ahora los objetos anidados, como los métodos independientes o las clases " "anidadas, se pueden serializar con pickle usando :ref:`protocolos pickle " "` anteriores al protocolo de la versión 4. El protocolo de " -"la versión 4 ya admite estos casos. (Contribución de Serhiy Storchaka en :" -"issue:`23611`.)" +"la versión 4 ya admite estos casos. (Contribución de Serhiy Storchaka " +"en :issue:`23611`.)" #: ../Doc/whatsnew/3.5.rst:1575 msgid "poplib" @@ -3014,6 +3239,12 @@ msgid "" ">>> pat.match('bbc')\n" "<_sre.SRE_Match object; span=(0, 3), match='bbc'>" msgstr "" +">>> importar re\n" +">>> pat = re.compile(r'(a|b).(?<=\\1)c')\n" +">>> pat.match('aac')\n" +"<_sre.SRE_Match objeto; lapso=(0, 3), coincidencia='aac'>\n" +">>> pat.match('bbc')\n" +"<_sre.SRE_Match objeto; intervalo=(0, 3), partido='bbc'>" #: ../Doc/whatsnew/3.5.rst:1595 msgid "(Contributed by Serhiy Storchaka in :issue:`9179`.)" @@ -3038,18 +3269,16 @@ msgstr "" "excepción. (Contribución de Serhiy Storchaka en :issue:`1519638`.)" #: ../Doc/whatsnew/3.5.rst:1604 -#, fuzzy msgid "" -"The :class:`re.error ` exceptions have new attributes, :" -"attr:`~re.PatternError.msg`, :attr:`~re.PatternError.pattern`, :attr:`~re." -"PatternError.pos`, :attr:`~re.PatternError.lineno`, and :attr:`~re." -"PatternError.colno`, that provide better context information about the " -"error::" +"The :class:`re.error ` exceptions have new " +"attributes, :attr:`~re.PatternError.msg`, :attr:`~re.PatternError.pattern`, :attr:`~re.PatternError.pos`, :attr:`~re.PatternError.lineno`, " +"and :attr:`~re.PatternError.colno`, that provide better context information " +"about the error::" msgstr "" -"Las excepciones :class:`re.error` tienen nuevos atributos, :attr:`~re.error." -"msg`, :attr:`~re.error.pattern`, :attr:`~re.error.pos`, :attr:`~re.error." -"lineno` y :attr:`~re.error.colno`, que proporcionan una mejor información de " -"contexto sobre el error::" +"Las excepciones :class:`re.error ` tienen nuevos " +"atributos, :attr:`~re.PatternError.msg`, :attr:`~re.PatternError.pattern`, :attr:`~re.PatternError.pos`, :attr:`~re.PatternError.lineno` " +"y :attr:`~re.PatternError.colno`, que proporcionan mejor información " +"contextual sobre el error:" #: ../Doc/whatsnew/3.5.rst:1610 msgid "" @@ -3061,6 +3290,14 @@ msgid "" " ...\n" "sre_constants.error: multiple repeat at position 16 (line 3, column 7)" msgstr "" +">>> re.compilar(\"\"\"\n" +"...(?x)\n" +"... .++\n" +"... \"\"\")\n" +"Rastreo (última llamada más reciente):\n" +" ...\n" +"sre_constants.error: repetición múltiple en la posición 16 (línea 3, columna " +"7)" #: ../Doc/whatsnew/3.5.rst:1618 msgid "(Contributed by Serhiy Storchaka in :issue:`22578`.)" @@ -3090,8 +3327,8 @@ msgid "" "polling on Solaris. (Contributed by Giampaolo Rodola' in :issue:`18931`.)" msgstr "" "La nueva clase :class:`~selectors.DevpollSelector` admite sondeos eficientes " -"``/dev/poll`` en Solaris. (Contribución de Giampaolo Rodola' en :issue:" -"`18931`.)" +"``/dev/poll`` en Solaris. (Contribución de Giampaolo Rodola' " +"en :issue:`18931`.)" #: ../Doc/whatsnew/3.5.rst:1638 msgid "shutil" @@ -3107,8 +3344,8 @@ msgstr "" "Ahora la función :func:`~shutil.move` acepta un argumento *copy_function*, " "permitiendo, por ejemplo, que se use la función :func:`~shutil.copy` en " "lugar de la predeterminada :func:`~shutil.copy2` si es necesario ignorar " -"metadatos de archivo al moverlo. (Contribución de Claudiu Popa en :issue:" -"`19840`.)" +"metadatos de archivo al moverlo. (Contribución de Claudiu Popa " +"en :issue:`19840`.)" #: ../Doc/whatsnew/3.5.rst:1646 msgid "" @@ -3128,8 +3365,8 @@ msgid "" "socket handles. (Contributed by Victor Stinner in :issue:`22018`.)" msgstr "" "En Windows, ahora la función :func:`~signal.set_wakeup_fd` también admite " -"identificadores de socket. (Contribución de Victor Stinner en :issue:" -"`22018`.)" +"identificadores de socket. (Contribución de Victor Stinner " +"en :issue:`22018`.)" #: ../Doc/whatsnew/3.5.rst:1656 msgid "" @@ -3138,17 +3375,16 @@ msgid "" "debugging, instead of integer \"magic numbers\". (Contributed by Giampaolo " "Rodola' in :issue:`21076`.)" msgstr "" -"Varias constantes ``SIG*`` en el módulo :mod:`signal` se convirtieron en :" -"mod:`Enums `. Esto permite que los nombres significativos se impriman " -"durante la depuración en lugar de \"números mágicos\" enteros. (Contribución " -"de Giampaolo Rodola' en :issue:`21076`.)" +"Varias constantes ``SIG*`` en el módulo :mod:`signal` se convirtieron " +"en :mod:`Enums `. Esto permite que los nombres significativos se " +"impriman durante la depuración en lugar de \"números mágicos\" enteros. " +"(Contribución de Giampaolo Rodola' en :issue:`21076`.)" #: ../Doc/whatsnew/3.5.rst:1663 msgid "smtpd" msgstr "smtpd" #: ../Doc/whatsnew/3.5.rst:1665 -#, fuzzy msgid "" "Both the :class:`!SMTPServer` and :class:`!SMTPChannel` classes now accept a " "*decode_data* keyword argument to determine if the ``DATA`` portion of the " @@ -3159,35 +3395,33 @@ msgid "" "``False``, the ``process_message`` method must be prepared to accept keyword " "arguments. (Contributed by Maciej Szulik in :issue:`19662`.)" msgstr "" -"Ahora las clases :class:`~smtpd.SMTPServer` y :class:`~smtpd.SMTPChannel` " +"Tanto la clase :class:`!SMTPServer` como la :class:`!SMTPChannel` ahora " "aceptan un argumento de palabra clave *decode_data* para determinar si la " -"porción ``DATA`` de la transacción SMTP se decodifica usando el códec " -"``\"utf-8\"`` o en su lugar se proporciona al método :meth:`SMTPServer." -"process_message() ` como un byte de cadena " -"de caracteres. El valor predeterminado es ``True`` por razones de " -"compatibilidad con versiones anteriores, pero se cambiará a ``False`` en " -"Python 3.6. Si *decode_data* se establece en ``False``, el método " -"``process_message`` se debe preparar para aceptar argumentos de palabra " -"clave. (Contribución de Maciej Szulik en :issue:`19662`.)" +"parte ``DATA`` de la transacción SMTP se decodifica utilizando el códec " +"``\"utf-8\"`` o, en cambio, se proporciona al método :meth:`!" +"SMTPServer.process_message` como una cadena de bytes. El valor " +"predeterminado es ``True`` por razones de compatibilidad con versiones " +"anteriores, pero cambiará a ``False`` en Python 3.6. Si *decode_data* está " +"configurado en ``False``, el método ``process_message`` debe estar preparado " +"para aceptar argumentos de palabras clave. (Aportado por Maciej Szulik " +"en :issue:`19662`.)" #: ../Doc/whatsnew/3.5.rst:1676 -#, fuzzy msgid "" -"The :class:`!SMTPServer` class now advertises the ``8BITMIME`` extension (:" -"rfc:`6152`) if *decode_data* has been set ``True``. If the client specifies " -"``BODY=8BITMIME`` on the ``MAIL`` command, it is passed to :meth:`!" +"The :class:`!SMTPServer` class now advertises the ``8BITMIME`` extension " +"(:rfc:`6152`) if *decode_data* has been set ``True``. If the client " +"specifies ``BODY=8BITMIME`` on the ``MAIL`` command, it is passed to :meth:`!" "SMTPServer.process_message` via the *mail_options* keyword. (Contributed by " "Milan Oberkirch and R. David Murray in :issue:`21795`.)" msgstr "" -"Ahora la clase :class:`~smtpd.SMTPServer` anuncia la extensión ``8BITMIME`` " -"(:rfc:`6152`) si *decode_data* se establece como ``True``. Si el cliente " -"especifica ``BODY=8BITMIME`` en el comando ``MAIL``, se pasa al método :meth:" -"`SMTPServer.process_message() ` a través " -"de la palabra clave *mail_options*. (Contribución de Milan Oberkirch y R. " -"David Murray en :issue:`21795`.)" +"La clase :class:`!SMTPServer` ahora anuncia la extensión ``8BITMIME`` " +"(:rfc:`6152`) si *decode_data* se ha configurado como ``True``. Si el " +"cliente especifica ``BODY=8BITMIME`` en el comando ``MAIL``, se pasa " +"a :meth:`!SMTPServer.process_message` mediante la palabra clave " +"*mail_options*. (Aportado por Milan Oberkirch y R. David Murray " +"en :issue:`21795`.)" #: ../Doc/whatsnew/3.5.rst:1683 -#, fuzzy msgid "" "The :class:`!SMTPServer` class now also supports the ``SMTPUTF8`` extension " "(:rfc:`6531`: Internationalized Email). If the client specified ``SMTPUTF8 " @@ -3196,25 +3430,23 @@ msgid "" "responsibility of the ``process_message`` method to correctly handle the " "``SMTPUTF8`` data. (Contributed by Milan Oberkirch in :issue:`21725`.)" msgstr "" -"Ahora la clase :class:`~smtpd.SMTPServer` también admite la extensión " -"``SMTPUTF8`` (:rfc:`6531`: correo electrónico internacionalizado). Si el " -"cliente especificó ``SMTPUTF8 BODY=8BITMIME`` en el comando ``MAIL``, se " -"pasan al método :meth:`SMTPServer.process_message() ` a través de la palabra clave *mail_options*. Es " -"responsabilidad del método ``process_message`` manejar correctamente los " -"datos ``SMTPUTF8``. (Contribución de Milan Oberkirch en :issue:`21725`.)" +"La clase :class:`!SMTPServer` ahora también admite la extensión ``SMTPUTF8`` " +"(:rfc:`6531`: correo electrónico internacionalizado). Si el cliente " +"especificó ``SMTPUTF8 BODY=8BITMIME`` en el comando ``MAIL``, se pasan " +"a :meth:`!SMTPServer.process_message` mediante la palabra clave " +"*mail_options*. Es responsabilidad del método ``process_message`` manejar " +"correctamente los datos ``SMTPUTF8``. (Aportado por Milan Oberkirch " +"en :issue:`21725`.)" #: ../Doc/whatsnew/3.5.rst:1691 -#, fuzzy msgid "" "It is now possible to provide, directly or via name resolution, IPv6 " "addresses in the :class:`!SMTPServer` constructor, and have it successfully " "connect. (Contributed by Milan Oberkirch in :issue:`14758`.)" msgstr "" "Ahora es posible proporcionar, directamente o mediante resolución de " -"nombres, direcciones IPv6 en el constructor :class:`~smtpd.SMTPServer`, y " -"hacer que se conecte correctamente. (Contribución de Milan Oberkirch en :" -"issue:`14758`.)" +"nombres, direcciones IPv6 en el constructor :class:`!SMTPServer` y " +"conectarlo correctamente. (Aportado por Milan Oberkirch en :issue:`14758`.)" #: ../Doc/whatsnew/3.5.rst:1697 msgid "smtplib" @@ -3234,8 +3466,8 @@ msgstr "" msgid "" "The :meth:`SMTP.set_debuglevel() ` method now " "accepts an additional debuglevel (2), which enables timestamps in debug " -"messages. (Contributed by Gavin Chappell and Maciej Szulik in :issue:" -"`16914`.)" +"messages. (Contributed by Gavin Chappell and Maciej Szulik " +"in :issue:`16914`.)" msgstr "" "Ahora el método :meth:`SMTP.set_debuglevel() ` " "acepta un nivel de depuración adicional (2), el cual habilita las marcas de " @@ -3244,29 +3476,29 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1707 msgid "" -"Both the :meth:`SMTP.sendmail() ` and :meth:`SMTP." -"send_message() ` methods now support :rfc:`6531` " -"(SMTPUTF8). (Contributed by Milan Oberkirch and R. David Murray in :issue:" -"`22027`.)" +"Both the :meth:`SMTP.sendmail() ` " +"and :meth:`SMTP.send_message() ` methods now " +"support :rfc:`6531` (SMTPUTF8). (Contributed by Milan Oberkirch and R. David " +"Murray in :issue:`22027`.)" msgstr "" -"Ahora los métodos :meth:`SMTP.sendmail() ` y :meth:" -"`SMTP.send_message() ` admiten :rfc:`6531` " -"(SMTPUTF8). (Contribución de Milan Oberkirch y R. David Murray en :issue:" -"`22027`.)" +"Ahora los métodos :meth:`SMTP.sendmail() ` " +"y :meth:`SMTP.send_message() ` " +"admiten :rfc:`6531` (SMTPUTF8). (Contribución de Milan Oberkirch y R. David " +"Murray en :issue:`22027`.)" #: ../Doc/whatsnew/3.5.rst:1714 msgid "sndhdr" msgstr "sndhdr" #: ../Doc/whatsnew/3.5.rst:1716 -#, fuzzy msgid "" -"The :func:`!what` and :func:`!whathdr` functions now return a :func:" -"`~collections.namedtuple`. (Contributed by Claudiu Popa in :issue:`18615`.)" +"The :func:`!what` and :func:`!whathdr` functions now return " +"a :func:`~collections.namedtuple`. (Contributed by Claudiu Popa " +"in :issue:`18615`.)" msgstr "" -"Ahora las funciones :func:`~sndhdr.what` y :func:`~sndhdr.whathdr` retornan " -"una :func:`~collections.namedtuple`. (Contribución de Claudiu Popa en :issue:" -"`18615`.)" +"Las funciones :func:`!what` y :func:`!whathdr` ahora devuelven " +"un :func:`~collections.namedtuple`. (Aportado por Claudiu Popa " +"en :issue:`18615`.)" #: ../Doc/whatsnew/3.5.rst:1722 msgid "socket" @@ -3283,17 +3515,17 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1727 msgid "" "A new :meth:`socket.sendfile() ` method allows " -"sending a file over a socket by using the high-performance :func:`os." -"sendfile` function on UNIX, resulting in uploads being from 2 to 3 times " -"faster than when using plain :meth:`socket.send() `. " -"(Contributed by Giampaolo Rodola' in :issue:`17552`.)" +"sending a file over a socket by using the high-" +"performance :func:`os.sendfile` function on UNIX, resulting in uploads being " +"from 2 to 3 times faster than when using plain :meth:`socket.send() " +"`. (Contributed by Giampaolo Rodola' in :issue:`17552`.)" msgstr "" "Un nuevo método :meth:`socket.sendfile() ` permite " "enviar un archivo a través de un socket usando la función de alto " "rendimiento :func:`os.sendfile` en UNIX, lo que hace que las cargas sean de " -"2 a 3 veces más rápido que cuando se usa el método simple :meth:`socket." -"send() `. (Contribución de Giampaolo Rodola' en :issue:" -"`17552`.)" +"2 a 3 veces más rápido que cuando se usa el método " +"simple :meth:`socket.send() `. (Contribución de " +"Giampaolo Rodola' en :issue:`17552`.)" #: ../Doc/whatsnew/3.5.rst:1733 msgid "" @@ -3310,14 +3542,14 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1738 msgid "" "The *backlog* argument of the :meth:`socket.listen() ` " -"method is now optional. By default it is set to :data:`SOMAXCONN ` or to ``128``, whichever is less. (Contributed by Charles-" -"François Natali in :issue:`21455`.)" +"method is now optional. By default it is set to :data:`SOMAXCONN " +"` or to ``128``, whichever is less. (Contributed by " +"Charles-François Natali in :issue:`21455`.)" msgstr "" -"Ahora el argumento *backlog* del método :meth:`socket.listen() ` es opcional. De forma predeterminada, se establece en :data:" -"`SOMAXCONN ` o en ``128``, lo que sea menor. (Contribución " -"de Charles-François Natali en :issue:`21455`.)" +"Ahora el argumento *backlog* del método :meth:`socket.listen() " +"` es opcional. De forma predeterminada, se establece " +"en :data:`SOMAXCONN ` o en ``128``, lo que sea menor. " +"(Contribución de Charles-François Natali en :issue:`21455`.)" #: ../Doc/whatsnew/3.5.rst:1745 msgid "ssl" @@ -3334,11 +3566,12 @@ msgstr "(Contribución de Geert Jansen en :issue:`21965`.)" #: ../Doc/whatsnew/3.5.rst:1754 msgid "" "The new :class:`~ssl.SSLObject` class has been added to provide SSL protocol " -"support for cases when the network I/O capabilities of :class:`~ssl." -"SSLSocket` are not necessary or are suboptimal. ``SSLObject`` represents an " -"SSL protocol instance, but does not implement any network I/O methods, and " -"instead provides a memory buffer interface. The new :class:`~ssl.MemoryBIO` " -"class can be used to pass data between Python and an SSL protocol instance." +"support for cases when the network I/O capabilities " +"of :class:`~ssl.SSLSocket` are not necessary or are suboptimal. " +"``SSLObject`` represents an SSL protocol instance, but does not implement " +"any network I/O methods, and instead provides a memory buffer interface. " +"The new :class:`~ssl.MemoryBIO` class can be used to pass data between " +"Python and an SSL protocol instance." msgstr "" "Se ha agregado la nueva clase :class:`~ssl.SSLObject` para proporcionar " "soporte del protocolo SSL para los casos en que las capacidades de E/S de " @@ -3377,8 +3610,8 @@ msgstr "(Contribución de Benjamin Peterson en :issue:`20188`.)" #: ../Doc/whatsnew/3.5.rst:1774 msgid "" "Where OpenSSL support is present, the :mod:`ssl` module now implements the " -"*Application-Layer Protocol Negotiation* TLS extension as described in :rfc:" -"`7301`." +"*Application-Layer Protocol Negotiation* TLS extension as described " +"in :rfc:`7301`." msgstr "" "Donde está presente el soporte de OpenSSL, ahora el módulo :mod:`ssl` " "implementa la extensión TLS *Application-Layer Protocol Negotiation* como se " @@ -3386,26 +3619,25 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1778 msgid "" -"The new :meth:`SSLContext.set_alpn_protocols() ` can be used to specify which protocols a socket should " -"advertise during the TLS handshake." +"The new :meth:`SSLContext.set_alpn_protocols() " +"` can be used to specify which protocols " +"a socket should advertise during the TLS handshake." msgstr "" -"El nuevo método :meth:`SSLContext.set_alpn_protocols() ` se puede usar para especificar qué protocolos deben " -"anunciar un socket durante el protocolo de enlace TLS." +"El nuevo método :meth:`SSLContext.set_alpn_protocols() " +"` se puede usar para especificar qué " +"protocolos deben anunciar un socket durante el protocolo de enlace TLS." #: ../Doc/whatsnew/3.5.rst:1782 -#, fuzzy msgid "" -"The new :meth:`SSLSocket.selected_alpn_protocol() ` returns the protocol that was selected during the " -"TLS handshake. The :const:`~ssl.HAS_ALPN` flag indicates whether ALPN " -"support is present." +"The new :meth:`SSLSocket.selected_alpn_protocol() " +"` returns the protocol that was " +"selected during the TLS handshake. The :const:`~ssl.HAS_ALPN` flag indicates " +"whether ALPN support is present." msgstr "" -"El nuevo método :meth:`SSLSocket.selected_alpn_protocol() ` retorna el protocolo que se seleccionó durante el " -"protocolo de enlace TLS. La bandera :data:`~ssl.HAS_ALPN` indica si el " -"soporte ALPN está presente." +"El nuevo :meth:`SSLSocket.selected_alpn_protocol() " +"` devuelve el protocolo que se " +"seleccionó durante el protocolo de enlace TLS. El " +"indicador :const:`~ssl.HAS_ALPN` indica si hay soporte ALPN." #: ../Doc/whatsnew/3.5.rst:1789 msgid "Other Changes" @@ -3414,35 +3646,33 @@ msgstr "Otros cambios" #: ../Doc/whatsnew/3.5.rst:1791 msgid "" "There is a new :meth:`SSLSocket.version() ` method to " -"query the actual protocol version in use. (Contributed by Antoine Pitrou in :" -"issue:`20421`.)" +"query the actual protocol version in use. (Contributed by Antoine Pitrou " +"in :issue:`20421`.)" msgstr "" "Hay un nuevo método :meth:`SSLSocket.version() ` para " "consultar la versión actual del protocolo en uso. (Contribución de Antoine " "Pitrou en :issue:`20421`.)" #: ../Doc/whatsnew/3.5.rst:1795 -#, fuzzy msgid "" -"The :class:`~ssl.SSLSocket` class now implements a :meth:`!SSLSocket." -"sendfile` method. (Contributed by Giampaolo Rodola' in :issue:`17552`.)" +"The :class:`~ssl.SSLSocket` class now implements a :meth:`!" +"SSLSocket.sendfile` method. (Contributed by Giampaolo Rodola' " +"in :issue:`17552`.)" msgstr "" -"Ahora la clase :class:`~ssl.SSLSocket` implementa un método :meth:`SSLSocket." -"sendfile() `. (Contribución de Giampaolo Rodola' en :" -"issue:`17552`.)" +"La clase :class:`~ssl.SSLSocket` ahora implementa un método :meth:`!" +"SSLSocket.sendfile`. (Aportado por Giampaolo Rodola' en :issue:`17552`.)" #: ../Doc/whatsnew/3.5.rst:1799 -#, fuzzy msgid "" -"The :meth:`!SSLSocket.send` method now raises either the :exc:`ssl." -"SSLWantReadError` or :exc:`ssl.SSLWantWriteError` exception on a non-" -"blocking socket if the operation would block. Previously, it would return " -"``0``. (Contributed by Nikolaus Rath in :issue:`20951`.)" +"The :meth:`!SSLSocket.send` method now raises either " +"the :exc:`ssl.SSLWantReadError` or :exc:`ssl.SSLWantWriteError` exception on " +"a non-blocking socket if the operation would block. Previously, it would " +"return ``0``. (Contributed by Nikolaus Rath in :issue:`20951`.)" msgstr "" -"Ahora el método :meth:`ssl.SSLSocket.send()` lanza ya sea :exc:`ssl." -"SSLWantReadError` o :exc:`ssl.SSLWantWriteError` en un socket sin bloqueo si " -"la operación se bloqueara. Anteriormente, retornaría ``0``. (Contribución de " -"Nikolaus Rath en :issue:`20951`.)" +"El método :meth:`!SSLSocket.send` ahora genera la " +"excepción :exc:`ssl.SSLWantReadError` o :exc:`ssl.SSLWantWriteError` en un " +"socket sin bloqueo si la operación se bloqueara. Anteriormente, devolvería " +"``0``. (Aportado por Nikolaus Rath en :issue:`20951`.)" #: ../Doc/whatsnew/3.5.rst:1804 msgid "" @@ -3452,49 +3682,47 @@ msgid "" msgstr "" "Ahora la función :func:`~ssl.cert_time_to_seconds` interpreta la hora de " "entrada como UTC y no como hora local, por :rfc:`5280`. Además, el valor de " -"retorno siempre es un :class:`int`. (Contribución de Akira Li en :issue:" -"`19940`.)" +"retorno siempre es un :class:`int`. (Contribución de Akira Li " +"en :issue:`19940`.)" #: ../Doc/whatsnew/3.5.rst:1808 -#, fuzzy msgid "" "New :meth:`!SSLObject.shared_ciphers` and :meth:`SSLSocket.shared_ciphers() " "` methods return the list of ciphers sent by " -"the client during the handshake. (Contributed by Benjamin Peterson in :issue:" -"`23186`.)" +"the client during the handshake. (Contributed by Benjamin Peterson " +"in :issue:`23186`.)" msgstr "" -"Los nuevos métodos :meth:`SSLObject.shared_ciphers() ` y :meth:`SSLSocket.shared_ciphers() ` retornan la lista de cifrados enviados por el cliente " -"durante el protocolo de enlace. (Contribución de Benjamin Peterson en :issue:" -"`23186`.)" +"Los nuevos métodos :meth:`!SSLObject.shared_ciphers` " +"y :meth:`SSLSocket.shared_ciphers() ` " +"devuelven la lista de cifrados enviados por el cliente durante el protocolo " +"de enlace. (Aportado por Benjamin Peterson en :issue:`23186`.)" #: ../Doc/whatsnew/3.5.rst:1813 -#, fuzzy -msgid "" -"The :meth:`SSLSocket.do_handshake() `, :meth:" -"`SSLSocket.read() `, :meth:`!SSLSocket.shutdown`, and :" -"meth:`SSLSocket.write() ` methods of the :class:`~ssl." -"SSLSocket` class no longer reset the socket timeout every time bytes are " -"received or sent. The socket timeout is now the maximum total duration of " -"the method. (Contributed by Victor Stinner in :issue:`23853`.)" -msgstr "" -"Los métodos :meth:`SSLSocket.do_handshake() `, :" -"meth:`SSLSocket.read() `, :meth:`SSLSocket.shutdown() " -"` y :meth:`SSLSocket.write() ` " -"de la clase :class:`~ssl.SSLSocket` ya no reinician el tiempo de espera del " -"socket cada vez que se reciben o se envían bytes. Ahora el tiempo de espera " -"del socket es la duración total máxima del método. (Contribución de Victor " +msgid "" +"The :meth:`SSLSocket.do_handshake() " +"`, :meth:`SSLSocket.read() " +"`, :meth:`!SSLSocket.shutdown`, " +"and :meth:`SSLSocket.write() ` methods of " +"the :class:`~ssl.SSLSocket` class no longer reset the socket timeout every " +"time bytes are received or sent. The socket timeout is now the maximum total " +"duration of the method. (Contributed by Victor Stinner in :issue:`23853`.)" +msgstr "" +"Los métodos :meth:`SSLSocket.do_handshake() " +"`, :meth:`SSLSocket.read() " +"`, :meth:`!SSLSocket.shutdown` " +"y :meth:`SSLSocket.write() ` de la " +"clase :class:`~ssl.SSLSocket` ya no restablecen el tiempo de espera del " +"socket cada vez que se reciben o envían bytes. El tiempo de espera del " +"socket es ahora la duración total máxima del método. (Aportado por Victor " "Stinner en :issue:`23853`.)" #: ../Doc/whatsnew/3.5.rst:1821 -#, fuzzy msgid "" "The :func:`!match_hostname` function now supports matching of IP addresses. " "(Contributed by Antoine Pitrou in :issue:`23239`.)" msgstr "" -"Ahora la función :func:`~ssl.match_hostname` admite la coincidencia de " -"direcciones IP. (Contribución de Antoine Pitrou en :issue:`23239`.)" +"La función :func:`!match_hostname` ahora admite la coincidencia de " +"direcciones IP. (Aportado por Antoine Pitrou en :issue:`23239`.)" #: ../Doc/whatsnew/3.5.rst:1826 msgid "sqlite3" @@ -3547,13 +3775,24 @@ msgid "" "CompletedProcess(args=['ls', '-l', '/dev/null'], returncode=0,\n" "stdout=b'crw-rw-rw- 1 root root 1, 3 Jan 23 16:23 /dev/null\\n')" msgstr "" +">>> subprocess.run([\"ls\", \"-l\"]) # no captura la salida\n" +"Proceso completado(args=['ls', '-l'], código de retorno=0)\n" +"\n" +">>> subproceso.run(\"salir 1\", shell=Verdadero, verificar=Verdadero)\n" +"Rastreo (última llamada más reciente):\n" +" ...\n" +"subprocess.CalledProcessError: El comando 'salida 1' devolvió un estado de " +"salida 1 distinto de cero\n" +"\n" +">>> subproceso.run([\"ls\", \"-l\", \"/dev/null\"], stdout=subproceso.PIPE)\n" +"ProcesoCompletado(args=['ls', '-l', '/dev/null'], código de retorno=0,\n" +"stdout=b'crw-rw-rw- 1 raíz raíz 1, 3 23 de enero 16:23 /dev/null\\n')" #: ../Doc/whatsnew/3.5.rst:1863 msgid "sys" msgstr "sys" #: ../Doc/whatsnew/3.5.rst:1865 -#, fuzzy msgid "" "A new :func:`!set_coroutine_wrapper` function allows setting a global hook " "that will be called whenever a :term:`coroutine object ` is " @@ -3562,13 +3801,13 @@ msgid "" "functions are :term:`provisional `, and are intended for " "debugging purposes only. (Contributed by Yury Selivanov in :issue:`24017`.)" msgstr "" -"Una nueva función :func:`~sys.set_coroutine_wrapper` permite configurar un " -"enlace global que será llamado siempre que un :term:`objeto corrutina " -"` sea creado por una función :keyword:`async def`. Una función " -"correspondiente :func:`~sys.get_coroutine_wrapper` se puede usar para " -"obtener un contenedor configurado actualmente. Ambas funciones son :term:" -"`provisionales ` y se destinan solo para propósitos de " -"depuración. (Contribución de Yury Selivanov en :issue:`24017`.)" +"Una nueva función :func:`!set_coroutine_wrapper` permite configurar un " +"enlace global que se llamará cada vez que una función :keyword:`async def` " +"cree un :term:`coroutine object `. Se puede utilizar un :func:`!" +"get_coroutine_wrapper` correspondiente para obtener un contenedor " +"configurado actualmente. Ambas funciones son :term:`provisional " +"` y están destinadas únicamente a fines de depuración. " +"(Aportado por Yury Selivanov en :issue:`24017`.)" #: ../Doc/whatsnew/3.5.rst:1873 msgid "" @@ -3587,8 +3826,8 @@ msgstr "sysconfig" #: ../Doc/whatsnew/3.5.rst:1881 msgid "" "The name of the user scripts directory on Windows now includes the first two " -"components of the Python version. (Contributed by Paul Moore in :issue:" -"`23437`.)" +"components of the Python version. (Contributed by Paul Moore " +"in :issue:`23437`.)" msgstr "" "Ahora el nombre del directorio de los scripts del usuario en Windows incluye " "los dos primeros componentes de la versión de Python. (Contribución de Paul " @@ -3601,8 +3840,8 @@ msgstr "tarfile" #: ../Doc/whatsnew/3.5.rst:1889 msgid "" "The *mode* argument of the :func:`~tarfile.open` function now accepts " -"``\"x\"`` to request exclusive creation. (Contributed by Berker Peksag in :" -"issue:`21717`.)" +"``\"x\"`` to request exclusive creation. (Contributed by Berker Peksag " +"in :issue:`21717`.)" msgstr "" "Ahora el argumento *mode* de la función :func:`~tarfile.open` acepta " "``\"x\"`` para solicitar una creación exclusiva. (Contribución de Berker " @@ -3610,10 +3849,10 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:1892 msgid "" -"The :meth:`TarFile.extractall() ` and :meth:" -"`TarFile.extract() ` methods now take a keyword " -"argument *numeric_owner*. If set to ``True``, the extracted files and " -"directories will be owned by the numeric ``uid`` and ``gid`` from the " +"The :meth:`TarFile.extractall() ` " +"and :meth:`TarFile.extract() ` methods now take a " +"keyword argument *numeric_owner*. If set to ``True``, the extracted files " +"and directories will be owned by the numeric ``uid`` and ``gid`` from the " "tarfile. If set to ``False`` (the default, and the behavior in versions " "prior to 3.5), they will be owned by the named user and group in the " "tarfile. (Contributed by Michael Vogt and Eric Smith in :issue:`23193`.)" @@ -3636,8 +3875,9 @@ msgid "" msgstr "" "Ahora :meth:`TarFile.list() ` acepta un argumento de " "palabra clave opcional *members* que se puede establecer en un subconjunto " -"de la lista retornada por :meth:`TarFile.getmembers() `. (Contribución de Serhiy Storchaka en :issue:`21549`.)" +"de la lista retornada por :meth:`TarFile.getmembers() " +"`. (Contribución de Serhiy Storchaka " +"en :issue:`21549`.)" #: ../Doc/whatsnew/3.5.rst:1907 msgid "threading" @@ -3645,14 +3885,15 @@ msgstr "threading" #: ../Doc/whatsnew/3.5.rst:1909 msgid "" -"Both the :meth:`Lock.acquire() ` and :meth:`RLock." -"acquire() ` methods now use a monotonic clock for " -"timeout management. (Contributed by Victor Stinner in :issue:`22043`.)" +"Both the :meth:`Lock.acquire() ` " +"and :meth:`RLock.acquire() ` methods now use a " +"monotonic clock for timeout management. (Contributed by Victor Stinner " +"in :issue:`22043`.)" msgstr "" -"Ahora los métodos :meth:`Lock.acquire() ` y :meth:" -"`RLock.acquire() ` usan un reloj monótono para la " -"administración del tiempo de espera. (Contribución de Victor Stinner en :" -"issue:`22043`.)" +"Ahora los métodos :meth:`Lock.acquire() ` " +"y :meth:`RLock.acquire() ` usan un reloj monótono " +"para la administración del tiempo de espera. (Contribución de Victor Stinner " +"en :issue:`22043`.)" #: ../Doc/whatsnew/3.5.rst:1916 msgid "time" @@ -3697,42 +3938,42 @@ msgid "tkinter" msgstr "tkinter" #: ../Doc/whatsnew/3.5.rst:1937 -#, fuzzy msgid "" "The :mod:`!tkinter._fix` module used for setting up the Tcl/Tk environment " "on Windows has been replaced by a private function in the :mod:`!_tkinter` " "module which makes no permanent changes to environment variables. " "(Contributed by Zachary Ware in :issue:`20035`.)" msgstr "" -"El módulo :mod:`tkinter._fix` que se usaba para configurar el entorno Tcl/Tk " -"en Windows se reemplazó por una función privada en el módulo :mod:`_tkinter` " -"que no hace cambios permanentes en las variables de entorno. (Contribución " -"de Zachary Ware en :issue:`20035`.)" +"El módulo :mod:`!tkinter._fix` utilizado para configurar el entorno Tcl/Tk " +"en Windows ha sido reemplazado por una función privada en el módulo :mod:`!" +"_tkinter` que no realiza cambios permanentes en las variables de entorno. " +"(Aportado por Zachary Ware en :issue:`20035`.)" #: ../Doc/whatsnew/3.5.rst:1946 msgid "traceback" msgstr "traceback" #: ../Doc/whatsnew/3.5.rst:1948 -#, fuzzy msgid "" "New :func:`~traceback.walk_stack` and :func:`~traceback.walk_tb` functions " "to conveniently traverse frame and :ref:`traceback objects `. (Contributed by Robert Collins in :issue:`17911`.)" msgstr "" -"Las nuevas funciones :func:`~traceback.walk_stack` y :func:`~traceback." -"walk_tb` atraviesan convenientemente objetos de marco y rastreo. " -"(Contribución de Robert Collins en :issue:`17911`.)" +"Nuevas funciones :func:`~traceback.walk_stack` y :func:`~traceback.walk_tb` " +"para atravesar cómodamente el marco y :ref:`traceback objects `. (Aportado por Robert Collins en :issue:`17911`.)" #: ../Doc/whatsnew/3.5.rst:1953 msgid "" -"New lightweight classes: :class:`~traceback.TracebackException`, :class:" -"`~traceback.StackSummary`, and :class:`~traceback.FrameSummary`. " -"(Contributed by Robert Collins in :issue:`17911`.)" +"New lightweight " +"classes: :class:`~traceback.TracebackException`, :class:`~traceback.StackSummary`, " +"and :class:`~traceback.FrameSummary`. (Contributed by Robert Collins " +"in :issue:`17911`.)" msgstr "" -"Nuevas clases ligeras: :class:`~traceback.TracebackException`, :class:" -"`~traceback.StackSummary` y :class:`~traceback.FrameSummary`. (Contribución " -"de Robert Collins en :issue:`17911`.)" +"Nuevas clases " +"ligeras: :class:`~traceback.TracebackException`, :class:`~traceback.StackSummary` " +"y :class:`~traceback.FrameSummary`. (Contribución de Robert Collins " +"en :issue:`17911`.)" #: ../Doc/whatsnew/3.5.rst:1957 msgid "" @@ -3740,9 +3981,9 @@ msgid "" "functions now support negative values for the *limit* argument. (Contributed " "by Dmitry Kazakov in :issue:`22619`.)" msgstr "" -"Ahora las funciones :func:`~traceback.print_tb` y :func:`~traceback." -"print_stack` admiten valores negativos para el argumento *limit*. " -"(Contribución de Dmitry Kazakov en :issue:`22619`.)" +"Ahora las funciones :func:`~traceback.print_tb` " +"y :func:`~traceback.print_stack` admiten valores negativos para el argumento " +"*limit*. (Contribución de Dmitry Kazakov en :issue:`22619`.)" #: ../Doc/whatsnew/3.5.rst:1963 msgid "types" @@ -3751,20 +3992,21 @@ msgstr "types" #: ../Doc/whatsnew/3.5.rst:1965 msgid "" "A new :func:`~types.coroutine` function to transform :term:`generator " -"` and :class:`generator-like ` objects into :term:`awaitables `. (Contributed by " -"Yury Selivanov in :issue:`24017`.)" +"` and :class:`generator-like " +"` objects into :term:`awaitables `. " +"(Contributed by Yury Selivanov in :issue:`24017`.)" msgstr "" -"Una nueva función :func:`~types.coroutine` para transformar un :term:" -"`iterador generador ` y objetos :class:`generator-like " -"` en :term:`aguardables `. " -"(Contribución de Yury Selivanov en :issue:`24017`.)" +"Una nueva función :func:`~types.coroutine` para transformar " +"un :term:`iterador generador ` y " +"objetos :class:`generator-like ` " +"en :term:`aguardables `. (Contribución de Yury Selivanov " +"en :issue:`24017`.)" #: ../Doc/whatsnew/3.5.rst:1971 msgid "" -"A new type called :class:`~types.CoroutineType`, which is used for :term:" -"`coroutine` objects created by :keyword:`async def` functions. (Contributed " -"by Yury Selivanov in :issue:`24400`.)" +"A new type called :class:`~types.CoroutineType`, which is used " +"for :term:`coroutine` objects created by :keyword:`async def` functions. " +"(Contributed by Yury Selivanov in :issue:`24400`.)" msgstr "" "Un nuevo tipo llamado :class:`~types.CoroutineType`, el cual se usa para " "objetos :term:`coroutine` creados por funciones :keyword:`async def`. " @@ -3788,21 +4030,22 @@ msgstr "unittest" #: ../Doc/whatsnew/3.5.rst:1986 msgid "" -"The :meth:`TestLoader.loadTestsFromModule() ` method now accepts a keyword-only argument *pattern* " -"which is passed to ``load_tests`` as the third argument. Found packages are " -"now checked for ``load_tests`` regardless of whether their path matches " -"*pattern*, because it is impossible for a package name to match the default " -"pattern. (Contributed by Robert Collins and Barry A. Warsaw in :issue:" -"`16662`.)" -msgstr "" -"Ahora el método :meth:`TestLoader.loadTestsFromModule() ` acepta un solo argumento de palabra clave *pattern* " -"que se pasa a ``load_tests`` como el tercer argumento. Ahora los paquetes " -"encontrados se verifican en busca de ``load_tests`` independientemente de si " -"su ruta coincide con *pattern*, porque es imposible que el nombre de un " -"paquete coincida con el modelo predeterminado. (Contribución de Robert " -"Collins y Barry A. Warsaw en :issue:`16662`.)" +"The :meth:`TestLoader.loadTestsFromModule() " +"` method now accepts a keyword-only " +"argument *pattern* which is passed to ``load_tests`` as the third argument. " +"Found packages are now checked for ``load_tests`` regardless of whether " +"their path matches *pattern*, because it is impossible for a package name to " +"match the default pattern. (Contributed by Robert Collins and Barry A. " +"Warsaw in :issue:`16662`.)" +msgstr "" +"Ahora el método :meth:`TestLoader.loadTestsFromModule() " +"` acepta un solo argumento de " +"palabra clave *pattern* que se pasa a ``load_tests`` como el tercer " +"argumento. Ahora los paquetes encontrados se verifican en busca de " +"``load_tests`` independientemente de si su ruta coincide con *pattern*, " +"porque es imposible que el nombre de un paquete coincida con el modelo " +"predeterminado. (Contribución de Robert Collins y Barry A. Warsaw " +"en :issue:`16662`.)" #: ../Doc/whatsnew/3.5.rst:1993 msgid "" @@ -3810,9 +4053,10 @@ msgid "" "` attribute of the :class:`~unittest.TestLoader` " "instance. (Contributed by Robert Collins in :issue:`19746`.)" msgstr "" -"Ahora los errores de descubrimiento de unittest se exponen en el atributo :" -"data:`TestLoader.errors ` de la instancia :class:" -"`~unittest.TestLoader`. (Contribución de Robert Collins en :issue:`19746`.)" +"Ahora los errores de descubrimiento de unittest se exponen en el " +"atributo :data:`TestLoader.errors ` de la " +"instancia :class:`~unittest.TestLoader`. (Contribución de Robert Collins " +"en :issue:`19746`.)" #: ../Doc/whatsnew/3.5.rst:1998 msgid "" @@ -3838,41 +4082,40 @@ msgid "" msgstr "" "El constructor de la clase tiene un nuevo parámetro *unsafe*, que hace que " "los objetos simulados lancen :exc:`AttributeError` en los nombres de " -"atributo que comienzan con ``\"assert\"``. (Contribución de Kushal Das en :" -"issue:`21238`.)" +"atributo que comienzan con ``\"assert\"``. (Contribución de Kushal Das " +"en :issue:`21238`.)" #: ../Doc/whatsnew/3.5.rst:2012 msgid "" -"A new :meth:`Mock.assert_not_called() ` method to check if the mock object was called. " -"(Contributed by Kushal Das in :issue:`21262`.)" +"A new :meth:`Mock.assert_not_called() " +"` method to check if the mock object " +"was called. (Contributed by Kushal Das in :issue:`21262`.)" msgstr "" -"Un nuevo método :meth:`Mock.assert_not_called() ` para verificar si se llamó el objeto simulado. " -"(Contribución de Kushal Das en :issue:`21262`.)" +"Un nuevo método :meth:`Mock.assert_not_called() " +"` para verificar si se llamó el objeto " +"simulado. (Contribución de Kushal Das en :issue:`21262`.)" #: ../Doc/whatsnew/3.5.rst:2016 -#, fuzzy msgid "" -"The :class:`~unittest.mock.MagicMock` class now supports :meth:`~object." -"__truediv__`, :meth:`~object.__divmod__` and :meth:`~object.__matmul__` " -"operators. (Contributed by Johannes Baiter in :issue:`20968`, and Håkan " -"Lövdahl in :issue:`23581` and :issue:`23568`.)" +"The :class:`~unittest.mock.MagicMock` class now " +"supports :meth:`~object.__truediv__`, :meth:`~object.__divmod__` " +"and :meth:`~object.__matmul__` operators. (Contributed by Johannes Baiter " +"in :issue:`20968`, and Håkan Lövdahl in :issue:`23581` and :issue:`23568`.)" msgstr "" -"Ahora la clase :class:`~unittest.mock.MagicMock` admite los operadores :meth:" -"`__truediv__`, :meth:`__divmod__` y :meth:`__matmul__`. (Contribución de " -"Johannes Baiter en :issue:`20968` y de Håkan Lövdahl en :issue:`23581` y :" -"issue:`23568`.)" +"La clase :class:`~unittest.mock.MagicMock` ahora admite los " +"operadores :meth:`~object.__truediv__`, :meth:`~object.__divmod__` " +"y :meth:`~object.__matmul__`. (Contribución de Johannes Baiter " +"en :issue:`20968` y Håkan Lövdahl en :issue:`23581` y :issue:`23568`)." #: ../Doc/whatsnew/3.5.rst:2022 msgid "" -"It is no longer necessary to explicitly pass ``create=True`` to the :func:" -"`~unittest.mock.patch` function when patching builtin names. (Contributed by " -"Kushal Das in :issue:`17660`.)" +"It is no longer necessary to explicitly pass ``create=True`` to " +"the :func:`~unittest.mock.patch` function when patching builtin names. " +"(Contributed by Kushal Das in :issue:`17660`.)" msgstr "" -"Ya no es necesario pasar explícitamente ``create=True`` a la función :func:" -"`~unittest.mock.patch` cuando se parchean los nombres incorporados. " -"(Contribución de Kushal Das en :issue:`17660`.)" +"Ya no es necesario pasar explícitamente ``create=True`` a la " +"función :func:`~unittest.mock.patch` cuando se parchean los nombres " +"incorporados. (Contribución de Kushal Das en :issue:`17660`.)" #: ../Doc/whatsnew/3.5.rst:2028 msgid "urllib" @@ -3880,28 +4123,30 @@ msgstr "urllib" #: ../Doc/whatsnew/3.5.rst:2030 msgid "" -"A new :class:`request.HTTPPasswordMgrWithPriorAuth ` class allows HTTP Basic Authentication " -"credentials to be managed so as to eliminate unnecessary ``401`` response " -"handling, or to unconditionally send credentials on the first request in " -"order to communicate with servers that return a ``404`` response instead of " -"a ``401`` if the ``Authorization`` header is not sent. (Contributed by Matej " -"Cepl in :issue:`19494` and Akshit Khurana in :issue:`7159`.)" -msgstr "" -"Una nueva clase :class:`request.HTTPPasswordMgrWithPriorAuth ` permite que se administren las credenciales " -"de autenticación básica HTTP para eliminar el manejo innecesario de " -"respuestas ``401`` o enviar credenciales incondicionalmente en la primera " -"solicitud para comunicarse con los servidores que retornen una respuesta " -"``404`` en lugar de un ``401`` si el encabezado ``Authorization`` no se " -"envía. (Contribución de Matej Cepl en :issue:`19494` y de Akshit Khurana en :" -"issue:`7159`.)" +"A new :class:`request.HTTPPasswordMgrWithPriorAuth " +"` class allows HTTP Basic " +"Authentication credentials to be managed so as to eliminate unnecessary " +"``401`` response handling, or to unconditionally send credentials on the " +"first request in order to communicate with servers that return a ``404`` " +"response instead of a ``401`` if the ``Authorization`` header is not sent. " +"(Contributed by Matej Cepl in :issue:`19494` and Akshit Khurana " +"in :issue:`7159`.)" +msgstr "" +"Una nueva clase :class:`request.HTTPPasswordMgrWithPriorAuth " +"` permite que se administren " +"las credenciales de autenticación básica HTTP para eliminar el manejo " +"innecesario de respuestas ``401`` o enviar credenciales incondicionalmente " +"en la primera solicitud para comunicarse con los servidores que retornen una " +"respuesta ``404`` en lugar de un ``401`` si el encabezado ``Authorization`` " +"no se envía. (Contribución de Matej Cepl en :issue:`19494` y de Akshit " +"Khurana en :issue:`7159`.)" #: ../Doc/whatsnew/3.5.rst:2039 msgid "" -"A new *quote_via* argument for the :func:`parse.urlencode() ` function provides a way to control the encoding of query parts " -"if needed. (Contributed by Samwyse and Arnon Yaari in :issue:`13866`.)" +"A new *quote_via* argument for the :func:`parse.urlencode() " +"` function provides a way to control the encoding of " +"query parts if needed. (Contributed by Samwyse and Arnon Yaari " +"in :issue:`13866`.)" msgstr "" "Un nuevo argumento *quote_via* para la función :func:`parse.urlencode() " "` proporciona una forma de controlar la codificación " @@ -3910,9 +4155,10 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2044 msgid "" -"The :func:`request.urlopen() ` function accepts an :" -"class:`ssl.SSLContext` object as a *context* argument, which will be used " -"for the HTTPS connection. (Contributed by Alex Gaynor in :issue:`22366`.)" +"The :func:`request.urlopen() ` function accepts " +"an :class:`ssl.SSLContext` object as a *context* argument, which will be " +"used for the HTTPS connection. (Contributed by Alex Gaynor " +"in :issue:`22366`.)" msgstr "" "La función :func:`request.urlopen() ` acepta un " "objeto :class:`ssl.SSLContext` como un argumento *context*, el cual se usará " @@ -3920,15 +4166,15 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2048 msgid "" -"The :func:`parse.urljoin() ` was updated to use the :" -"rfc:`3986` semantics for the resolution of relative URLs, rather than :rfc:" -"`1808` and :rfc:`2396`. (Contributed by Demian Brecht and Senthil Kumaran " -"in :issue:`22118`.)" +"The :func:`parse.urljoin() ` was updated to use " +"the :rfc:`3986` semantics for the resolution of relative URLs, rather " +"than :rfc:`1808` and :rfc:`2396`. (Contributed by Demian Brecht and Senthil " +"Kumaran in :issue:`22118`.)" msgstr "" "Se actualizó :func:`parse.urljoin() ` para usar la " -"semántica :rfc:`3986` para la resolución de URL relativas, en lugar de :rfc:" -"`1808` y :rfc:`2396`. (Contribución de Demian Brecht y Senthil Kumaran en :" -"issue:`22118`.)" +"semántica :rfc:`3986` para la resolución de URL relativas, en lugar " +"de :rfc:`1808` y :rfc:`2396`. (Contribución de Demian Brecht y Senthil " +"Kumaran en :issue:`22118`.)" #: ../Doc/whatsnew/3.5.rst:2055 msgid "wsgiref" @@ -3936,13 +4182,13 @@ msgstr "wsgiref" #: ../Doc/whatsnew/3.5.rst:2057 msgid "" -"The *headers* argument of the :class:`headers.Headers ` class constructor is now optional. (Contributed by Pablo Torres " -"Navarrete and SilentGhost in :issue:`5800`.)" +"The *headers* argument of the :class:`headers.Headers " +"` class constructor is now optional. (Contributed " +"by Pablo Torres Navarrete and SilentGhost in :issue:`5800`.)" msgstr "" -"Ahora el argumento *headers* del constructor de la clase :class:`headers." -"Headers ` es opcional. (Contribución de Pablo " -"Torres Navarrete y SilentGhost en :issue:`5800`.)" +"Ahora el argumento *headers* del constructor de la " +"clase :class:`headers.Headers ` es opcional. " +"(Contribución de Pablo Torres Navarrete y SilentGhost en :issue:`5800`.)" #: ../Doc/whatsnew/3.5.rst:2063 msgid "xmlrpc" @@ -3964,9 +4210,10 @@ msgid "" "accepts an optional :class:`ssl.SSLContext` instance. (Contributed by Alex " "Gaynor in :issue:`22960`.)" msgstr "" -"Ahora el constructor de :class:`client.ServerProxy ` acepta una instancia opcional :class:`ssl.SSLContext`. " -"(Contribución de Alex Gaynor en :issue:`22960`.)" +"Ahora el constructor de :class:`client.ServerProxy " +"` acepta una instancia " +"opcional :class:`ssl.SSLContext`. (Contribución de Alex Gaynor " +"en :issue:`22960`.)" #: ../Doc/whatsnew/3.5.rst:2075 msgid "xml.sax" @@ -3974,13 +4221,13 @@ msgstr "xml.sax" #: ../Doc/whatsnew/3.5.rst:2077 msgid "" -"SAX parsers now support a character stream of the :class:`xmlreader." -"InputSource ` object. (Contributed by Serhiy " -"Storchaka in :issue:`2175`.)" +"SAX parsers now support a character stream of " +"the :class:`xmlreader.InputSource ` object. " +"(Contributed by Serhiy Storchaka in :issue:`2175`.)" msgstr "" -"Ahora los analizadores SAX admiten un flujo de caracteres del objeto :class:" -"`xmlreader.InputSource `. (Contribución de " -"Serhiy Storchaka en :issue:`2175`.)" +"Ahora los analizadores SAX admiten un flujo de caracteres del " +"objeto :class:`xmlreader.InputSource `. " +"(Contribución de Serhiy Storchaka en :issue:`2175`.)" #: ../Doc/whatsnew/3.5.rst:2081 msgid "" @@ -4008,26 +4255,25 @@ msgid "" "now accepts ``\"x\"`` to request exclusive creation. (Contributed by Serhiy " "Storchaka in :issue:`21717`.)" msgstr "" -"Ahora el argumento *mode* del método :meth:`ZipFile.open() ` acepta ``\"x\"`` para solicitar una creación exclusiva. (Contribución " -"de Serhiy Storchaka en :issue:`21717`.)" +"Ahora el argumento *mode* del método :meth:`ZipFile.open() " +"` acepta ``\"x\"`` para solicitar una creación " +"exclusiva. (Contribución de Serhiy Storchaka en :issue:`21717`.)" #: ../Doc/whatsnew/3.5.rst:2097 msgid "Other module-level changes" msgstr "Otros cambios a nivel de módulo" #: ../Doc/whatsnew/3.5.rst:2099 -#, fuzzy msgid "" -"Many functions in the :mod:`mmap`, :mod:`!ossaudiodev`, :mod:`socket`, :mod:" -"`ssl`, and :mod:`codecs` modules now accept writable :term:`bytes-like " -"objects `. (Contributed by Serhiy Storchaka in :issue:" -"`23001`.)" +"Many functions in the :mod:`mmap`, :mod:`!" +"ossaudiodev`, :mod:`socket`, :mod:`ssl`, and :mod:`codecs` modules now " +"accept writable :term:`bytes-like objects `. (Contributed " +"by Serhiy Storchaka in :issue:`23001`.)" msgstr "" -"Ahora muchas funciones en los módulos :mod:`mmap`, :mod:`ossaudiodev`, :mod:" -"`socket`, :mod:`ssl` y :mod:`codecs` aceptan :term:`objetos de tipo bytes " -"` que se pueden escribir. (Contribución de Serhiy " -"Storchaka en :issue:`23001`.)" +"Muchas funciones de los módulos :mod:`mmap`, :mod:`!" +"ossaudiodev`, :mod:`socket`, :mod:`ssl` y :mod:`codecs` ahora " +"aceptan :term:`bytes-like objects ` grabable. (Aportado " +"por Serhiy Storchaka en :issue:`23001`.)" #: ../Doc/whatsnew/3.5.rst:2106 msgid "Optimizations" @@ -4036,23 +4282,23 @@ msgstr "Optimizaciones" #: ../Doc/whatsnew/3.5.rst:2108 msgid "" "The :func:`os.walk` function has been sped up by 3 to 5 times on POSIX " -"systems, and by 7 to 20 times on Windows. This was done using the new :func:" -"`os.scandir` function, which exposes file information from the underlying " -"``readdir`` or ``FindFirstFile``/``FindNextFile`` system calls. " +"systems, and by 7 to 20 times on Windows. This was done using the " +"new :func:`os.scandir` function, which exposes file information from the " +"underlying ``readdir`` or ``FindFirstFile``/``FindNextFile`` system calls. " "(Contributed by Ben Hoyt with help from Victor Stinner in :issue:`23605`.)" msgstr "" "La función :func:`os.walk` se aceleró de 3 a 5 veces en los sistemas POSIX y " -"de 7 a 20 veces en Windows. Esto se hizo usando la nueva función :func:`os." -"scandir`, el cual expone la información del archivo de las llamadas al " -"sistema ``readdir`` o ``FindFirstFile``/``FindNextFile``. (Contribución de " -"Ben Hoyt con ayuda de Victor Stinner en :issue:`23605`.)" +"de 7 a 20 veces en Windows. Esto se hizo usando la nueva " +"función :func:`os.scandir`, el cual expone la información del archivo de las " +"llamadas al sistema ``readdir`` o ``FindFirstFile``/``FindNextFile``. " +"(Contribución de Ben Hoyt con ayuda de Victor Stinner en :issue:`23605`.)" #: ../Doc/whatsnew/3.5.rst:2114 msgid "" "Construction of ``bytes(int)`` (filled by zero bytes) is faster and uses " "less memory for large objects. ``calloc()`` is used instead of ``malloc()`` " -"to allocate memory for these objects. (Contributed by Victor Stinner in :" -"issue:`21233`.)" +"to allocate memory for these objects. (Contributed by Victor Stinner " +"in :issue:`21233`.)" msgstr "" "La construcción de ``bytes(int)`` (llenado con cero bytes) es más rápida y " "usa menos memoria para objetos grandes. Se usa ``calloc()`` en lugar de " @@ -4061,21 +4307,19 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2119 msgid "" -"Some operations on :mod:`ipaddress` :class:`~ipaddress.IPv4Network` and :" -"class:`~ipaddress.IPv6Network` have been massively sped up, such as :meth:" -"`~ipaddress.IPv4Network.subnets`, :meth:`~ipaddress.IPv4Network.supernet`, :" -"func:`~ipaddress.summarize_address_range`, :func:`~ipaddress." -"collapse_addresses`. The speed up can range from 3 to 15 times. (Contributed " -"by Antoine Pitrou, Michel Albert, and Markus in :issue:`21486`, :issue:" -"`21487`, :issue:`20826`, :issue:`23266`.)" -msgstr "" -"Algunas operaciones en :mod:`ipaddress` :class:`~ipaddress.IPv4Network` y :" -"class:`~ipaddress.IPv6Network` se aceleraron masivamente, tal como :meth:" -"`~ipaddress.IPv4Network.subnets`, :meth:`~ipaddress.IPv4Network.supernet`, :" -"func:`~ipaddress.summarize_address_range`, :func:`~ipaddress." -"collapse_addresses`. La velocidad puede variar de 3 a 15 veces. " -"(Contribución de Antoine Pitrou, Michel Albert y Markus en :issue:`21486`, :" -"issue:`21487`, :issue:`20826`, :issue:`23266`.)" +"Some operations on :mod:`ipaddress` :class:`~ipaddress.IPv4Network` " +"and :class:`~ipaddress.IPv6Network` have been massively sped up, such " +"as :meth:`~ipaddress.IPv4Network.subnets`, :meth:`~ipaddress.IPv4Network.supernet`, :func:`~ipaddress.summarize_address_range`, :func:`~ipaddress.collapse_addresses`. " +"The speed up can range from 3 to 15 times. (Contributed by Antoine Pitrou, " +"Michel Albert, and Markus " +"in :issue:`21486`, :issue:`21487`, :issue:`20826`, :issue:`23266`.)" +msgstr "" +"Algunas operaciones en :mod:`ipaddress` :class:`~ipaddress.IPv4Network` " +"y :class:`~ipaddress.IPv6Network` se aceleraron masivamente, tal " +"como :meth:`~ipaddress.IPv4Network.subnets`, :meth:`~ipaddress.IPv4Network.supernet`, :func:`~ipaddress.summarize_address_range`, :func:`~ipaddress.collapse_addresses`. " +"La velocidad puede variar de 3 a 15 veces. (Contribución de Antoine Pitrou, " +"Michel Albert y Markus " +"en :issue:`21486`, :issue:`21487`, :issue:`20826`, :issue:`23266`.)" #: ../Doc/whatsnew/3.5.rst:2127 msgid "" @@ -4083,15 +4327,15 @@ msgid "" "smaller output. (Contributed by Serhiy Storchaka in :issue:`23133`.)" msgstr "" "Se optimizó pickling de objetos :mod:`ipaddress` para producir una salida " -"significativamente menor. (Contribución de Serhiy Storchaka en :issue:" -"`23133`.)" +"significativamente menor. (Contribución de Serhiy Storchaka " +"en :issue:`23133`.)" #: ../Doc/whatsnew/3.5.rst:2130 #, python-format msgid "" "Many operations on :class:`io.BytesIO` are now 50% to 100% faster. " -"(Contributed by Serhiy Storchaka in :issue:`15381` and David Wilson in :" -"issue:`22003`.)" +"(Contributed by Serhiy Storchaka in :issue:`15381` and David Wilson " +"in :issue:`22003`.)" msgstr "" "Ahora muchas operaciones en :class:`io.BytesIO` son de 50% a 100% más " "rápidas. (Contribución de Serhiy Storchaka en :issue:`15381` y de David " @@ -4101,13 +4345,13 @@ msgstr "" msgid "" "The :func:`marshal.dumps` function is now faster: 65--85% with versions 3 " "and 4, 20--25% with versions 0 to 2 on typical data, and up to 5 times in " -"best cases. (Contributed by Serhiy Storchaka in :issue:`20416` and :issue:" -"`23344`.)" +"best cases. (Contributed by Serhiy Storchaka in :issue:`20416` " +"and :issue:`23344`.)" msgstr "" "Ahora la función :func:`marshal.dumps` es más rápida: 65--85% en las " "versiones 3 y 4, 20--25% en las versiones 0 a 2 con datos típicos, y hasta 5 " -"veces en el mejor de los casos. (Contribución de Serhiy Storchaka en :issue:" -"`20416` y :issue:`23344`.)" +"veces en el mejor de los casos. (Contribución de Serhiy Storchaka " +"en :issue:`20416` y :issue:`23344`.)" #: ../Doc/whatsnew/3.5.rst:2139 msgid "" @@ -4139,19 +4383,20 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2149 msgid "" "The :c:func:`PyObject_IsInstance` and :c:func:`PyObject_IsSubclass` " -"functions have been sped up in the common case that the second argument has :" -"class:`type` as its metaclass. (Contributed Georg Brandl by in :issue:" -"`22540`.)" +"functions have been sped up in the common case that the second argument " +"has :class:`type` as its metaclass. (Contributed Georg Brandl by " +"in :issue:`22540`.)" msgstr "" "Las funciones :c:func:`PyObject_IsInstance` y :c:func:`PyObject_IsSubclass` " -"se aceleraron en el caso común de que el segundo argumento tenga :class:" -"`type` como su metaclase. (Contribución de Georg Brandl en :issue:`22540`.)" +"se aceleraron en el caso común de que el segundo argumento " +"tenga :class:`type` como su metaclase. (Contribución de Georg Brandl " +"en :issue:`22540`.)" #: ../Doc/whatsnew/3.5.rst:2154 msgid "" "Method caching was slightly improved, yielding up to 5% performance " -"improvement in some benchmarks. (Contributed by Antoine Pitrou in :issue:" -"`22847`.)" +"improvement in some benchmarks. (Contributed by Antoine Pitrou " +"in :issue:`22847`.)" msgstr "" "Se mejoró ligeramente el almacenamiento en caché del método, lo que arrojó " "una mejora del rendimiento de hasta un 5% en algunos puntos de referencia. " @@ -4164,8 +4409,8 @@ msgid "" "builds. (Contributed by Serhiy Storchaka in :issue:`23488`.)" msgstr "" "Ahora los objetos del módulo :mod:`random` usan un 50% menos de memoria en " -"compilaciones de 64 bits. (Contribución de Serhiy Storchaka en :issue:" -"`23488`.)" +"compilaciones de 64 bits. (Contribución de Serhiy Storchaka " +"en :issue:`23488`.)" #: ../Doc/whatsnew/3.5.rst:2161 #, python-format @@ -4187,15 +4432,17 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2167 msgid "" -"String methods :meth:`~str.find`, :meth:`~str.rfind`, :meth:`~str.split`, :" -"meth:`~str.partition` and the :keyword:`in` string operator are now " -"significantly faster for searching 1-character substrings. (Contributed by " -"Serhiy Storchaka in :issue:`23573`.)" +"String " +"methods :meth:`~str.find`, :meth:`~str.rfind`, :meth:`~str.split`, :meth:`~str.partition` " +"and the :keyword:`in` string operator are now significantly faster for " +"searching 1-character substrings. (Contributed by Serhiy Storchaka " +"in :issue:`23573`.)" msgstr "" -"Ahora los métodos de cadena de caracteres :meth:`~str.find`, :meth:`~str." -"rfind`, :meth:`~str.split`, :meth:`~str.partition` y el operador :keyword:" -"`in` son significativamente más rápidos para buscar subcadenas de 1 " -"carácter. (Contribución de Serhiy Storchaka en :issue:`23573`.)" +"Ahora los métodos de cadena de " +"caracteres :meth:`~str.find`, :meth:`~str.rfind`, :meth:`~str.split`, :meth:`~str.partition` " +"y el operador :keyword:`in` son significativamente más rápidos para buscar " +"subcadenas de 1 carácter. (Contribución de Serhiy Storchaka " +"en :issue:`23573`.)" #: ../Doc/whatsnew/3.5.rst:2174 msgid "Build and C API Changes" @@ -4241,23 +4488,22 @@ msgstr "(Contribución de Victor Stinner en :issue:`18395`.)" #, python-brace-format msgid "" "A new :c:func:`PyCodec_NameReplaceErrors` function to replace the unicode " -"encode error with ``\\N{...}`` escapes. (Contributed by Serhiy Storchaka in :" -"issue:`19676`.)" +"encode error with ``\\N{...}`` escapes. (Contributed by Serhiy Storchaka " +"in :issue:`19676`.)" msgstr "" "Una nueva función :c:func:`PyCodec_NameReplaceErrors` para reemplazar el " "error de codificación unicode con ``\\N{...}`` escapes. (Contribución de " "Serhiy Storchaka en :issue:`19676`.)" #: ../Doc/whatsnew/3.5.rst:2195 -#, fuzzy msgid "" "A new :c:func:`PyErr_FormatV` function similar to :c:func:`PyErr_Format`, " -"but accepts a :c:type:`va_list` argument. (Contributed by Antoine Pitrou in :" -"issue:`18711`.)" +"but accepts a :c:type:`va_list` argument. (Contributed by Antoine Pitrou " +"in :issue:`18711`.)" msgstr "" "Una nueva función :c:func:`PyErr_FormatV` similar a :c:func:`PyErr_Format`, " -"pero acepta un argumento ``va_list``. (Contribución de Antoine Pitrou en :" -"issue:`18711`.)" +"pero acepta un argumento :c:type:`va_list`. (Aportado por Antoine Pitrou " +"en :issue:`18711`.)" #: ../Doc/whatsnew/3.5.rst:2199 msgid "" @@ -4271,24 +4517,24 @@ msgstr "" msgid "" "New :c:func:`PyModule_FromDefAndSpec`, :c:func:`PyModule_FromDefAndSpec2`, " "and :c:func:`PyModule_ExecDef` functions introduced by :pep:`489` -- multi-" -"phase extension module initialization. (Contributed by Petr Viktorin in :" -"issue:`24268`.)" +"phase extension module initialization. (Contributed by Petr Viktorin " +"in :issue:`24268`.)" msgstr "" -"Se introdujeron las nuevas funciones :c:func:`PyModule_FromDefAndSpec`, :c:" -"func:`PyModule_FromDefAndSpec2` y :c:func:`PyModule_ExecDef` por :pep:`489` " -"-- inicialización del módulo de extensión multifase. (Contribución de Petr " -"Viktorin en :issue:`24268`.)" +"Se introdujeron las nuevas " +"funciones :c:func:`PyModule_FromDefAndSpec`, :c:func:`PyModule_FromDefAndSpec2` " +"y :c:func:`PyModule_ExecDef` por :pep:`489` -- inicialización del módulo de " +"extensión multifase. (Contribución de Petr Viktorin en :issue:`24268`.)" #: ../Doc/whatsnew/3.5.rst:2207 msgid "" -"New :c:func:`PyNumber_MatrixMultiply` and :c:func:" -"`PyNumber_InPlaceMatrixMultiply` functions to perform matrix multiplication. " -"(Contributed by Benjamin Peterson in :issue:`21176`. See also :pep:`465` " -"for details.)" +"New :c:func:`PyNumber_MatrixMultiply` " +"and :c:func:`PyNumber_InPlaceMatrixMultiply` functions to perform matrix " +"multiplication. (Contributed by Benjamin Peterson in :issue:`21176`. See " +"also :pep:`465` for details.)" msgstr "" -"Nuevas funciones :c:func:`PyNumber_MatrixMultiply` y :c:func:" -"`PyNumber_InPlaceMatrixMultiply` para realizar la multiplicación de " -"matrices. (Contribución de Benjamin Peterson en :issue:`21176`. Consultar " +"Nuevas funciones :c:func:`PyNumber_MatrixMultiply` " +"y :c:func:`PyNumber_InPlaceMatrixMultiply` para realizar la multiplicación " +"de matrices. (Contribución de Benjamin Peterson en :issue:`21176`. Consultar " "también :pep:`465` para más detalles.)" #: ../Doc/whatsnew/3.5.rst:2213 @@ -4299,15 +4545,15 @@ msgstr "" "estable." #: ../Doc/whatsnew/3.5.rst:2215 -#, fuzzy msgid "" "Windows builds now require Microsoft Visual C++ 14.0, which is available as " "part of `Visual Studio 2015 `_." msgstr "" -"Ahora las compilaciones de Windows requieren Microsoft Visual C++ 14.0, que " -"está disponible como parte de `Visual Studio 2015 `_." +"Las compilaciones de Windows ahora requieren Microsoft Visual C++ 14.0, que " +"está disponible como parte de `Visual Studio 2015 `_." #: ../Doc/whatsnew/3.5.rst:2218 msgid "" @@ -4326,8 +4572,8 @@ msgid "" "On Linux, extension module filenames end with ``.cpython-m-" "-.pyd``:" msgstr "" -"En Linux, los nombres de archivo del módulo de extensión termina con ``." -"cpython-m--.pyd``:" +"En Linux, los nombres de archivo del módulo de extensión termina con " +"``.cpython-m--.pyd``:" #: ../Doc/whatsnew/3.5.rst:2226 ../Doc/whatsnew/3.5.rst:2243 msgid "" @@ -4432,8 +4678,8 @@ msgstr "Comportamiento obsoleto de Python" msgid "" "Raising the :exc:`StopIteration` exception inside a generator will now " "generate a silent :exc:`PendingDeprecationWarning`, which will become a non-" -"silent deprecation warning in Python 3.6 and will trigger a :exc:" -"`RuntimeError` in Python 3.7. See :ref:`PEP 479: Change StopIteration " +"silent deprecation warning in Python 3.6 and will trigger " +"a :exc:`RuntimeError` in Python 3.7. See :ref:`PEP 479: Change StopIteration " "handling inside generators ` for details." msgstr "" "Al lanzar la excepción :exc:`StopIteration` dentro de un generador ahora se " @@ -4460,25 +4706,22 @@ msgid "Deprecated Python modules, functions and methods" msgstr "Módulos, funciones y métodos obsoletos de Python" #: ../Doc/whatsnew/3.5.rst:2293 -#, fuzzy msgid "" "The :mod:`!formatter` module has now graduated to full deprecation and is " "still slated for removal in Python 3.6." msgstr "" -"Ahora el módulo :mod:`formatter` se ha graduado a su deprecación completa y " -"aún está programada para su eliminación en Python 3.6." +"El módulo :mod:`!formatter` ahora se encuentra en desuso total y aún está " +"programado para su eliminación en Python 3.6." #: ../Doc/whatsnew/3.5.rst:2296 -#, fuzzy msgid "" -"The :func:`!asyncio.async` function is deprecated in favor of :func:" -"`~asyncio.ensure_future`." +"The :func:`!asyncio.async` function is deprecated in favor " +"of :func:`~asyncio.ensure_future`." msgstr "" -"La función :func:`asyncio.async` es obsoleta en favor de :func:`~asyncio." -"ensure_future`." +"La función :func:`!asyncio.async` está en desuso en favor " +"de :func:`~asyncio.ensure_future`." #: ../Doc/whatsnew/3.5.rst:2299 -#, fuzzy msgid "" "The :mod:`!smtpd` module has in the past always decoded the DATA portion of " "email messages using the ``utf-8`` codec. This can now be controlled by the " @@ -4486,60 +4729,62 @@ msgid "" "``True``, but this default is deprecated. Specify the *decode_data* keyword " "with an appropriate value to avoid the deprecation warning." msgstr "" -"En el pasado, el módulo :mod:`smtpd` siempre ha decodificado la porción DATA " -"de los mensajes de correo electrónico usando el códec ``utf-8``. Ahora esto " -"se puede controlar con la nueva palabra clave *decode_data* en :class:" -"`~smtpd.SMTPServer`. El valor predeterminado es ``True``, pero éste está " -"obsoleto. Especificar la palabra clave *decode_data* con un valor apropiado " -"para evitar la advertencia de deprecación." +"En el pasado, el módulo :mod:`!smtpd` siempre decodificaba la parte de DATOS " +"de los mensajes de correo electrónico utilizando el códec ``utf-8``. Esto " +"ahora se puede controlar mediante la nueva palabra clave *decode_data* " +"para :class:`!SMTPServer`. El valor predeterminado es ``True``, pero este " +"valor predeterminado está en desuso. Especifique la palabra clave " +"*decode_data* con un valor apropiado para evitar la advertencia de " +"obsolescencia." #: ../Doc/whatsnew/3.5.rst:2305 msgid "" -"Directly assigning values to the :attr:`~http.cookies.Morsel.key`, :attr:" -"`~http.cookies.Morsel.value` and :attr:`~http.cookies.Morsel.coded_value` " -"of :class:`http.cookies.Morsel` objects is deprecated. Use the :meth:`~http." -"cookies.Morsel.set` method instead. In addition, the undocumented " -"*LegalChars* parameter of :meth:`~http.cookies.Morsel.set` is deprecated, " -"and is now ignored." -msgstr "" -"Está obsoleto asignar valores directamente en :attr:`~http.cookies.Morsel." -"key`, :attr:`~http.cookies.Morsel.value` y :attr:`~http.cookies.Morsel." -"coded_value` en los objetos de :class:`http.cookies.Morsel`. Usar en su " -"lugar el método :meth:`~http.cookies.Morsel.set`. Además, el parámetro no " -"documentado *LegalChars* de :meth:`~http.cookies.Morsel.set` está obsoleto y " -"ahora se ignora." +"Directly assigning values to " +"the :attr:`~http.cookies.Morsel.key`, :attr:`~http.cookies.Morsel.value` " +"and :attr:`~http.cookies.Morsel.coded_value` of :class:`http.cookies.Morsel` " +"objects is deprecated. Use the :meth:`~http.cookies.Morsel.set` method " +"instead. In addition, the undocumented *LegalChars* parameter " +"of :meth:`~http.cookies.Morsel.set` is deprecated, and is now ignored." +msgstr "" +"Está obsoleto asignar valores directamente " +"en :attr:`~http.cookies.Morsel.key`, :attr:`~http.cookies.Morsel.value` " +"y :attr:`~http.cookies.Morsel.coded_value` en los objetos " +"de :class:`http.cookies.Morsel`. Usar en su lugar el " +"método :meth:`~http.cookies.Morsel.set`. Además, el parámetro no documentado " +"*LegalChars* de :meth:`~http.cookies.Morsel.set` está obsoleto y ahora se " +"ignora." #: ../Doc/whatsnew/3.5.rst:2312 msgid "" -"Passing a format string as keyword argument *format_string* to the :meth:" -"`~string.Formatter.format` method of the :class:`string.Formatter` class has " -"been deprecated. (Contributed by Serhiy Storchaka in :issue:`23671`.)" +"Passing a format string as keyword argument *format_string* to " +"the :meth:`~string.Formatter.format` method of the :class:`string.Formatter` " +"class has been deprecated. (Contributed by Serhiy Storchaka " +"in :issue:`23671`.)" msgstr "" "Pasar una cadena de caracteres de formato como argumento de palabra clave " -"*format_string* al método :meth:`~string.Formatter.format` de la clase :" -"class:`string.Formatter` se ha quedado obsoleto. (Contribución de Serhiy " -"Storchaka en :issue:`23671`.)" +"*format_string* al método :meth:`~string.Formatter.format` de la " +"clase :class:`string.Formatter` se ha quedado obsoleto. (Contribución de " +"Serhiy Storchaka en :issue:`23671`.)" #: ../Doc/whatsnew/3.5.rst:2317 -#, fuzzy msgid "" "The :func:`!platform.dist` and :func:`!platform.linux_distribution` " "functions are now deprecated. Linux distributions use too many different " "ways of describing themselves, so the functionality is left to a package. " "(Contributed by Vajrasky Kok and Berker Peksag in :issue:`1322`.)" msgstr "" -"Ahora las funciones :func:`platform.dist` y :func:`platform." -"linux_distribution` están obsoletas. Las distribuciones de Linux usan " -"demasiadas formas diferentes de describirse a sí mismas, así que la " -"funcionalidad se deja a un paquete. (Contribución de Vajrasky Kok y Berker " -"Peksag en :issue:`1322`.)" +"Las funciones :func:`!platform.dist` y :func:`!platform.linux_distribution` " +"ahora están en desuso. Las distribuciones de Linux utilizan demasiadas " +"formas diferentes de describirse a sí mismas, por lo que la funcionalidad se " +"deja en manos de un paquete. (Contribución de Vajrasky Kok y Berker Peksag " +"en :issue:`1322`)." #: ../Doc/whatsnew/3.5.rst:2322 msgid "" "The previously undocumented ``from_function`` and ``from_builtin`` methods " -"of :class:`inspect.Signature` are deprecated. Use the new :meth:`Signature." -"from_callable() ` method instead. " -"(Contributed by Yury Selivanov in :issue:`24248`.)" +"of :class:`inspect.Signature` are deprecated. Use the " +"new :meth:`Signature.from_callable() ` " +"method instead. (Contributed by Yury Selivanov in :issue:`24248`.)" msgstr "" "Los métodos ``from_function`` y ``from_builtin`` previamente no documentados " "de :class:`inspect.Signature` están obsoletos. Utilizar en su lugar el nuevo " @@ -4547,25 +4792,25 @@ msgstr "" "(Contribución de Yury Selivanov en :issue:`24248`.)" #: ../Doc/whatsnew/3.5.rst:2327 -#, fuzzy msgid "" "The :func:`!inspect.getargspec` function is deprecated and scheduled to be " "removed in Python 3.6. (See :issue:`20438` for details.)" msgstr "" -"La función :func:`inspect.getargspec` está obsoleta y programada para ser " -"eliminada en Python 3.6. (Consultar :issue:`20438` para más detalles.)" +"La función :func:`!inspect.getargspec` está obsoleta y está programada para " +"eliminarse en Python 3.6. (Consulte :issue:`20438` para obtener más " +"detalles)." #: ../Doc/whatsnew/3.5.rst:2330 -#, fuzzy msgid "" -"The :mod:`inspect` :func:`~inspect.getfullargspec`, :func:`~inspect." -"getcallargs`, and :func:`!formatargspec` functions are deprecated in favor " -"of the :func:`inspect.signature` API. (Contributed by Yury Selivanov in :" -"issue:`20438`.)" +"The :mod:`inspect` :func:`~inspect.getfullargspec`, :func:`~inspect.getcallargs`, " +"and :func:`!formatargspec` functions are deprecated in favor of " +"the :func:`inspect.signature` API. (Contributed by Yury Selivanov " +"in :issue:`20438`.)" msgstr "" -"Las funciones :mod:`inspect` :func:`~inspect.getfullargspec`, :func:" -"`~inspect.getcallargs` y :func:`~inspect.formatargspec` están obsoletas en " -"favor de la API :func:`inspect.signature`. (Contribución de Yury Selivanov " +"Las " +"funciones :mod:`inspect` :func:`~inspect.getfullargspec`, :func:`~inspect.getcallargs` " +"y :func:`!formatargspec` están en desuso en favor de la " +"API :func:`inspect.signature`. (Aportado por Yury Selivanov " "en :issue:`20438`.)" #: ../Doc/whatsnew/3.5.rst:2335 @@ -4573,17 +4818,18 @@ msgid "" ":func:`~inspect.getargvalues` and :func:`~inspect.formatargvalues` functions " "were inadvertently marked as deprecated with the release of Python 3.5.0." msgstr "" -"Las funciones :func:`~inspect.getargvalues` y :func:`~inspect." -"formatargvalues` se marcaron inadvertidamente como obsoletas con el " -"lanzamiento de Python 3.5.0." +"Las funciones :func:`~inspect.getargvalues` " +"y :func:`~inspect.formatargvalues` se marcaron inadvertidamente como " +"obsoletas con el lanzamiento de Python 3.5.0." #: ../Doc/whatsnew/3.5.rst:2338 msgid "" "Use of :const:`re.LOCALE` flag with str patterns or :const:`re.ASCII` is now " "deprecated. (Contributed by Serhiy Storchaka in :issue:`22407`.)" msgstr "" -"Ahora el uso de la bandera :const:`re.LOCALE` con patrones str o :const:`re." -"ASCII` está obsoleto. (Contribución de Serhiy Storchaka en :issue:`22407`.)" +"Ahora el uso de la bandera :const:`re.LOCALE` con patrones str " +"o :const:`re.ASCII` está obsoleto. (Contribución de Serhiy Storchaka " +"en :issue:`22407`.)" #: ../Doc/whatsnew/3.5.rst:2341 msgid "" @@ -4599,10 +4845,10 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2346 msgid "" -"The undocumented and unofficial *use_load_tests* default argument of the :" -"meth:`unittest.TestLoader.loadTestsFromModule` method now is deprecated and " -"ignored. (Contributed by Robert Collins and Barry A. Warsaw in :issue:" -"`16662`.)" +"The undocumented and unofficial *use_load_tests* default argument of " +"the :meth:`unittest.TestLoader.loadTestsFromModule` method now is deprecated " +"and ignored. (Contributed by Robert Collins and Barry A. Warsaw " +"in :issue:`16662`.)" msgstr "" "Ahora el argumento predeterminado no documentado y no oficial " "*use_load_tests* del método :meth:`unittest.TestLoader.loadTestsFromModule` " @@ -4642,8 +4888,8 @@ msgid "" "3.4, and has now been removed. (Contributed by Matt Chaput in :issue:`6623`.)" msgstr "" "La clase interna ``Netrc`` en el módulo :mod:`ftplib` quedó obsoleta en la " -"versión 3.4 y ahora se eliminó. (Contribución de Matt Chaput en :issue:" -"`6623`.)" +"versión 3.4 y ahora se eliminó. (Contribución de Matt Chaput " +"en :issue:`6623`.)" #: ../Doc/whatsnew/3.5.rst:2369 msgid "The concept of ``.pyo`` files has been removed." @@ -4688,6 +4934,8 @@ msgid "" "f(1 for x in [1], *args)\n" "f(1 for x in [1], **kwargs)" msgstr "" +"f(1 para x en [1], *args)\n" +"f(1 for x in [1], **kwargs)" #: ../Doc/whatsnew/3.5.rst:2392 msgid "" @@ -4716,26 +4964,25 @@ msgstr "" msgid "" "Before Python 3.5, a :class:`datetime.time` object was considered to be " "false if it represented midnight in UTC. This behavior was considered " -"obscure and error-prone and has been removed in Python 3.5. See :issue:" -"`13936` for full details." +"obscure and error-prone and has been removed in Python 3.5. " +"See :issue:`13936` for full details." msgstr "" "Antes de Python 3.5, se consideraba falso un objeto :class:`datetime.time` " "si representaba la medianoche en UTC. Este comportamiento se consideraba " -"oscuro y propenso a errores y se eliminó en Python 3.5. Consultar :issue:" -"`13936` para más detalles." +"oscuro y propenso a errores y se eliminó en Python 3.5. " +"Consultar :issue:`13936` para más detalles." #: ../Doc/whatsnew/3.5.rst:2408 -#, fuzzy msgid "" -"The :meth:`!ssl.SSLSocket.send` method now raises either :exc:`ssl." -"SSLWantReadError` or :exc:`ssl.SSLWantWriteError` on a non-blocking socket " -"if the operation would block. Previously, it would return ``0``. " -"(Contributed by Nikolaus Rath in :issue:`20951`.)" +"The :meth:`!ssl.SSLSocket.send` method now raises " +"either :exc:`ssl.SSLWantReadError` or :exc:`ssl.SSLWantWriteError` on a non-" +"blocking socket if the operation would block. Previously, it would return " +"``0``. (Contributed by Nikolaus Rath in :issue:`20951`.)" msgstr "" -"Ahora el método :meth:`ssl.SSLSocket.send()` lanza ya sea :exc:`ssl." -"SSLWantReadError` o :exc:`ssl.SSLWantWriteError` en un socket sin bloqueo si " -"la operación se bloqueara. Anteriormente, retornaría ``0``. (Contribución de " -"Nikolaus Rath en :issue:`20951`.)" +"El método :meth:`!ssl.SSLSocket.send` ahora " +"genera :exc:`ssl.SSLWantReadError` o :exc:`ssl.SSLWantWriteError` en un " +"socket sin bloqueo si la operación se bloquearía. Anteriormente, devolvería " +"``0``. (Aportado por Nikolaus Rath en :issue:`20951`.)" #: ../Doc/whatsnew/3.5.rst:2413 msgid "" @@ -4753,21 +5000,20 @@ msgstr "" "(``repr(gen)``). (Contribución de Victor Stinner en :issue:`21205`.)" #: ../Doc/whatsnew/3.5.rst:2420 -#, fuzzy -msgid "" -"The deprecated \"strict\" mode and argument of :class:`~html.parser." -"HTMLParser`, :meth:`!HTMLParser.error`, and the :exc:`!HTMLParserError` " -"exception have been removed. (Contributed by Ezio Melotti in :issue:" -"`15114`.) The *convert_charrefs* argument of :class:`~html.parser." -"HTMLParser` is now ``True`` by default. (Contributed by Berker Peksag in :" -"issue:`21047`.)" -msgstr "" -"Se eliminaron el argumento y modo obsoleto \"strict\" de :class:`~html." -"parser.HTMLParser`, :meth:`HTMLParser.error` y la excepción :exc:" -"`HTMLParserError`. (Contribución de Ezio Melotti en :issue:`15114`.) Ahora " -"el argumento *convert_charrefs* de :class:`~html.parser.HTMLParser` es " -"``True`` como valor predeterminado. (Contribución de Berker Peksag en :issue:" -"`21047`.)" +msgid "" +"The deprecated \"strict\" mode and argument " +"of :class:`~html.parser.HTMLParser`, :meth:`!HTMLParser.error`, and " +"the :exc:`!HTMLParserError` exception have been removed. (Contributed by " +"Ezio Melotti in :issue:`15114`.) The *convert_charrefs* argument " +"of :class:`~html.parser.HTMLParser` is now ``True`` by default. " +"(Contributed by Berker Peksag in :issue:`21047`.)" +msgstr "" +"Se han eliminado el argumento y el modo \"estricto\" obsoleto " +"de :class:`~html.parser.HTMLParser`, :meth:`!HTMLParser.error` y la " +"excepción :exc:`!HTMLParserError`. (Aportado por Ezio Melotti " +"en :issue:`15114`.) El argumento *convert_charrefs* " +"de :class:`~html.parser.HTMLParser` ahora es ``True`` de forma " +"predeterminada. (Aportado por Berker Peksag en :issue:`21047`.)" #: ../Doc/whatsnew/3.5.rst:2426 msgid "" @@ -4785,17 +5031,17 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2432 msgid "" -"If the current directory is set to a directory that no longer exists then :" -"exc:`FileNotFoundError` will no longer be raised and instead :meth:" -"`~importlib.machinery.FileFinder.find_spec` will return ``None`` **without** " -"caching ``None`` in :data:`sys.path_importer_cache`, which is different than " -"the typical case (:issue:`22834`)." +"If the current directory is set to a directory that no longer exists " +"then :exc:`FileNotFoundError` will no longer be raised and " +"instead :meth:`~importlib.machinery.FileFinder.find_spec` will return " +"``None`` **without** caching ``None`` in :data:`sys.path_importer_cache`, " +"which is different than the typical case (:issue:`22834`)." msgstr "" "Si el directorio actual se establece en un directorio que ya no existe " -"entonces ya no se lanzará :exc:`FileNotFoundError` y en su lugar :meth:" -"`~importlib.machinery.FileFinder.find_spec` retornará ``None`` **sin** " -"almacenamiento en caché ``None`` en :data:`sys.path_importer_cache`, el cual " -"es diferente al caso típico (:issue:`22834`)." +"entonces ya no se lanzará :exc:`FileNotFoundError` y en su " +"lugar :meth:`~importlib.machinery.FileFinder.find_spec` retornará ``None`` " +"**sin** almacenamiento en caché ``None`` en :data:`sys.path_importer_cache`, " +"el cual es diferente al caso típico (:issue:`22834`)." #: ../Doc/whatsnew/3.5.rst:2438 msgid "" @@ -4804,14 +5050,13 @@ msgid "" "in :mod:`http.client` and :mod:`http.server` remain available for backwards " "compatibility. (Contributed by Demian Brecht in :issue:`21793`.)" msgstr "" -"El código de estado HTTP y los mensajes de :mod:`http.client` y :mod:`http." -"server` se refactorizaron en una enumeración :class:`~http.HTTPStatus`. Los " -"valores en :mod:`http.client` y :mod:`http.server` permanecen disponibles " -"para compatibilidad con versiones anteriores. (Contribución de Demian Brecht " -"en :issue:`21793`.)" +"El código de estado HTTP y los mensajes de :mod:`http.client` " +"y :mod:`http.server` se refactorizaron en una " +"enumeración :class:`~http.HTTPStatus`. Los valores en :mod:`http.client` " +"y :mod:`http.server` permanecen disponibles para compatibilidad con " +"versiones anteriores. (Contribución de Demian Brecht en :issue:`21793`.)" #: ../Doc/whatsnew/3.5.rst:2443 -#, fuzzy msgid "" "When an import loader defines :meth:`~importlib.abc.Loader.exec_module` it " "is now expected to also define :meth:`~importlib.abc.Loader.create_module` " @@ -4820,13 +5065,13 @@ msgid "" "to do, else simply define :meth:`~importlib.abc.Loader.create_module` to " "return ``None``. (Contributed by Brett Cannon in :issue:`23014`.)" msgstr "" -"Cuando un cargador de importación define :meth:`importlib.machinery.Loader." -"exec_module`, ahora se espera que también defina :meth:`~importlib.machinery." -"Loader.create_module` (ahora lanza un :exc:`DeprecationWarning`, será un " -"error en Python 3.6). Si el cargador hereda de :class:`importlib.abc.Loader` " -"entonces no hay nada que hacer, de lo contrario simplemente defina :meth:" -"`~importlib.machinery.Loader.create_module` para retornar ``None``. " -"(Contribución de Brett Cannon en :issue:`23014`.)" +"Cuando un cargador de importación " +"define :meth:`~importlib.abc.Loader.exec_module`, ahora se espera que " +"también defina :meth:`~importlib.abc.Loader.create_module` (ahora genera " +"un :exc:`DeprecationWarning`, será un error en Python 3.6). Si el cargador " +"hereda de :class:`importlib.abc.Loader`, entonces no hay nada que hacer; de " +"lo contrario, simplemente defina :meth:`~importlib.abc.Loader.create_module` " +"para que devuelva ``None``. (Aportado por Brett Cannon en :issue:`23014`.)" #: ../Doc/whatsnew/3.5.rst:2451 msgid "" @@ -4850,58 +5095,60 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2459 msgid "" "The :class:`http.cookies.Morsel` dict-like interface has been made self " -"consistent: morsel comparison now takes the :attr:`~http.cookies.Morsel." -"key` and :attr:`~http.cookies.Morsel.value` into account, :meth:`~http." -"cookies.Morsel.copy` now results in a :class:`~http.cookies.Morsel` instance " -"rather than a :class:`dict`, and :meth:`~http.cookies.Morsel.update` will " -"now raise an exception if any of the keys in the update dictionary are " -"invalid. In addition, the undocumented *LegalChars* parameter of :func:" -"`~http.cookies.Morsel.set` is deprecated and is now ignored. (Contributed " -"by Demian Brecht in :issue:`2211`.)" +"consistent: morsel comparison now takes " +"the :attr:`~http.cookies.Morsel.key` and :attr:`~http.cookies.Morsel.value` " +"into account, :meth:`~http.cookies.Morsel.copy` now results in " +"a :class:`~http.cookies.Morsel` instance rather than a :class:`dict`, " +"and :meth:`~http.cookies.Morsel.update` will now raise an exception if any " +"of the keys in the update dictionary are invalid. In addition, the " +"undocumented *LegalChars* parameter of :func:`~http.cookies.Morsel.set` is " +"deprecated and is now ignored. (Contributed by Demian Brecht " +"in :issue:`2211`.)" msgstr "" "La interfaz similar a diccionarios :class:`http.cookies.Morsel` se ha hecho " -"autoconsistente: ahora la comparación de morsel toma en cuenta :attr:`~http." -"cookies.Morsel.key` y :attr:`~http.cookies.Morsel.value`, ahora :meth:`~http." -"cookies.Morsel.copy` da como resultado en una instancia :class:`~http." -"cookies.Morsel` en lugar de un :class:`dict`, y ahora :meth:`~http.cookies." -"Morsel.update` lanzará una excepción si alguna de las claves del diccionario " -"de actualización no es válida. Además, el parámetro no documentado " -"*LegalChars* de :func:`~http.cookies.Morsel.set` está obsoleto y ahora se " -"ignora. (Contribución de Demian Brecht en :issue:`2211`.)" +"autoconsistente: ahora la comparación de morsel toma en " +"cuenta :attr:`~http.cookies.Morsel.key` " +"y :attr:`~http.cookies.Morsel.value`, " +"ahora :meth:`~http.cookies.Morsel.copy` da como resultado en una " +"instancia :class:`~http.cookies.Morsel` en lugar de un :class:`dict`, y " +"ahora :meth:`~http.cookies.Morsel.update` lanzará una excepción si alguna de " +"las claves del diccionario de actualización no es válida. Además, el " +"parámetro no documentado *LegalChars* de :func:`~http.cookies.Morsel.set` " +"está obsoleto y ahora se ignora. (Contribución de Demian Brecht " +"en :issue:`2211`.)" #: ../Doc/whatsnew/3.5.rst:2469 msgid "" ":pep:`488` has removed ``.pyo`` files from Python and introduced the " -"optional ``opt-`` tag in ``.pyc`` file names. The :func:`importlib.util." -"cache_from_source` has gained an *optimization* parameter to help control " -"the ``opt-`` tag. Because of this, the *debug_override* parameter of the " -"function is now deprecated. ``.pyo`` files are also no longer supported as a " -"file argument to the Python interpreter and thus serve no purpose when " -"distributed on their own (i.e. sourceless code distribution). Due to the " -"fact that the magic number for bytecode has changed in Python 3.5, all old " -"``.pyo`` files from previous versions of Python are invalid regardless of " -"this PEP." +"optional ``opt-`` tag in ``.pyc`` file names. " +"The :func:`importlib.util.cache_from_source` has gained an *optimization* " +"parameter to help control the ``opt-`` tag. Because of this, the " +"*debug_override* parameter of the function is now deprecated. ``.pyo`` files " +"are also no longer supported as a file argument to the Python interpreter " +"and thus serve no purpose when distributed on their own (i.e. sourceless " +"code distribution). Due to the fact that the magic number for bytecode has " +"changed in Python 3.5, all old ``.pyo`` files from previous versions of " +"Python are invalid regardless of this PEP." msgstr "" ":pep:`488` eliminó los archivos ``.pyo`` de Python e introdujo la etiqueta " -"opcional ``opt-`` en los nombres de archivo ``.pyc``. El :func:`importlib." -"util.cache_from_source` ha obtenido un parámetro *optimization* para ayudar " -"a controlar la etiqueta ``opt-``. Debido a esto, el parámetro " -"*debug_override* de la función ahora está en desuso. Los archivos ``.pyo`` " -"ya no se admiten como argumento de archivo para el intérprete de Python y, " -"por lo tanto, no sirven para nada cuando se distribuyen por sí solos (es " -"decir, distribución de código sin código fuente). Debido al hecho de que el " -"número mágico para el código de bytes ha cambiado en Python 3.5, todos los " -"archivos ``.pyo`` antiguos de versiones anteriores de Python no son válidos " -"independientemente de este PEP." +"opcional ``opt-`` en los nombres de archivo ``.pyc``. " +"El :func:`importlib.util.cache_from_source` ha obtenido un parámetro " +"*optimization* para ayudar a controlar la etiqueta ``opt-``. Debido a esto, " +"el parámetro *debug_override* de la función ahora está en desuso. Los " +"archivos ``.pyo`` ya no se admiten como argumento de archivo para el " +"intérprete de Python y, por lo tanto, no sirven para nada cuando se " +"distribuyen por sí solos (es decir, distribución de código sin código " +"fuente). Debido al hecho de que el número mágico para el código de bytes ha " +"cambiado en Python 3.5, todos los archivos ``.pyo`` antiguos de versiones " +"anteriores de Python no son válidos independientemente de este PEP." #: ../Doc/whatsnew/3.5.rst:2480 -#, fuzzy msgid "" "The :mod:`socket` module now exports the :const:`~socket.CAN_RAW_FD_FRAMES` " "constant on linux 3.6 and greater." msgstr "" -"Ahora el módulo :mod:`socket` exporta la constante :data:`~socket." -"CAN_RAW_FD_FRAMES` en Linux 3.6 y versiones superiores." +"El módulo :mod:`socket` ahora exporta la " +"constante :const:`~socket.CAN_RAW_FD_FRAMES` en Linux 3.6 y superior." #: ../Doc/whatsnew/3.5.rst:2483 msgid "" @@ -4911,8 +5158,8 @@ msgid "" msgstr "" "Ahora la función :func:`ssl.cert_time_to_seconds` interpreta la hora de " "entrada como UTC y no como hora local, por :rfc:`5280`. Además, el valor de " -"retorno siempre es un :class:`int`. (Contribución de Akira Li en :issue:" -"`19940`.)" +"retorno siempre es un :class:`int`. (Contribución de Akira Li " +"en :issue:`19940`.)" #: ../Doc/whatsnew/3.5.rst:2487 msgid "" @@ -4923,18 +5170,17 @@ msgstr "" "zonas horarias en el encabezado POT-Creation-Date." #: ../Doc/whatsnew/3.5.rst:2490 -#, fuzzy msgid "" "The :mod:`smtplib` module now uses :data:`sys.stderr` instead of the " "previous module-level :data:`!stderr` variable for debug output. If your " "(test) program depends on patching the module-level variable to capture the " "debug output, you will need to update it to capture sys.stderr instead." msgstr "" -"Ahora el módulo :mod:`smtplib` usa :data:`sys.stderr` en lugar de la " -"variable anterior de nivel de módulo :data:`stderr` para la salida de " -"depuración. Si tu programa (de prueba) depende de parchear la variable de " -"nivel de mundo para capturar la salida de depuración, necesitarás " -"actualizarlo para capturar sys.stderr en su lugar." +"El módulo :mod:`smtplib` ahora usa :data:`sys.stderr` en lugar de la " +"variable :data:`!stderr` de nivel de módulo anterior para la salida de " +"depuración. Si su programa (de prueba) depende de parchear la variable a " +"nivel de módulo para capturar la salida de depuración, deberá actualizarlo " +"para capturar sys.stderr." #: ../Doc/whatsnew/3.5.rst:2495 msgid "" @@ -4944,8 +5190,8 @@ msgid "" msgstr "" "Los métodos :meth:`str.startswith` y :meth:`str.endswith` ya no retornan " "``True`` cuando encuentran la cadena de caracteres vacía y los índices están " -"completamente fuera de rango. (Contribución de Serhiy Storchaka en :issue:" -"`24284`.)" +"completamente fuera de rango. (Contribución de Serhiy Storchaka " +"en :issue:`24284`.)" #: ../Doc/whatsnew/3.5.rst:2499 msgid "" @@ -4954,93 +5200,91 @@ msgid "" "duplicated if the inherited documentation is appropriate. To suppress an " "inherited string, an empty string must be specified (or the documentation " "may be filled in). This change affects the output of the :mod:`pydoc` " -"module and the :func:`help` function. (Contributed by Serhiy Storchaka in :" -"issue:`15582`.)" +"module and the :func:`help` function. (Contributed by Serhiy Storchaka " +"in :issue:`15582`.)" msgstr "" "Ahora la función :func:`inspect.getdoc` retorna cadenas de documentación que " "se heredaron de clases base. Ya no es necesario duplicar las cadenas de " "documentación si la documentación que se heredó es apropiada. Para suprimir " "una cadena que se heredó, se debe especificar una cadena vacía (o se puede " -"completar la documentación). Este cambio afecta la salida del módulo :mod:" -"`pydoc` y la función :func:`help`. (Contribución de Serhiy Storchaka en :" -"issue:`15582`.)" +"completar la documentación). Este cambio afecta la salida del " +"módulo :mod:`pydoc` y la función :func:`help`. (Contribución de Serhiy " +"Storchaka en :issue:`15582`.)" #: ../Doc/whatsnew/3.5.rst:2507 msgid "" "Nested :func:`functools.partial` calls are now flattened. If you were " -"relying on the previous behavior, you can now either add an attribute to a :" -"func:`functools.partial` object or you can create a subclass of :func:" -"`functools.partial`. (Contributed by Alexander Belopolsky in :issue:`7830`.)" +"relying on the previous behavior, you can now either add an attribute to " +"a :func:`functools.partial` object or you can create a subclass " +"of :func:`functools.partial`. (Contributed by Alexander Belopolsky " +"in :issue:`7830`.)" msgstr "" "Ahora las llamadas anidadas :func:`functools.partial` se aplanan. Si se " "confiaba en el comportamiento anterior, ahora se puede agregar un atributo a " -"un objeto :func:`functools.partial` o se puede crear una subclase de :func:" -"`functools.partial`. (Contribución de Alexander Belopolsky en :issue:`7830`.)" +"un objeto :func:`functools.partial` o se puede crear una subclase " +"de :func:`functools.partial`. (Contribución de Alexander Belopolsky " +"en :issue:`7830`.)" #: ../Doc/whatsnew/3.5.rst:2514 msgid "Changes in the C API" msgstr "Cambios en la API de C" #: ../Doc/whatsnew/3.5.rst:2516 -#, fuzzy msgid "" "The undocumented :c:member:`!format` member of the (non-public) :c:type:`!" "PyMemoryViewObject` structure has been removed. All extensions relying on " "the relevant parts in ``memoryobject.h`` must be rebuilt." msgstr "" -"Se eliminó el miembro no documentado :c:member:`~PyMemoryViewObject.format` " -"de la estructura (no pública) :c:type:`PyMemoryViewObject`. Todas las " -"extensiones que se basan en las partes relevantes en ``memoryobject.h`` se " -"debe recompilar." +"Se ha eliminado el miembro :c:member:`!format` no documentado de la " +"estructura (no pública) :c:type:`!PyMemoryViewObject`. Se deben reconstruir " +"todas las extensiones que dependen de las partes relevantes de " +"``memoryobject.h``." #: ../Doc/whatsnew/3.5.rst:2521 -#, fuzzy msgid "" -"The :c:type:`!PyMemAllocator` structure was renamed to :c:type:" -"`PyMemAllocatorEx` and a new ``calloc`` field was added." +"The :c:type:`!PyMemAllocator` structure was renamed " +"to :c:type:`PyMemAllocatorEx` and a new ``calloc`` field was added." msgstr "" -"La estructura :c:type:`PyMemAllocator` se renombró a :c:type:" -"`PyMemAllocatorEx` y se agregó un nuevo campo ``calloc``." +"Se cambió el nombre de la estructura :c:type:`!PyMemAllocator` " +"a :c:type:`PyMemAllocatorEx` y se agregó un nuevo campo ``calloc``." #: ../Doc/whatsnew/3.5.rst:2524 -#, fuzzy msgid "" "Removed non-documented macro :c:macro:`!PyObject_REPR()` which leaked " "references. Use format character ``%R`` in :c:func:`PyUnicode_FromFormat`-" "like functions to format the :func:`repr` of the object. (Contributed by " "Serhiy Storchaka in :issue:`22453`.)" msgstr "" -"Se eliminó la macro no documentada :c:macro:`PyObject_REPR` que filtró " -"referencias. Usar el carácter de formato ``%R`` en funciones similares a :c:" -"func:`PyUnicode_FromFormat` para formatear :func:`repr` del objeto. " -"(Contribución de Serhiy Storchaka en :issue:`22453`.)" +"Se eliminó la macro :c:macro:`!PyObject_REPR()` no documentada que filtraba " +"referencias. Utilice el carácter de formato ``%R`` en funciones similares " +"a :c:func:`PyUnicode_FromFormat` para formatear el :func:`repr` del objeto. " +"(Aportado por Serhiy Storchaka en :issue:`22453`.)" #: ../Doc/whatsnew/3.5.rst:2529 -#, fuzzy msgid "" "Because the lack of the :attr:`~type.__module__` attribute breaks pickling " "and introspection, a deprecation warning is now raised for builtin types " -"without the :attr:`~type.__module__` attribute. This will be an :exc:" -"`AttributeError` in the future. (Contributed by Serhiy Storchaka in :issue:" -"`20204`.)" +"without the :attr:`~type.__module__` attribute. This will be " +"an :exc:`AttributeError` in the future. (Contributed by Serhiy Storchaka " +"in :issue:`20204`.)" msgstr "" -"Debido a que la falta del atributo :attr:`__module__` rompe pickling y la " -"introspección, ahora se lanza una advertencia de deprecación para los tipos " -"integrados sin el atributo :attr:`__module__`. Este sería un AttributeError " -"en el futuro. (Contribución de Serhiy Storchaka en :issue:`20204`.)" +"Debido a que la falta del atributo :attr:`~type.__module__` interrumpe el " +"decapado y la introspección, ahora se genera una advertencia de " +"obsolescencia para los tipos integrados sin el " +"atributo :attr:`~type.__module__`. Este será un :exc:`AttributeError` en el " +"futuro. (Aportado por Serhiy Storchaka en :issue:`20204`.)" #: ../Doc/whatsnew/3.5.rst:2535 -#, fuzzy msgid "" -"As part of the :pep:`492` implementation, the ``tp_reserved`` slot of :c:" -"type:`PyTypeObject` was replaced with a :c:member:`~PyTypeObject." -"tp_as_async` slot. Refer to :ref:`coro-objects` for new types, structures " -"and functions." +"As part of the :pep:`492` implementation, the ``tp_reserved`` slot " +"of :c:type:`PyTypeObject` was replaced with " +"a :c:member:`~PyTypeObject.tp_as_async` slot. Refer to :ref:`coro-objects` " +"for new types, structures and functions." msgstr "" -"Como parte de la implementación de :pep:`492`, el espacio ``tp_reserved`` " -"de :c:type:`PyTypeObject` se reemplazó con un espacio :c:member:" -"`tp_as_async`. Consultar :ref:`coro-objects` para nuevos tipos, estructuras " -"y funciones." +"Como parte de la implementación de :pep:`492`, la ranura ``tp_reserved`` " +"de :c:type:`PyTypeObject` se reemplazó por una " +"ranura :c:member:`~PyTypeObject.tp_as_async`. Consulte :ref:`coro-objects` " +"para conocer nuevos tipos, estructuras y funciones." #: ../Doc/whatsnew/3.5.rst:2542 msgid "Notable changes in Python 3.5.4" @@ -5076,11 +5320,11 @@ msgstr "" #: ../Doc/whatsnew/3.5.rst:2556 msgid "" -"More selective regeneration targets are also defined - see :source:`Makefile." -"pre.in` for details." +"More selective regeneration targets are also defined - " +"see :source:`Makefile.pre.in` for details." msgstr "" -"También se definen objetivos de regeneración más selectivos - consultar :" -"source:`Makefile.pre.in` para más detalles." +"También se definen objetivos de regeneración más selectivos - " +"consultar :source:`Makefile.pre.in` para más detalles." #: ../Doc/whatsnew/3.5.rst:2559 ../Doc/whatsnew/3.5.rst:2572 msgid "(Contributed by Victor Stinner in :issue:`23404`.)" @@ -5108,8 +5352,8 @@ msgstr "Se reemplazó por el nuevo objetivo ``make regen-all``." #~ "The :meth:`SSLSocket.send() ` method now raises " #~ "either the :exc:`ssl.SSLWantReadError` or :exc:`ssl.SSLWantWriteError` " #~ "exception on a non-blocking socket if the operation would block. " -#~ "Previously, it would return ``0``. (Contributed by Nikolaus Rath in :" -#~ "issue:`20951`.)" +#~ "Previously, it would return ``0``. (Contributed by Nikolaus Rath " +#~ "in :issue:`20951`.)" #~ msgstr "" #~ "Ahora el método :meth:`SSLSocket.send() ` lanza la " #~ "excepción :exc:`ssl.SSLWantReadError` o :exc:`ssl.SSLWantWriteError` en "