8000 Translate whatsnew/3.0 · python/python-docs-es@484fcb6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 484fcb6

Browse files
committed
Translate whatsnew/3.0
Closes #3173
1 parent aa4594d commit 484fcb6

File tree

1 file changed

+32
-105
lines changed

1 file changed

+32
-105
lines changed

whatsnew/3.0.po

Lines changed: 32 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,28 @@ msgid ""
129129
"Old: print (x, y) # prints repr((x, y))\n"
130130
"New: print((x, y)) # Not the same as print(x, y)!"
131131
msgstr ""
132+
"Old: print \"The answer is\", 2*2\n"
133+
"New: print(\"The answer is\", 2*2)\n"
134+
"\n"
135+
"Old: print x, # Trailing comma suppresses newline\n"
136+
"New: print(x, end=\" \") # Appends a space instead of a newline\n"
137+
"\n"
138+
"Old: print # Prints a newline\n"
139+
"New: print() # You must call the function!\n"
140+
"\n"
141+
"Old: print >>sys.stderr, \"fatal error\"\n"
142+
"New: print(\"fatal error\", file=sys.stderr)\n"
143+
"\n"
144+
"Old: print (x, y) # prints repr((x, y))\n"
145+
"New: print((x, y)) # Not the same as print(x, y)!"
132146

133147
#: ../Doc/whatsnew/3.0.rst:116
134148
msgid "You can also customize the separator between items, e.g.::"
135149
msgstr "También se puede personalizar el separador entre ítems, por ejemplo::"
136150

137151
#: ../Doc/whatsnew/3.0.rst:118
138152
msgid "print(\"There are <\", 2**32, \"> possibilities!\", sep=\"\")"
139-
msgstr ""
153+
msgstr "print(\"There are <\", 2**32, \"> possibilities!\", sep=\"\")"
140154

141155
#: ../Doc/whatsnew/3.0.rst:120
142156
msgid "which produces:"
@@ -611,13 +625,12 @@ msgstr ""
611625
"excepción de nombres de colaboradores en comentarios.)"
612626

613627
#: ../Doc/whatsnew/3.0.rst:340
614-
#, fuzzy
615628
msgid ""
616629
"The :mod:`!StringIO` and :mod:`!cStringIO` modules are gone. Instead, "
617630
"import the :mod:`io` module and use :class:`io.StringIO` or :class:`io."
618631
"BytesIO` for text and data respectively."
619632
msgstr ""
620-
"Los módulos :mod:`StringIO` and :mod:`cStringIO` ya no están. En su lugar, "
633+
"Los módulos :mod:`!StringIO` and :mod:`!cStringIO` ya no están. En su lugar, "
621634
"se importa el módulo the :mod:`io` y se usa :class:`io.StringIO` o :class:"
622635
"`io.BytesIO` para texto y datos respectivamente."
623636

@@ -1089,7 +1102,6 @@ msgstr ""
10891102
"revisión de cápsula:"
10901103

10911104
#: ../Doc/whatsnew/3.0.rst:558
1092-
#, fuzzy
10931105
msgid ""
10941106
"Many old modules were removed. Some, like :mod:`!gopherlib` (no longer "
10951107
"used) and :mod:`!md5` (replaced by :mod:`hashlib`), were already deprecated "
@@ -1098,29 +1110,15 @@ msgid ""
10981110
"modules were also selected for removal in Python 3.0 due to lack of use or "
10991111
"because a better replacement exists. See :pep:`3108` for an exhaustive list."
11001112
msgstr ""
1101-
"Se eliminaron muchos módulos antiguos. Algunos, como :mod:`gopherlib` (ya no "
1102-
"se usa) y :mod:`md5` (reemplazado por :mod:`hashlib`), ya estaban en desuso "
1103-
"por :pep:`4`. Otros fueron eliminados como resultado de la eliminación de "
1104-
"soporte para varias plataformas como Irix, BeOS y Mac OS 9 (ver :pep:`11`). "
1105-
"Algunos módulos también fueron seleccionados para su eliminación en Python "
1106-
"3.0 debido a la falta de uso o porque existe un mejor reemplazo. Consultar :"
1107-
"pep:`3108` para obtener una lista exhaustiva."
11081113

11091114
#: ../Doc/whatsnew/3.0.rst:566
1110-
#, fuzzy
11111115
msgid ""
11121116
"The :mod:`!bsddb3` package was removed because its presence in the core "
11131117
"standard library has proved over time to be a particular burden for the core "
11141118
"developers due to testing instability and Berkeley DB's release schedule. "
11151119
"However, the package is alive and well, externally maintained at https://www."
11161120
"jcea.es/programacion/pybsddb.htm."
11171121
msgstr ""
1118-
"El paquete :mod:`bsddb3` fue eliminado porque su presencia en la biblioteca "
1119-
"estándar principal ha demostrado con el tiempo ser una particular carga para "
1120-
"los desarrolladores principales, debido a la inestabilidad de las pruebas y "
1121-
"la programación del lanzamiento de Berkeley DB. Sin embargo, el paquete está "
1122-
"vivo y bien, mantenido externamente en https://www.jcea.es/programacion/"
1123-
"pybsddb.htm."
11241122

11251123
#: ../Doc/whatsnew/3.0.rst:572
11261124
msgid ""
@@ -1203,7 +1201,6 @@ msgid "test.support"
12031201
msgstr "test.support"
12041202

12051203
#: ../Doc/whatsnew/3.0.rst:588
1206-
#, fuzzy
12071204
msgid ""
12081205
"A common pattern in Python 2.x is to have one version of a module "
12091206
"implemented in pure Python, with an optional accelerated version implemented "
@@ -1217,17 +1214,6 @@ msgid ""
12171214
"The :mod:`profile` module is on the list for 3.1. The :mod:`!StringIO` "
12181215
"module has been turned into a class in the :mod:`io` module."
12191216
msgstr ""
1220-
"Un patrón común en Python 2.x es tener una versión de un módulo implementado "
1221-
"en Python puro, con una versión acelerada opcional implementada como una "
1222-
"extensión C; por ejemplo, :mod:`pickle` y :mod:`cPickle`. Esto coloca la "
1223-
"carga de importar la versión acelerada y volver a caer en la versión de "
1224-
"Python pura en cada usuario de estos módulos. En Python 3.0, las versiones "
1225-
"aceleradas se consideran detalles de implementación de las versiones puras "
1226-
"de Python. Los usuarios siempre deberían importar la versión estándar, que "
1227-
"intenta importar la versión acelerada y vuelve a la versión de Python pura. "
1228-
"El par :mod:`pickle` / :mod:`cPickle` recibió este tratamiento. El módulo :"
1229-
"mod:`profile` está en la lista para 3.1. El módulo :mod:`StringIO` se ha "
1230-
"convertido en una clase en el módulo :mod:`io`."
12311217

12321218
#: ../Doc/whatsnew/3.0.rst:602
12331219
msgid ""
@@ -1239,27 +1225,24 @@ msgstr ""
12391225
"resultantes son:"
12401226

12411227
#: ../Doc/whatsnew/3.0.rst:606
1242-
#, fuzzy
12431228
msgid ""
12441229
":mod:`dbm` (:mod:`!anydbm`, :mod:`!dbhash`, :mod:`!dbm`, :mod:`!dumbdbm`, :"
12451230
"mod:`!gdbm`, :mod:`!whichdb`)."
12461231
msgstr ""
1247-
":mod:`dbm` (:mod:`anydbm`, :mod:`dbhash`, :mod:`dbm`, :mod:`dumbdbm`, :mod:"
1248-
"`gdbm`, :mod:`whichdb`)."
1232+
":mod:`dbm` (:mod:`!anydbm`, :mod:`!dbhash`, :mod:`!dbm`, :mod:`!dumbdbm`, :mod:"
1233+
"`!gdbm`, :mod:`!whichdb`)."
12491234

12501235
#: ../Doc/whatsnew/3.0.rst:609
1251-
#, fuzzy
12521236
msgid ":mod:`html` (:mod:`!HTMLParser`, :mod:`!htmlentitydefs`)."
1253-
msgstr ":mod:`html` (:mod:`HTMLParser`, :mod:`htmlentitydefs`)."
1237+
msgstr ":mod:`html` (:mod:`!HTMLParser`, :mod:`!htmlentitydefs`)."
12541238

12551239
#: ../Doc/whatsnew/3.0.rst:611
1256-
#, fuzzy
12571240
msgid ""
12581241
":mod:`http` (:mod:`!httplib`, :mod:`!BaseHTTPServer`, :mod:`!"
12591242
"CGIHTTPServer`, :mod:`!SimpleHTTPServer`, :mod:`!Cookie`, :mod:`!cookielib`)."
12601243
msgstr ""
1261-
":mod:`http` (:mod:`httplib`, :mod:`BaseHTTPServer`, :mod:`CGIHTTPServer`, :"
1262-
"mod:`SimpleHTTPServer`, :mod:`Cookie`, :mod:`cookielib`)."
1244+
":mod:`http` (:mod:`!httplib`, :mod:`!BaseHTTPServer`, :mod:`!CGIHTTPServer`, :"
1245+
"mod:`!SimpleHTTPServer`, :mod:`!Cookie`, :mod:`!cookielib`)."
12631246

12641247
#: ../Doc/whatsnew/3.0.rst:615
12651248
msgid ""
@@ -1274,22 +1257,20 @@ msgstr ""
12741257
"2.6, la funcionalidad de :mod:`turtle` se ha mejorado considerablemente."
12751258

12761259
#: ../Doc/whatsnew/3.0.rst:620
1277-
#, fuzzy
12781260
msgid ""
12791261
":mod:`urllib` (:mod:`!urllib`, :mod:`!urllib2`, :mod:`!urlparse`, :mod:`!"
12801262
"robotparse`)."
12811263
msgstr ""
1282-
":mod:`urllib` (:mod:`urllib`, :mod:`urllib2`, :mod:`urlparse`, :mod:"
1283-
"`robotparse`)."
1264+
":mod:`urllib` (:mod:`!urllib`, :mod:`!urllib2`, :mod:`!urlparse`, :mod:"
1265+
"`!robotparse`)."
12841266

12851267
#: ../Doc/whatsnew/3.0.rst:623
1286-
#, fuzzy
12871268
msgid ""
12881269
":mod:`xmlrpc` (:mod:`!xmlrpclib`, :mod:`!DocXMLRPCServer`, :mod:`!"
12891270
"SimpleXMLRPCServer`)."
12901271
msgstr ""
1291-
":mod:`xmlrpc` (:mod:`xmlrpclib`, :mod:`DocXMLRPCServer`, :mod:"
1292-
"`SimpleXMLRPCServer`)."
1272+
":mod:`xmlrpc` (:mod:`!xmlrpclib`, :mod:`!DocXMLRPCServer`, :mod:"
1273+
"`!SimpleXMLRPCServer`)."
12931274

12941275
#: ../Doc/whatsnew/3.0.rst:626
12951276
msgid ""
@@ -1299,9 +1280,8 @@ msgstr ""
12991280
"por :pep:`3108`:"
13001281

13011282
#: ../Doc/whatsnew/3.0.rst:629
1302-
#, fuzzy
13031283
msgid "Killed :mod:`!sets`. Use the built-in :func:`set` class."
1304-
msgstr "Quitado :mod:`sets`. Usar la clase incorporada :func:`set`."
1284+
msgstr "Quitado :mod:`!sets`. Usar la clase incorporada :func:`set`."
13051285

13061286
#: ../Doc/whatsnew/3.0.rst:631
13071287
msgid ""
@@ -1334,24 +1314,19 @@ msgstr ""
13341314
"func:`isCallable`."
13351315

13361316
#: ../Doc/whatsnew/3.0.rst:645
1337-
#, fuzzy
13381317
msgid ""
13391318
"Cleanup of the :mod:`!thread` module: :func:`!acquire_lock` and :func:`!"
13401319
"release_lock` are gone; use :meth:`~threading.Lock.acquire` and :meth:"
13411320
"`~threading.Lock.release` instead."
13421321
msgstr ""
1343-
"Limpieza del módulo :mod:`thread`: :func:`acquire_lock` y :func:"
1344-
"`release_lock` ya no están; utilizar :func:`acquire` y :func:`release` en su "
1345-
"lugar."
13461322

13471323
#: ../Doc/whatsnew/3.0.rst:649
13481324
msgid "Cleanup of the :mod:`random` module: removed the :func:`jumpahead` API."
13491325
msgstr "Limpieza del módulo :mod:`random`: quitada la API :func:`jumpahead`."
13501326

13511327
#: ../Doc/whatsnew/3.0.rst:651
1352-
#, fuzzy
13531328
msgid "The :mod:`!new` module is gone."
1354-
msgstr "El módulo :mod:`new` ya no está."
1329+
msgstr "El módulo :mod:`!new` ya no está."
13551330

13561331
#: ../Doc/whatsnew/3.0.rst:653
13571332
msgid ""
@@ -1472,19 +1447,13 @@ msgstr ""
14721447
"attr:`args` en su lugar."
14731448

14741449
#: ../Doc/whatsnew/3.0.rst:710
1475-
#, fuzzy
14761450
msgid ""
14771451
":pep:`3109`: Raising exceptions. You must now use :samp:`raise {Exception}"
14781452
"({args})` instead of :samp:`raise {Exception}, {args}`. Additionally, you "
14791453
"can no longer explicitly specify a traceback; instead, if you *have* to do "
14801454
"this, you can assign directly to the :attr:`~BaseException.__traceback__` "
14811455
"attribute (see below)."
14821456
msgstr ""
1483-
":pep:`3109`: Lanzando excepciones. Ahora se debe usar :samp:`raise "
1484-
"{Exception}({args})` en lugar de :samp:`raise {Exception}, {args}`. "
1485-
"Adicionalmente, ya no se puede especificar explícitamente un traceback; en "
1486-
"su lugar, si se *debe* hacer esto, se puede asignar directamente al "
1487-
"atributo :attr:`__traceback__` (ver debajo)."
14881457

14891458
#: ../Doc/whatsnew/3.0.rst:716
14901459
msgid ""
@@ -1499,7 +1468,6 @@ msgstr ""
14991468
"eliminada cuando el bloque :keyword:`except` se deja."
15001469

15011470
#: ../Doc/whatsnew/3.0.rst:722
1502-
#, fuzzy
15031471
msgid ""
15041472
":pep:`3134`: Exception chaining. There are two cases: implicit chaining and "
15051473
"explicit chaining. Implicit chaining happens when an exception is raised in "
@@ -1509,21 +1477,12 @@ msgid ""
15091477
"saved as the :attr:`~BaseException.__context__` attribute of the secondary "
15101478
"exception. Explicit chaining is invoked with this syntax::"
15111479
msgstr ""
1512-
":pep:`3134`: Encadenamiento de excepciones. Hay dos casos: encadenamiento "
1513-
"implícito y encadenamiento explícito. El encadenamiento implícito se produce "
1514-
"cuando se lanza una excepción en un bloque de controlador :keyword:`except` "
1515-
"o :keyword:`finally`. Esto suele ocurrir debido a un error en el bloque de "
1516-
"controlador; llamamos a esto una excepción *secundaria*. En este caso, la "
1517-
"excepción original (que se estaba controlando) se guarda como el atributo :"
1518-
"attr:`__context__` de la excepción secundaria. El encadenamiento explícito "
1519-
"se invoca con esta sintaxis:"
15201480

15211481
#: ../Doc/whatsnew/3.0.rst:731
15221482
msgid "raise SecondaryException() from primary_exception"
15231483
msgstr ""
15241484

15251485
#: ../Doc/whatsnew/3.0.rst:733
1526-
#, fuzzy
15271486
msgid ""
15281487
"(where *primary_exception* is any expression that produces an exception "
15291488
"object, probably an exception that was previously caught). In this case, the "
@@ -1534,28 +1493,15 @@ msgid ""
15341493
"each component of the chain, with the primary exception at the top. (Java "
15351494
"users may recognize this behavior.)"
15361495
msgstr ""
1537-
"(donde *primary_exception* es cualquier expresión que produce un objeto de "
1538-
"excepción, probablemente una excepción que se detectó anteriormente). En "
1539-
"este caso, la excepción principal se almacena en el atributo :attr:"
1540-
"`__cause__` de la excepción secundaria. El traceback impreso recorre la "
1541-
"cadena de atributos :attr:`__cause__` y :attr:`__context__` cuando se "
1542-
"produce una excepción no controlada e imprime un traceback independiente "
1543-
"para cada componente de la cadena, con la excepción principal en la parte "
1544-
"superior. (Los usuarios de Java pueden reconocer este comportamiento.)"
15451496

15461497
#: ../Doc/whatsnew/3.0.rst:743
1547-
#, fuzzy
15481498
msgid ""
15491499
":pep:`3134`: Exception objects now store their traceback as the :attr:"
15501500
"`~BaseException.__traceback__` attribute. This means that an exception "
15511501
"object now contains all the information pertaining to an exception, and "
15521502
"there are fewer reasons to use :func:`sys.exc_info` (though the latter is "
15531503
"not removed)."
15541504
msgstr ""
1555-
":pep:`3134`: Los objetos de excepción ahora almacenan su traceback como el "
1556-
"atributo :attr:`__traceback__`. Esto significa que un objeto de excepción "
1557-
"ahora contiene toda la información relativa a una excepción y hay menos "
1558-
"razones para usar :func:`sys.exc_info` (aunque este último no se quita)."
15591505

15601506
#: ../Doc/whatsnew/3.0.rst:749
15611507
msgid ""
@@ -1629,7 +1575,6 @@ msgid "Removed support for :attr:`__members__` and :attr:`__methods__`."
16291575
msgstr "Soporte eliminado para :attr:`__members__` y :attr:`__methods__`."
16301576

16311577
#: ../Doc/whatsnew/3.0.rst:783
1632-
#, fuzzy
16331578
msgid ""
16341579
"The function attributes named :attr:`!func_X` have been renamed to use the :"
16351580
"attr:`!__X__` form, freeing up these names in the function attribute "
@@ -1640,19 +1585,10 @@ msgid ""
16401585
"__defaults__`, :attr:`~function.__dict__`, :attr:`~function.__doc__`, :attr:"
16411586
"`~function.__globals__`, :attr:`~function.__name__`, respectively."
16421587
msgstr ""
1643-
"Se ha cambiado el nombre de los atributos de función denominados :attr:"
1644-
"`func_X` para utilizar el formulario :data:`__X__`, liberando estos nombres "
1645-
"en el espacio de nombres de atributo de función para los atributos definidos "
1646-
"por el usuario. Es decir, :attr:`func_closure`, :attr:`func_code`, :attr:"
1647-
"`func_defaults`, :attr:`func_dict`, :attr:`func_doc`, :attr:`func_globals`, :"
1648-
"attr:`func_name` se renombraron a :attr:`__closure__`, :attr:`__code__`, :"
1649-
"attr:`__defaults__`, :attr:`~object.__dict__`, :attr:`__doc__`, :attr:"
1650-
"`__globals__`, :attr:`~definition.__name__`, respectivamente."
16511588

16521589
#: ../Doc/whatsnew/3.0.rst:794
1653-
#, fuzzy
16541590
msgid ":meth:`!__nonzero__` is now :meth:`~object.__bool__`."
1655-
msgstr ":meth:`__nonzero__` ahora es :meth:`__bool__`."
1591+
msgstr ":meth:`!__nonzero__` ahora es :meth:`~object.__bool__`."
16561592

16571593
#: ../Doc/whatsnew/3.0.rst:797
16581594
msgid "Builtins"
@@ -1769,9 +1705,8 @@ msgstr ""
17691705
"keyword:`for` explícito es más legible."
17701706

17711707
#: ../Doc/whatsnew/3.0.rst:845
1772-
#, fuzzy
17731708
msgid "Removed :func:`reload`. Use :func:`!imp.reload`."
1774-
msgstr "Se eliminó :func:`reload`. Se utiliza :func:`imp.reload`."
1709+
msgstr "Se eliminó :func:`reload`. Se utiliza :func:`!imp.reload`."
17751710

17761711
#: ../Doc/whatsnew/3.0.rst:847
17771712
msgid ""
@@ -1817,13 +1752,12 @@ msgid "No more C API support for restricted execution."
18171752
msgstr "No más compatibilidad con API C para ejecución restringida."
18181753

18191754
#: ../Doc/whatsnew/3.0.rst:870
1820-
#, fuzzy
18211755
msgid ""
18221756
":c:func:`!PyNumber_Coerce`, :c:func:`!PyNumber_CoerceEx`, :c:func:`!"
18231757
"PyMember_Get`, and :c:func:`!PyMember_Set` C APIs are removed."
18241758
msgstr ""
1825-
"Las API C :c:func:`PyNumber_Coerce`, :c:func:`PyNumber_CoerceEx`, :c:func:"
1826-
"`PyMember_Get`, y :c:func:`PyMember_Set` se eliminan."
1759+
"Las API C :c:func:`!PyNumber_Coerce`, :c:func:`!PyNumber_CoerceEx`, :c:func:"
1760+
"`!PyMember_Get`, y :c:func:`!PyMember_Set` se eliminan."
18271761

18281762
#: ../Doc/whatsnew/3.0.rst:873
18291763
msgid ""
@@ -1844,12 +1778,11 @@ msgstr ""
18441778
"``nb_nonzero`` ahora es ``nb_bool``."
18451779

18461780
#: ../Doc/whatsnew/3.0.rst:880
1847-
#, fuzzy
18481781
msgid ""
18491782
"Removed :c:macro:`!METH_OLDARGS` and :c:macro:`!WITH_CYCLE_GC` from the C "
18501783
"API."
18511784
msgstr ""
1852-
"Se eliminó :c:macro:`METH_OLDARGS` y :c:macro:`WITH_CYCLE_GC` de la API C."
1785+
"Se eliminó :c:macro:`!METH_OLDARGS` y :c:macro:`!WITH_CYCLE_GC` de la API C."
18531786

18541787
#: ../Doc/whatsnew/3.0.rst:886
18551788
msgid "Performance"
@@ -1908,17 +1841,11 @@ msgstr ""
19081841
"advertencias y todas las pruebas sigan pasando."
19091842

19101843
#: ../Doc/whatsnew/3.0.rst:915
1911-
#, fuzzy
19121844
msgid ""
19131845
"Run the ``2to3`` source-to-source translator over your source code tree. "
19141846
"Run the result of the translation under Python 3.0. Manually fix up any "
19151847
"remaining issues, fixing problems until all tests pass again."
19161848
msgstr ""
1917-
"Ejecutar el traductor de origen a origen ``2to3`` sobre el árbol de código "
1918-
"fuente. (Consultar :ref:`2to3-reference` para obtener más información sobre "
1919-
"esta herramienta.) Ejecutar el resultado de la traducción en Python 3.0. "
1920-
"Corregir manualmente los problemas restantes, solucionando problemas hasta "
1921-
"que todos las pruebas vuelvan a pasar."
19221849

19231850
#: ../Doc/whatsnew/3.0.rst:920
19241851
msgid ""

0 commit comments

Comments
 (0)
0