Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit026ae0c

Browse files
authored
Merge branch '3.13' into library_pathlib_3.13
2 parents4b69512 +fa544fe commit026ae0c

File tree

96 files changed

+14103
-8195
lines changed

Some content is hidden

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

96 files changed

+14103
-8195
lines changed

‎.github/workflows/main.yml‎

Lines changed: 4 additions & 5 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@v4
18+
-uses:actions/checkout@v5
1919
with:
2020
submodules:'true'
2121
# Necesario para que tj-actions/changed-files se ejecute
@@ -24,7 +24,7 @@ jobs:
2424

2525
# Instalación de dependencias
2626
-name:Preparar Python v3.13
27-
uses:actions/setup-python@v5
27+
uses:actions/setup-python@v6
2828
with:
2929
python-version:"3.13"
3030
cache:"pip"
@@ -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@v45
55+
uses:tj-actions/changed-files@v47
5656
with:
5757
files:|
5858
**/*.po
@@ -91,5 +91,4 @@ jobs:
9191
# Construcción de la documentación
9292
-name:Construir documentación
9393
run:|
94-
# Normal build
95-
PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
94+
sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html

‎.github/workflows/pr-comment.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
any_changed:${{ steps.changed-files.outputs.any_changed }}
1515
comment:${{ steps.create-pr-comment.outputs.comment }}
1616
steps:
17-
-uses:actions/checkout@v4
17+
-uses:actions/checkout@v5
1818
with:
1919
ref:${{ github.event.pull_request.head.sha }}
2020
persist-credentials:false
2121
-name:Preparar Python v3.13
22-
uses:actions/setup-python@v5
22+
uses:actions/setup-python@v6
2323
with:
2424
python-version:"3.13"
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@v4
28+
-uses:actions/checkout@v5
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@v45
40+
uses:tj-actions/changed-files@v47
4141
with:
4242
files:|
4343
**/*.po

‎.github/workflows/stale.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
issues:write
1414
pull-requests:write
1515
steps:
16-
-uses:actions/stale@v9
16+
-uses:actions/stale@v10
1717
with:
1818
stale-pr-label:'needs decision'
1919
stale-issue-label:'stale'

‎.overrides/CONTRIBUTING.rst‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ podrás realizar todas las contribuciones que quieras.
5454

5555
#. (Opcional) Crea un entorno virtual y actívalo::
5656

57-
python -m venvenv
58-
sourceenv/bin/activate # macOS y Linux
59-
env\Scripts\activate.bat # Windows
57+
python -m venvvenv
58+
sourcevenv/bin/activate # macOS y Linux
59+
venv\Scripts\activate.bat # Windows
6060

6161
#. (Opcional) Instala los requerimientos del proyecto::
6262

63-
pip install -r requirements.txt
63+
pip install -r requirements-own.txt
6464

6565
.. note::
6666

@@ -119,6 +119,11 @@ Paso 2: ¡Comienza a traducir!
119119
..note::Si estás en Windows y tienes problemas, mira los comentarios de
120120
:ref:`powrap_windows` para más información.
121121

122+
..note::En 3.13 notamos un problema de inconsistencia en las versiones
123+
de powrap que podrían ser utilizadas, con lo que la verificación
124+
del CI fue deshabilitada, pero te recomendamos que puedas ejecutar
125+
`powrap` localmente de todas formas.
126+
122127
#. **Corrección ortográfica**: Para verificar la ortografía de tu archivo
123128
puedes utilizar la herramientapospell_ para que verifiques que todas las
124129
palabras están aceptadas o incluidas en diccionarios. Para ello tenemos
@@ -135,6 +140,14 @@ Paso 2: ¡Comienza a traducir!
135140
..note::Si estás en Windows y tienes problemas, mira los comentarios de
136141
:ref:`pospell_windows` para más información.
137142

143+
..note::En 3.13 los trozos de código ahora pueden ser traducidos,
144+
con lo cual esperamos que puedas traducir solo los comentarios
145+
de dichos códigos. Es probable que `check_spell.py` falle con
146+
algunas entradas, esto se debe a que pospell (docutils) no tienen
147+
compatibilidad para entender líneas de código. La solución temporal
148+
es **no traducir** las entradas que `check_spell.py` genere errores
149+
con el mensaje **Unexpected identation**.
150+
138151
#. Cuando hayas terminado tu sesión, debes guardar tus cambios y enviarlos a
139152
GitHub (No olvides añadir tu nombre al archivo ``TRANSLATORS``).
140153
Si estuvieras trabajando en el archivo ``library/ast.po`` los pasos serían::

‎Makefile‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ build: setup do_build
4444
.PHONY: do_build
4545
do_build:
4646
# Normal build
47-
PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning$(VENV)/bin/sphinx-build -j$(SPHINX_JOBS) -W --keep-going -b html -d$(OUTPUT_DOCTREE) -D language=$(LANGUAGE).$(OUTPUT_HTML)&&\
47+
$(VENV)/bin/sphinx-build -j$(SPHINX_JOBS) -W --keep-going -b html -d$(OUTPUT_DOCTREE) -D language=$(LANGUAGE).$(OUTPUT_HTML)&&\
4848
echo"Success! Open file://`pwd`/$(OUTPUT_HTML)/index.html,"\
4949
"or run 'make serve' to see them in http://localhost:8000";
5050

@@ -56,6 +56,9 @@ do_build:
5656
setup: venv
5757
git submodule sync
5858
git submodule update --init --force --depth 1$(CPYTHON_PATH)
59+
# Now that we've initialized the submodules, install all requirements necessary for the build
60+
$(VENV)/bin/python -m pip install -q -r requirements.txt
61+
5962

6063

6164
# venv: create a virtual environment which will be used by almost every
@@ -66,7 +69,7 @@ venv:
6669
$(PYTHON) -m venv --prompt$(LANGUAGE_TEAM)$(VENV);\
6770
fi
6871

69-
$(VENV)/bin/python -m pip install -q -r requirements.txt
72+
$(VENV)/bin/python -m pip install -q -r requirements-own.txt
7073

7174

7275
# serve: serve the documentation in a simple local web server, using cpython

‎TRANSLATORS‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Carlos Joel Delgado Pizarro (@c0x6a)
4545
Carlos Martel Lamas (@Letram)
4646
Carlos Mena Pérez (@carlosm00)
4747
Catalina Arrey Amunátegui (@CatalinaArrey)
48+
Charly Román (@Carlangueitor)
4849
Claudia Millán Nebot (@clacri @cheshireminima)
4950
Constanza Areal (@geekcoty)
5051
Cristhian Ortiz (@crisortiz92)
@@ -59,8 +60,10 @@ Daniela Zuluaga Ocampo (@Nany262)
5960
Darwing Medina Lacayo (@darwing1210)
6061
David Jaimes (@henrzven)
6162
David Lorenzo (@David-Lor)
63+
David Pizarro (@davidppizarro)
6264
David Revillas (@r3v1)
6365
David Silva (@dvidsilva)
66+
David Spindola (@davidspindola)
6467
David Trigo Chávez (@dtrinf)
6568
Diego Cristóbal Herreros (@dcristobalh)
6669
Diego Mascialino (@dmascialino)
@@ -171,6 +174,7 @@ Manuel Ramos (@manuelramos)
171174
Marcelo Elizeche Landó (@melizeche)
172175
Marco Moresi (@mrcmoresi)
173176
Marco Richetta (@marcorichetta)
177+
Marcos Ferreto (@FerretoDev)
174178
Marcos Medrano (@mmmarcos)
175179
Marcos Moreno (@marcosmamg)
176180
Marcos Sánchez Provencio (@rapto)
@@ -182,6 +186,7 @@ Martín Gaitán (@mgaitan)
182186
Martín Ramírez (@tinchoram)
183187
Mateo Cámara (@MateoCamara)
184188
Matias Bordese (@matiasb)
189+
Matthew Ellis Kane Jiménez (@M-E-K-J-2102)
185190
Melissa Escobar Gutiérrez (@MelissaEscobar)
186191
Miguel Ángel
187192
Nahuel Ambrosini (@ambro17)
@@ -194,6 +199,7 @@ nicocastanio
194199
Nicolás Demarchi (@gilgamezh)
195200
Nicolás Lunardi (@nicolunardi)
196201
Omar Mendo (@beejeke)
202+
Oscar Criado (@ocriado91)
197203
Oscar Garzon (@oscar-garzon)
198204
Oscar Martinez
199205
Pablo Lobariñas (@Qkolnek)
@@ -225,6 +231,7 @@ Sergio Infante (@neosergio)
225231
Silvina Tamburini (@silvinabt87)
226232
Sofia Carballo (@sofiacarballo)
227233
Sofía Denner
234+
Srmorita (@srmorita)
228235
Stephanie Orellana Bello
229236
Sumit Kashyap
230237
Summerok
@@ -243,4 +250,4 @@ Xavi Rambla Centellas (@xavirambla)
243250
Yennifer Paola Herrera Ariza (@Yenniferh)
244251
Yohanna Padrino (@Yo-hanaPR)
245252
zejiran
246-
Zodac (@zodacdev)
253+
Zodac (@zodacdev)

‎c-api/allocation.po‎

Lines changed: 36 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,33 @@ msgstr ""
1111
"Project-Id-Version:Python 3.8\n"
1212
"Report-Msgid-Bugs-To:\n"
1313
"POT-Creation-Date:2023-10-12 19:43+0200\n"
14-
"PO-Revision-Date:2020-05-08 01:33+0200\n"
15-
"Last-Translator:\n"
16-
"Language:es\n"
14+
"PO-Revision-Date:2025-04-09 21:56+0200\n"
15+
"Last-Translator:David Spindola\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.13.0\n"
23+
"X-Generator:Poedit 3.6\n"
2324

2425
#:../Doc/c-api/allocation.rst:6
2526
msgid"Allocating Objects on the Heap"
2627
msgstr"Asignación de objetos en el montículo"
2728

2829
#:../Doc/c-api/allocation.rst:17
29-
#,fuzzy
3030
msgid""
3131
"Initialize a newly allocated object *op* with its type and initial "
3232
"reference. Returns the initialized object. If *type* indicates that the "
3333
"object participates in the cyclic garbage detector, it is added to the "
3434
"detector's set of observed objects. Other fields of the object are not "
3535
"affected."
3636
msgstr""
37-
"Inicializa un objeto *op*recientemente asignadocon su tipo y referencia "
38-
"inicial.Retorna el objeto inicializado. Si *type* indica que el objeto "
39-
"participa enel detector de basura cíclico, se agrega al conjunto de objetos "
40-
"observados del detector. Otros campos del objeto no se ven afectados."
37+
"Inicializa un objetorecién asignado*op* con su tipo y referencia inicial. "
38+
"Retorna el objeto inicializado. Si *type* indica que el objeto participa en "
39+
"el detector de basura cíclico, se agrega al conjunto de objetos observados "
40+
"por el detector. Otros campos del objeto no se ven afectados."
4141

4242
#:../Doc/c-api/allocation.rst:26
4343
msgid""
@@ -48,23 +48,22 @@ msgstr ""
4848
"información de longitud para un objeto de tamaño variable."
4949

5050
#:../Doc/c-api/allocation.rst:32
51-
#,fuzzy
5251
msgid""
5352
"Allocate a new Python object using the C structure type *TYPE* and the "
5453
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
5554
"Python object header are not initialized. The caller will own the only "
5655
"reference to the object (i.e. its reference count will be one). The size of "
57-
"the memory allocation is determined fromthe :c:member:`~PyTypeObject."
58-
"tp_basicsize` field of the type object."
56+
"the memory allocation is determined from "
57+
"the :c:member:`~PyTypeObject.tp_basicsize` field of the type object."
5958
msgstr""
60-
"Asigna un nuevo objeto Python usando el tipo de estructura de C *TYPE* y el "
61-
"objeto tipo Python *type*. Los campos no definidos por el encabezado del "
62-
"objeto Python no se inicializan;el conteo de referencias del objeto será "
63-
"uno. El tamaño de la asignación de memoria se determina a partir del campo :"
64-
"c:member:`~PyTypeObject.tp_basicsize` del tipo de objeto."
59+
"Asigna un nuevo objeto de Python usando el tipo de estructura de C *TYPE* y "
60+
"el objeto de tipo Python *typeobj* (``PyTypeObject*``). Los campos no "
61+
"definidos por el encabezado del objeto Python no se inicializan. El llamador "
62+
"será el propietario de la única referencia al objeto (es decir, su contador "
63+
"de referencias será uno). El tamaño de la asignación de memoria se determina "
64+
"a partir del campo :c:member:`~PyTypeObject.tp_basicsize` del objeto de tipo."
6565

6666
#:../Doc/c-api/allocation.rst:43
67-
#,fuzzy
6867
msgid""
6968
"Allocate a new Python object using the C structure type *TYPE* and the "
7069
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -76,30 +75,29 @@ msgid ""
7675
"same allocation decreases the number of allocations, improving the memory "
7776
"management efficiency."
7877
msgstr""
79-
"Asigna un nuevo objeto Pythonusando el tipo de estructura de C *TYPE* y el "
80-
"objeto tipo Python *type*. Los campos no definidos por el encabezado del "
81-
"objeto Python no se inicializan. La memoria asignada permite los campos de "
82-
"la estructura *TYPE* máslos campos*size*del tamaño dado por el campo :c:"
83-
"member:`~PyTypeObject.tp_itemsize` de *type*. Esto es útil para implementar "
84-
"objetos como tuplas, que pueden determinar su tamaño en el momento de la "
85-
"construcción. Incrustarelarreglo decampos en la misma asignación "
86-
"disminuye el número de asignaciones, mejorando la eficienciadela gestión "
87-
"de memoria."
78+
"Asigna un nuevo objetodePythonutilizando el tipo de estructura de C "
79+
"*TYPE* y elobjetodetipo Python *typeobj* (``PyTypeObject*``). Los campos "
80+
"no definidos por el encabezado delobjeto Python no se inicializan. La "
81+
"memoria asignada permitela estructura *TYPE* más *size*(``Py_ssize_t``)"
82+
"campos del tamaño dado por el campo :c:member:`~PyTypeObject.tp_itemsize` de "
83+
"*typeobj*. Esto es útil para implementar objetos como las tuplas, que pueden "
84+
"determinar su tamaño enelmomento dela construcción. Integrar el arreglo "
85+
"de campos en la misma asignación disminuye el númerodeasignaciones, "
86+
"mejorando la eficiencia de la gestiónde memoria."
8887

8988
#:../Doc/c-api/allocation.rst:57
90-
#,fuzzy
9189
msgid""
92-
"Releases memory allocated to an object using :c:macro:`PyObject_New`or :c:"
93-
"macro:`PyObject_NewVar`. This is normally called fromthe :c:member:"
94-
"`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
95-
"fields of the object should not be accessed after this call as the memory is "
96-
"no longer a valid Python object."
90+
"Releases memory allocated to an object using :c:macro:`PyObject_New` "
91+
"or :c:macro:`PyObject_NewVar`. This is normally called from "
92+
"the :c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's "
93+
"type. Thefields of the object should not be accessed after this call as "
94+
"the memory isno longer a valid Python object."
9795
msgstr""
98-
"Libera memoria asignada a un objeto usando :c:func:`PyObject_New`o :c:func:"
99-
"`PyObject_NewVar`. Esto normalmente se llama desde elmanejador :c:member:"
100-
"`~PyTypeObject.tp_dealloc` especificado en el tipo de objeto. No se debe "
101-
"acceder a loscampos del objetodespués de esta llamada, ya que la memoria "
102-
"ya no es un objeto Python válido."
96+
"Liberalamemoria asignada a un objeto usando :c:macro:`PyObject_New` "
97+
"o :c:macro:`PyObject_NewVar`. Esto normalmente se llama desde el "
98+
"manejador :c:member:`~PyTypeObject.tp_dealloc` especificado en el tipo de "
99+
"objeto. Loscampos del objetono deben ser accedidos después de esta "
100+
"llamada,yaque la memoria yano es un objeto de Python válido."
103101

104102
#:../Doc/c-api/allocation.rst:66
105103
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp