Skip to content

Commit 5ae47cc

Browse files
authored
Merge branch '3.13' into traduccion-embedding
2 parents 20118da + 805b8e1 commit 5ae47cc

34 files changed

+10799
-4046
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
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
@@ -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: 2 additions & 2 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

.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"

0 commit comments

Comments
 (0)