Skip to content

Commit a0ac5df

Browse files
authored
Merge branch '3.13' into translate/c-api/type.po
2 parents 75bc3e4 + 805b8e1 commit a0ac5df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+11317
-4484
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-22.04
1616
steps:
1717
# Obtención del código
18-
- uses: actions/checkout@v5
18+
- uses: actions/checkout@v6
1919
with:
2020
submodules: 'true'
2121
# Necesario para que tj-actions/changed-files se ejecute
@@ -52,7 +52,7 @@ jobs:
5252
- name: Obtiene la lista de archivos .po con cambios (sólo en PRs)
5353
if: github.event_name == 'pull_request'
5454
id: changed-po-files
55-
uses: tj-actions/changed-files@v46
55+
uses: tj-actions/changed-files@v47
5656
with:
5757
files: |
5858
**/*.po
@@ -92,3 +92,9 @@ jobs:
9292
- name: Construir documentación
9393
run: |
9494
sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
95+
96+
# Publica la documentación recién construida para poder descargarla de ser necesario
97+
- uses: actions/upload-artifact@v6
98+
with:
99+
path: cpython/Doc/_build/html
100+
name: documentación-html

.github/workflows/pr-comment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
any_changed: ${{ steps.changed-files.outputs.any_changed }}
1515
comment: ${{ steps.create-pr-comment.outputs.comment }}
1616
steps:
17-
- uses: actions/checkout@v5
17+
- uses: actions/checkout@v6
1818
with:
1919
ref: ${{ github.event.pull_request.head.sha }}
2020
persist-credentials: false
@@ -25,7 +25,7 @@ jobs:
2525
cache: "pip"
2626
# checkout these files from the base branch to guarantee they haven't been
2727
# modified by the PR
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929
with:
3030
path: base-branch
3131
sparse-checkout-cone-mode: false
@@ -37,7 +37,7 @@ jobs:
3737
python -m pip install -r base-branch/requirements-own.txt
3838
- name: Obtiene lista de archivos con cambios
3939
id: changed-files
40-
uses: tj-actions/changed-files@v46
40+
uses: tj-actions/changed-files@v47
4141
with:
4242
files: |
4343
**/*.po

.overrides/progress.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Muestra los porcentajes completados por directorio y solo los archivos que no es
2020

2121
.. runblock:: console
2222

23-
$ potodo --path .
23+
$ potodo .
2424

2525

2626
Completados

TRANSLATORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ Mateo Cámara (@MateoCamara)
188188
Matias Bordese (@matiasb)
189189
Matthew Ellis Kane Jiménez (@M-E-K-J-2102)
190190
Melissa Escobar Gutiérrez (@MelissaEscobar)
191+
Melvin Pineda Miguel (@TAPMelvin)
191192
Miguel Ángel
192193
Nahuel Ambrosini (@ambro17)
193194
Nahuel Espinosa (@nahueespinosa)
@@ -250,4 +251,4 @@ Xavi Rambla Centellas (@xavirambla)
250251
Yennifer Paola Herrera Ariza (@Yenniferh)
251252
Yohanna Padrino (@Yo-hanaPR)
252253
zejiran
253-
Zodac (@zodacdev)
254+
Zodac (@zodacdev)

c-api/arg.po

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ msgid ""
8585
"formats (``s#``, ``y#``, etc.) explained below. This is not necessary on "
8686
"Python 3.13 and later."
8787
msgstr ""
88+
"En Python 3.12 y versiones anteriores, la macro :c:macro:`!PY_SSIZE_T_CLEAN` "
89+
"debe estar definida antes de incluir :file:`Python.h` para usar todas las "
90+
"variantes ``#`` de formatos (``s#``, ``y#``, etc.) explicadas a continuación. "
91+
"Esto no es necesario en Python 3.13 y versiones posteriores."
8892

8993
#: ../Doc/c-api/arg.rst:42
9094
msgid ""
@@ -103,7 +107,7 @@ msgstr ""
103107

104108
#: ../Doc/c-api/arg.rst:48
105109
msgid "There are three ways strings and buffers can be converted to C:"
106-
msgstr ""
110+
msgstr "Hay tres formas en que las cadenas de caracteres y los búferes pueden convertirse a C:"
107111

108112
#: ../Doc/c-api/arg.rst:50
109113
#, fuzzy
@@ -129,6 +133,9 @@ msgid ""
129133
"**You have to call** :c:func:`PyMem_Free` after you have finished processing "
130134
"the data (or in any early abort case)."
131135
msgstr ""
136+
"Los formatos ``es``, ``es#``, ``et`` y ``et#`` asignan el búfer de resultado. "
137+
"**Debe llamar** :c:func:`PyMem_Free` después de haber terminado de procesar "
138+
"los datos (o en cualquier caso de aborto temprano)."
132139

133140
#: ../Doc/c-api/arg.rst:63
134141
msgid ""
@@ -138,6 +145,12 @@ msgid ""
138145
"corresponding Python object, and shares the lifetime of this object. You "
139146
"won't have to release any memory yourself."
140147
msgstr ""
148+
"Otros formatos toman un :class:`str` o un :term:`objeto de tipo bytes <bytes-"
149+
"like object>` de solo lectura, como :class:`bytes`, y proporcionan un "
150+
"puntero ``const char *`` a su búfer. En este caso el búfer es \"prestado\" "
151+
"(*borrowed*): es gestionado por el objeto Python correspondiente y comparte "
152+
"el tiempo de vida de este objeto. No tendrá que liberar ninguna memoria "
153+
"usted mismo."
141154

142155
#: ../Doc/c-api/arg.rst:70
143156
msgid ""
@@ -146,13 +159,21 @@ msgid ""
146159
"disallows common mutable objects such as :class:`bytearray`, but also some "
147160
"read-only objects such as :class:`memoryview` of :class:`bytes`."
148161
msgstr ""
162+
"Para asegurar que el búfer subyacente pueda ser prestado de forma segura, el "
163+
"campo :c:member:`PyBufferProcs.bf_releasebuffer` del objeto debe ser ``NULL``. "
164+
"Esto desautoriza objetos mutables comunes como :class:`bytearray`, pero "
165+
"también algunos objetos de solo lectura como :class:`memoryview` de :class:"
166+
"`bytes`."
149167

150168
#: ../Doc/c-api/arg.rst:76
151169
msgid ""
152170
"Besides this ``bf_releasebuffer`` requirement, there is no check to verify "
153171
"whether the input object is immutable (e.g. whether it would honor a request "
154172
"for a writable buffer, or whether another thread can mutate the data)."
155173
msgstr ""
174+
"Además de este requisito de ``bf_releasebuffer``, no hay verificación para "
175+
"comprobar si el objeto de entrada es inmutable (por ejemplo, si respetaría "
176+
"una solicitud de un búfer escribible, o si otro hilo puede mutar los datos)."
156177

157178
#: ../Doc/c-api/arg.rst:98
158179
msgid "``s`` (:class:`str`) [const char \\*]"
@@ -564,6 +585,8 @@ msgid ""
564585
"``u``, ``u#``, ``Z``, and ``Z#`` are removed because they used a legacy "
565586
"``Py_UNICODE*`` representation."
566587
msgstr ""
588+
"``u``, ``u#``, ``Z`` y ``Z#`` fueron eliminados porque usaban una "
589+
"representación heredada ``Py_UNICODE*``."
567590

568591
#: ../Doc/c-api/arg.rst:230
569592
msgid "Numbers"

c-api/bytes.po

Lines changed: 31 additions & 35 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: 2024-11-21 16:38-0300\n"
14-
"PO-Revision-Date: 2022-11-01 11:48+0100\n"
14+
"PO-Revision-Date: 2025-10-13 01:23-0600\n"
1515
"Last-Translator: Cristián Maureira-Fredes <[email protected]>\n"
16-
"Language: es\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.16.0\n"
23+
"X-Generator: Poedit 3.7\n"
2324

2425
#: ../Doc/c-api/bytes.rst:6
2526
msgid "Bytes Objects"
@@ -113,7 +114,7 @@ msgstr "Comentario"
113114
#: ../Doc/c-api/bytes.rst:67
114115
#, python-format
115116
msgid "``%%``"
116-
msgstr ""
117+
msgstr "``%%``"
117118

118119
#: ../Doc/c-api/bytes.rst:67
119120
msgid "*n/a*"
@@ -122,12 +123,12 @@ msgstr "*n/a*"
122123
#: ../Doc/c-api/bytes.rst:67
123124
#, python-format
124125
msgid "The literal % character."
125-
msgstr "El carácter literal *%*."
126+
msgstr "El carácter literal %."
126127

127128
#: ../Doc/c-api/bytes.rst:69
128129
#, python-format
129130
msgid "``%c``"
130-
msgstr ""
131+
msgstr "``%c``"
131132

132133
#: ../Doc/c-api/bytes.rst:69 ../Doc/c-api/bytes.rst:72
133134
#: ../Doc/c-api/bytes.rst:90 ../Doc/c-api/bytes.rst:93
@@ -141,7 +142,7 @@ msgstr "Un solo byte, representado como un C int."
141142
#: ../Doc/c-api/bytes.rst:72
142143
#, python-format
143144
msgid "``%d``"
144-
msgstr ""
145+
msgstr "``%d``"
145146

146147
#: ../Doc/c-api/bytes.rst:72
147148
#, python-format
@@ -151,7 +152,7 @@ msgstr "Equivalente a ``printf(\"%d\")``. [1]_"
151152
#: ../Doc/c-api/bytes.rst:75
152153
#, python-format
153154
msgid "``%u``"
154-
msgstr ""
155+
msgstr "``%u``"
155156

156157
#: ../Doc/c-api/bytes.rst:75
157158
msgid "unsigned int"
@@ -165,7 +166,7 @@ msgstr "Equivalente a ``printf(\"%u\")``. [1]_"
165166
#: ../Doc/c-api/bytes.rst:78
166167
#, python-format
167168
msgid "``%ld``"
168-
msgstr ""
169+
msgstr "``%ld``"
169170

170171
#: ../Doc/c-api/bytes.rst:78
171172
msgid "long"
@@ -179,7 +180,7 @@ msgstr "Equivalente a ``printf(\"%ld\")``. [1]_"
179180
#: ../Doc/c-api/bytes.rst:81
180181
#, python-format
181182
msgid "``%lu``"
182-
msgstr ""
183+
msgstr "``%lu``"
183184

184185
#: ../Doc/c-api/bytes.rst:81
185186
msgid "unsigned long"
@@ -192,7 +193,7 @@ msgstr "Equivalente a ``printf(\"%lu\")``. [1]_"
192193

193194
#: ../Doc/c-api/bytes.rst:84
194195
msgid "``%zd``"
195-
msgstr ""
196+
msgstr "``%zd``"
196197

197198
#: ../Doc/c-api/bytes.rst:84
198199
msgid ":c:type:`\\ Py_ssize_t`"
@@ -204,7 +205,7 @@ msgstr "Equivalente a ``printf(\"%zd\")``. [1]_"
204205

205206
#: ../Doc/c-api/bytes.rst:87
206207
msgid "``%zu``"
207-
msgstr ""
208+
msgstr "``%zu``"
208209

209210
#: ../Doc/c-api/bytes.rst:87
210211
msgid "size_t"
@@ -217,7 +218,7 @@ msgstr "Equivalente a ``printf(\"%zu\")``. [1]_"
217218
#: ../Doc/c-api/bytes.rst:90
218219
#, python-format
219220
msgid "``%i``"
220-
msgstr ""
221+
msgstr "``%i``"
221222

222223
#: ../Doc/c-api/bytes.rst:90
223224
#, python-format
@@ -227,7 +228,7 @@ msgstr "Equivalente a ``printf(\"%i\")``. [1]_"
227228
#: ../Doc/c-api/bytes.rst:93
228229
#, python-format
229230
msgid "``%x``"
230-
msgstr ""
231+
msgstr "``%x``"
231232

232233
#: ../Doc/c-api/bytes.rst:93
233234
#, python-format
@@ -237,7 +238,7 @@ msgstr "Equivalente a ``printf(\"%x\")``. [1]_"
237238
#: ../Doc/c-api/bytes.rst:96
238239
#, python-format
239240
msgid "``%s``"
240-
msgstr ""
241+
msgstr "``%s``"
241242

242243
#: ../Doc/c-api/bytes.rst:96
243244
msgid "const char\\*"
@@ -249,7 +250,7 @@ msgstr "Un arreglo de caracteres C terminados en nulo."
249250

250251
#: ../Doc/c-api/bytes.rst:99
251252
msgid "``%p``"
252-
msgstr ""
253+
msgstr "``%p``"
253254

254255
#: ../Doc/c-api/bytes.rst:99
255256
msgid "const void\\*"
@@ -331,13 +332,12 @@ msgstr ""
331332
"Forma macro de :c:func:`PyBytes_AsString` pero sin verificación de errores."
332333

333334
#: ../Doc/c-api/bytes.rst:156
334-
#, fuzzy
335335
msgid ""
336336
"Return the null-terminated contents of the object *obj* through the output "
337337
"variables *buffer* and *length*. Returns ``0`` on success."
338338
msgstr ""
339339
"Retorna los contenidos terminados en nulo del objeto *obj* a través de las "
340-
"variables de salida *buffer* y *length*."
340+
"variables de salida *buffer* y *length*. Retorna ``0`` en caso de éxito."
341341

342342
#: ../Doc/c-api/bytes.rst:160
343343
msgid ""
@@ -389,18 +389,16 @@ msgstr ""
389389
"establecerá la excepción apropiada."
390390

391391
#: ../Doc/c-api/bytes.rst:187
392-
#, fuzzy
393392
msgid ""
394393
"Create a new bytes object in *\\*bytes* containing the contents of *newpart* "
395394
"appended to *bytes*. This version releases the :term:`strong reference` to "
396395
"*newpart* (i.e. decrements its reference count)."
397396
msgstr ""
398397
"Crea un nuevo objeto de bytes en *\\*bytes* que contenga el contenido de "
399-
"*newpart* agregado a *bytes*. Esta versión disminuye el recuento de "
400-
"referencias de *newpart*."
398+
"*newpart* agregado a *bytes*. Esta versión libera la :term:`strong "
399+
"reference` a *newpart* (es decir, disminuye su recuento de referencias)."
401400

402401
#: ../Doc/c-api/bytes.rst:194
403-
#, fuzzy
404402
msgid ""
405403
"Resize a bytes object. *newsize* will be the new length of the bytes object. "
406404
"You can think of it as creating a new bytes object and destroying the old "
@@ -411,22 +409,20 @@ msgid ""
411409
"the original bytes object at *\\*bytes* is deallocated, *\\*bytes* is set to "
412410
"``NULL``, :exc:`MemoryError` is set, and ``-1`` is returned."
413411
msgstr ""
414-
"Una forma de cambiar el tamaño de un objeto bytes aunque sea \"inmutable\". "
415-
"Solo use esto para construir un nuevo objeto bytes; no use esto si los bytes "
416-
"ya pueden ser conocidos en otras partes del código. Es un error llamar a "
417-
"esta función si el recuento en el objeto bytes de entrada no es uno. Pasa la "
418-
"dirección de un objeto de bytes existente como un *lvalue* (puede escribirse "
419-
"en él) y el nuevo tamaño deseado. En caso de éxito, *\\*bytes* retiene el "
420-
"objeto de bytes redimensionados y se retorna ``0``; la dirección en "
421-
"*\\*bytes* puede diferir de su valor de entrada. Si la reasignación falla, "
422-
"el objeto de bytes original en *\\*bytes* se desasigna, *\\*bytes* se "
423-
"establece en ``NULL``, :exc:`MemoryError` se establece y se retorna ``-1`` ."
412+
"Redimensiona un objeto bytes. *newsize* será la nueva longitud del objeto "
413+
"bytes. Se puede considerar como crear un nuevo objeto bytes y destruir el "
414+
"anterior, solo que de forma más eficiente. Pasa la dirección de un objeto "
415+
"bytes existente como lvalue (se puede escribir en él) y el nuevo tamaño "
416+
"deseado. En caso de éxito, *\\*bytes* contiene el objeto bytes "
417+
"redimensionado y se retorna ``0``; la dirección en *\\*bytes* puede diferir "
418+
"de su valor de entrada. Si la reasignación falla, el objeto bytes original "
419+
"en *\\*bytes* se desasigna, *\\*bytes* se establece en ``NULL``, se "
420+
"establece :exc:`MemoryError` y se retorna ``-1``."
424421

425422
#: ../Doc/c-api/bytes.rst:11
426-
#, fuzzy
427423
msgid "object"
428-
msgstr "Objetos bytes"
424+
msgstr "object"
429425

430426
#: ../Doc/c-api/bytes.rst:11
431427
msgid "bytes"
432-
msgstr ""
428+
msgstr "bytes"

0 commit comments

Comments
 (0)