Skip to content

Commit a04e0ca

Browse files
authored
Merge branch 'python:3.10' into traduccion-library/pdb
2 parents 432481c + 128e038 commit a04e0ca

File tree

4 files changed

+183
-646
lines changed

4 files changed

+183
-646
lines changed

c-api/gcsupport.po

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
14-
"PO-Revision-Date: 2021-08-02 01:45+0200\n"
14+
"PO-Revision-Date: 2021-10-26 08:09+0200\n"
1515
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.9.1\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/c-api/gcsupport.rst:6
2526
msgid "Supporting Cyclic Garbage Collection"
@@ -92,6 +93,9 @@ msgid ""
9293
"c:member:`~PyTypeObject.tp_traverse` handler or explicitly use one from its "
9394
"subclass or subclasses."
9495
msgstr ""
96+
"Si un tipo añade el Py_TPFLAGS_HAVE_GC, entonces *must* implementar al menos "
97+
"un manejado :c:member:`~PyTypeObject.tp_traverse` o usar explícitamente uno "
98+
"de su subclase o subclases."
9599

96100
#: ../Doc/c-api/gcsupport.rst:41
97101
msgid ""
@@ -103,6 +107,13 @@ msgid ""
103107
"implements the garbage collector protocol and the child class does *not* "
104108
"include the :const:`Py_TPFLAGS_HAVE_GC` flag."
105109
msgstr ""
110+
"Al llamar a :c:func:`PyType_Ready` o alguna de las APIs que indirectamente "
111+
"lo llaman como :c:func:`PyType_FromSpecWithBases` o :c:func:"
112+
"`PyType_FromSpec` el intérprete automáticamente llenara los campos :c:member:"
113+
"`~PyTypeObject.tp_flags`, :c:member:`~PyTypeObject.tp_traverse` y :c:member:"
114+
"`~PyTypeObject.tp_clear` si el tipo si el tipo hereda de una clase que "
115+
"implementa el protocolo del recolector de basura y la clase secundaria *no* "
116+
"incluye el *flag* :const:`Py_TPFLAGS_HAVE_GC`."
106117

107118
#: ../Doc/c-api/gcsupport.rst:51
108119
msgid ""
@@ -338,19 +349,24 @@ msgstr ""
338349

339350
#: ../Doc/c-api/gcsupport.rst:191
340351
msgid "Controlling the Garbage Collector State"
341-
msgstr ""
352+
msgstr "Controlar el estado del recolector de basura"
342353

343354
#: ../Doc/c-api/gcsupport.rst:193
344355
msgid ""
345356
"The C-API provides the following functions for controlling garbage "
346357
"collection runs."
347358
msgstr ""
359+
"La C-API proporciona las siguientes funciones para controlar las ejecuciones "
360+
"de recolección de basura."
348361

349362
#: ../Doc/c-api/gcsupport.rst:198
350363
msgid ""
351364
"Perform a full garbage collection, if the garbage collector is enabled. "
352365
"(Note that :func:`gc.collect` runs it unconditionally.)"
353366
msgstr ""
367+
"Realiza una recolección de basura completa, si el recolector de basura está "
368+
"habilitado. (Tenga en cuenta que :func:`gc.collect` lo ejecuta "
369+
"incondicionalmente)."
354370

355371
#: ../Doc/c-api/gcsupport.rst:201
356372
msgid ""
@@ -359,21 +375,32 @@ msgid ""
359375
"returns ``0`` immediately. Errors during garbage collection are passed to :"
360376
"data:`sys.unraisablehook`. This function does not raise exceptions."
361377
msgstr ""
378+
"Retorna el número de objetos recolectados e inalcanzables que no se pueden "
379+
"recolectar. Si el recolector de basura está deshabilitado o ya está "
380+
"recolectando, retorna ``0`` inmediatamente. Los errores durante la "
381+
"recolección de basura se pasan a :data:`sys.unraisablehook`. Esta función no "
382+
"genera excepciones."
362383

363384
#: ../Doc/c-api/gcsupport.rst:211
364385
msgid ""
365386
"Enable the garbage collector: similar to :func:`gc.enable`. Returns the "
366387
"previous state, 0 for disabled and 1 for enabled."
367388
msgstr ""
389+
"Habilita el recolector de basura: similar a :func:`gc.enable`. Retorna el "
390+
"estado anterior, 0 para deshabilitado y 1 para habilitado."
368391

369392
#: ../Doc/c-api/gcsupport.rst:219
370393
msgid ""
371394
"Disable the garbage collector: similar to :func:`gc.disable`. Returns the "
372395
"previous state, 0 for disabled and 1 for enabled."
373396
msgstr ""
397+
"Deshabilita el recolector de basura: similar a :func:`gc.disable`. Retorna "
398+
"el estado anterior, 0 para deshabilitado y 1 para habilitado."
374399

375400
#: ../Doc/c-api/gcsupport.rst:227
376401
msgid ""
377402
"Query the state of the garbage collector: similar to :func:`gc.isenabled`. "
378403
"Returns the current state, 0 for disabled and 1 for enabled."
379404
msgstr ""
405+
"Consulta el estado del recolector de basura: similar a :func:`gc.isenabled`. "
406+
"Retorna el estado actual, 0 para deshabilitado y 1 para habilitado."

c-api/structures.po

Lines changed: 29 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
14-
"PO-Revision-Date: 2021-08-02 01:55+0200\n"
15-
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
14+
"PO-Revision-Date: 2021-10-28 15:10-0500\n"
15+
"Last-Translator: José Luis Salgado Banda <josephLSalgado@outlook.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.9.1\n"
23+
"X-Generator: Poedit 3.0\n"
2324

2425
#: ../Doc/c-api/structures.rst:6
2526
msgid "Common Object Structures"
@@ -118,36 +119,45 @@ msgstr "Consulte la documentación de :c:type:`PyVarObject` anteriormente."
118119
msgid ""
119120
"Test if the *x* object is the *y* object, the same as ``x is y`` in Python."
120121
msgstr ""
122+
"Prueba si el objeto *x* es el objeto *y*, lo mismo que ``x is y`` en Python."
121123

122124
#: ../Doc/c-api/structures.rst:74
123125
msgid ""
124126
"Test if an object is the ``None`` singleton, the same as ``x is None`` in "
125127
"Python."
126128
msgstr ""
129+
"Prueba si un objeto es la instancia única ``None``, lo mismo que ``x is "
130+
"None`` en Python."
127131

128132
#: ../Doc/c-api/structures.rst:82
129133
msgid ""
130134
"Test if an object is the ``True`` singleton, the same as ``x is True`` in "
131135
"Python."
132136
msgstr ""
137+
"Prueba si un objeto es la instancia única ``True``, lo mismo que ``x is "
138+
"True`` en Python."
133139

134140
#: ../Doc/c-api/structures.rst:90
135141
msgid ""
136142
"Test if an object is the ``False`` singleton, the same as ``x is False`` in "
137143
"Python."
138144
msgstr ""
145+
"Prueba si un objeto es la instancia única ``False``, lo mismo que ``x is "
146+
"False`` en Python."
139147

140148
#: ../Doc/c-api/structures.rst:98
141149
msgid "Get the type of the Python object *o*."
142-
msgstr ""
150+
msgstr "Obtiene el tipo de objeto Python *o*."
143151

144152
#: ../Doc/c-api/structures.rst:100
145153
msgid "Return a :term:`borrowed reference`."
146-
msgstr ""
154+
msgstr "Retorna una referencia prestada (:term:`borrowed reference`)."
147155

148156
#: ../Doc/c-api/structures.rst:102
149157
msgid "The :c:func:`Py_SET_TYPE` function must be used to set an object type."
150158
msgstr ""
159+
"Debe utilizarse la función :c:func:`Py_SET_TYPE` para establecer un tipo de "
160+
"objeto."
151161

152162
#: ../Doc/c-api/structures.rst:107
153163
msgid ""
@@ -163,25 +173,29 @@ msgstr "Establece el tipo del objeto *o* a *type*."
163173

164174
#: ../Doc/c-api/structures.rst:122
165175
msgid "Get the reference count of the Python object *o*."
166-
msgstr ""
176+
msgstr "Obtiene la cuenta de referencias del objeto Python *o*."
167177

168178
#: ../Doc/c-api/structures.rst:124
169179
msgid ""
170180
":c:func:`Py_REFCNT()` is changed to the inline static function. Use :c:func:"
171181
"`Py_SET_REFCNT()` to set an object reference count."
172182
msgstr ""
183+
":c:func:`Py_REFCNT()` se cambia a la función estática en línea. Use :c:func:"
184+
"`Py_SET_REFCNT()` para establecer una cuenta de referencias de objetos."
173185

174186
#: ../Doc/c-api/structures.rst:131
175187
msgid "Set the object *o* reference counter to *refcnt*."
176188
msgstr "Establece el conteo de referencia del objeto *o* a *refcnt*."
177189

178190
#: ../Doc/c-api/structures.rst:138
179191
msgid "Get the size of the Python object *o*."
180-
msgstr ""
192+
msgstr "Obtiene el tamaño del objeto Python *o*."
181193

182194
#: ../Doc/c-api/structures.rst:140
183195
msgid "The :c:func:`Py_SET_SIZE` function must be used to set an object size."
184196
msgstr ""
197+
"Debe utilizarse la función :c:func:`Py_SET_SIZE` para establecer un tamaño "
198+
"de objeto."
185199

186200
#: ../Doc/c-api/structures.rst:145
187201
msgid "Set the object *o* size to *size*."
@@ -414,7 +428,7 @@ msgstr ""
414428

415429
#: ../Doc/c-api/structures.rst:297
416430
msgid "``METH_FASTCALL`` is now part of the stable ABI."
417-
msgstr ""
431+
msgstr "Ahora ``METH_FASTCALL`` es parte de la ABI estable."
418432

419433
#: ../Doc/c-api/structures.rst:302
420434
msgid ""
@@ -799,13 +813,19 @@ msgid ""
799813
"Get an attribute belonging to the object at address *obj_addr*. The "
800814
"attribute is described by ``PyMemberDef`` *m*. Returns ``NULL`` on error."
801815
msgstr ""
816+
"Obtiene un atributo que pertenece al objeto en la dirección *obj_addr*. El "
817+
"atributo se describe por ``PyMemberDef`` *m*. Retorna ``NULL`` en caso de "
818+
"error."
802819

803820
#: ../Doc/c-api/structures.rst:482
804821
msgid ""
805822
"Set an attribute belonging to the object at address *obj_addr* to object "
806823
"*o*. The attribute to set is described by ``PyMemberDef`` *m*. Returns "
807824
"``0`` if successful and a negative value on failure."
808825
msgstr ""
826+
"Establece un atributo que pertenece al objeto en la dirección *obj_addr* al "
827+
"objeto *o*. El atributo a establecer se describe por ``PyMemberDef`` *m*. "
828+
"Retorna ``0`` si tiene éxito y un valor negativo si falla."
809829

810830
#: ../Doc/c-api/structures.rst:489
811831
msgid ""
@@ -821,7 +841,7 @@ msgstr "nombre"
821841

822842
#: ../Doc/c-api/structures.rst:495
823843
msgid "attribute name"
824-
msgstr "Nombre del atributo"
844+
msgstr "nombre del atributo"
825845

826846
#: ../Doc/c-api/structures.rst:497
827847
msgid "get"

dictionaries/whatsnew_3.4.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Brändström
22
internación
3+
improvements
34
Aaron
45
Alexey
56
Alon

0 commit comments

Comments
 (0)