@@ -10,79 +10,112 @@ msgstr ""
10
10
"Project-Id-Version : Python en Español 3.12\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
12
"POT-Creation-Date : 2024-11-21 16:38-0300\n "
13
- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
14
- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
15
- "Language : es\n "
13
+ "PO-Revision-Date : 2025-01-31 10:04-0300\n "
14
+ "Last-Translator : srmorita <fr.morac@duocuc.cl>\n "
16
15
"Language-Team : es <LL@li.org>\n "
17
- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
16
+ "Language : es \n "
18
17
"MIME-Version : 1.0\n "
19
18
"Content-Type : text/plain; charset=utf-8\n "
20
19
"Content-Transfer-Encoding : 8bit\n "
20
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
21
21
"Generated-By : Babel 2.16.0\n "
22
+ "X-Generator : Poedit 3.5\n "
22
23
23
24
#: ../Doc/c-api/perfmaps.rst:6
24
25
msgid "Support for Perf Maps"
25
- msgstr ""
26
+ msgstr "Soporte para Mapeo Perf "
26
27
27
28
#: ../Doc/c-api/perfmaps.rst:8
28
29
msgid ""
29
30
"On supported platforms (as of this writing, only Linux), the runtime can "
30
31
"take advantage of *perf map files* to make Python functions visible to an "
31
- "external profiling tool (such as `perf <https://perf.wiki.kernel.org/index. "
32
- "php/Main_Page>`_). A running process may create a file in the ``/tmp`` "
32
+ "external profiling tool (such as `perf <https://perf.wiki.kernel.org/"
33
+ "index. php/Main_Page>`_). A running process may create a file in the ``/tmp`` "
33
34
"directory, which contains entries that can map a section of executable code "
34
35
"to a name. This interface is described in the `documentation of the Linux "
35
- "Perf tool <https://git.kernel.org/pub/scm/linux/ kernel/git/torvalds/linux. "
36
- "git/tree/tools/perf/Documentation/jit-interface.txt>`_."
36
+ "Perf tool <https://git.kernel.org/pub/scm/linux/ kernel/git/torvalds/"
37
+ "linux. git/tree/tools/perf/Documentation/jit-interface.txt>`_."
37
38
msgstr ""
39
+ "En las plataformas soportadas (en el momento de escribir esto, sólo Linux), "
40
+ "el tiempo de ejecución puede aprovechar *perf map files* para hacer que las "
41
+ "funciones de Python sean visibles para una herramienta externa de perfiles "
42
+ "(como `perf <https://perf.wiki.kernel.org/index.php/Main_Page>`_). Un "
43
+ "proceso en ejecución puede crear un fichero en el directorio ``/tmp``, que "
44
+ "contiene entradas que pueden asignar una sección de código ejecutable a un "
45
+ "nombre. Esta interfaz se describe en la `documentación de la herramienta "
46
+ "Perf de Linux <https://git.kernel.org/pub/scm/linux/ kernel/git/torvalds/"
47
+ "linux.git/tree/tools/perf/Documentation/jit-interface.txt>`_."
38
48
39
49
#: ../Doc/c-api/perfmaps.rst:16
40
50
msgid ""
41
51
"In Python, these helper APIs can be used by libraries and features that rely "
42
52
"on generating machine code on the fly."
43
53
msgstr ""
54
+ "En Python, estas API auxiliares pueden ser utilizadas por bibliotecas y "
55
+ "funciones que dependen de la generación de código de máquina sobre la marcha."
44
56
45
57
#: ../Doc/c-api/perfmaps.rst:19
46
58
msgid ""
47
59
"Note that holding the Global Interpreter Lock (GIL) is not required for "
48
60
"these APIs."
49
61
msgstr ""
62
+ "Tenga en cuenta que para estas APIs no es necesario mantener el Bloqueo "
63
+ "Global del Intérprete (GIL)."
50
64
51
65
#: ../Doc/c-api/perfmaps.rst:23
52
66
msgid ""
53
67
"Open the ``/tmp/perf-$pid.map`` file, unless it's already opened, and create "
54
68
"a lock to ensure thread-safe writes to the file (provided the writes are "
55
69
"done through :c:func:`PyUnstable_WritePerfMapEntry`). Normally, there's no "
56
- "need to call this explicitly; just use :c:func: "
57
- "`PyUnstable_WritePerfMapEntry` and it will initialize the state on first "
58
- "call."
70
+ "need to call this explicitly; just "
71
+ "use :c:func: `PyUnstable_WritePerfMapEntry` and it will initialize the state "
72
+ "on first call."
59
73
msgstr ""
74
+ "Abre el archivo ``/tmp/perf-$pid.map``, a menos que ya esté abierto, y crea "
75
+ "un bloqueo para garantizar escrituras seguras para hilos en el archivo "
76
+ "(siempre que las escrituras se realicen "
77
+ "mediante :c:func:`PyUnstable_WritePerfMapEntry`). Normalmente, no es "
78
+ "necesario llamar a esto explícitamente; solo "
79
+ "use :c:func:`PyUnstable_WritePerfMapEntry` e inicializará el estado en la "
80
+ "primera llamada."
60
81
61
82
#: ../Doc/c-api/perfmaps.rst:29
62
83
msgid ""
63
84
"Returns ``0`` on success, ``-1`` on failure to create/open the perf map "
64
85
"file, or ``-2`` on failure to create a lock. Check ``errno`` for more "
65
86
"information about the cause of a failure."
66
87
msgstr ""
88
+ "Retorna ``0`` en caso de éxito, ``-1`` en caso de fallo al crear/abrir el "
89
+ "fichero perf map, o ``-2`` en caso de fallo al crear un bloqueo. Comprueba "
90
+ "``errno`` para más información sobre la causa de un fallo."
67
91
68
92
#: ../Doc/c-api/perfmaps.rst:35
69
93
msgid ""
70
94
"Write one single entry to the ``/tmp/perf-$pid.map`` file. This function is "
71
95
"thread safe. Here is what an example entry looks like::"
72
96
msgstr ""
97
+ "Escribe una única entrada en el fichero ``/tmp/perf-$pid.map``. Esta función "
98
+ "es segura para hilos. Aquí hay un ejemplo de entrada::"
73
99
100
+ # creo que esto debe quedar igual. Es solo código fuente.
74
101
#: ../Doc/c-api/perfmaps.rst:38
75
102
msgid ""
76
103
"# address size name\n"
77
104
"7f3529fcf759 b py::bar:/run/t.py"
78
105
msgstr ""
106
+ "# address size name\n"
107
+ "7f3529fcf759 b py::bar:/run/t.py"
79
108
80
109
#: ../Doc/c-api/perfmaps.rst:41
81
110
msgid ""
82
111
"Will call :c:func:`PyUnstable_PerfMapState_Init` before writing the entry, "
83
112
"if the perf map file is not already opened. Returns ``0`` on success, or the "
84
113
"same error codes as :c:func:`PyUnstable_PerfMapState_Init` on failure."
85
114
msgstr ""
115
+ "Llamará a :c:func:`PyUnstable_PerfMapState_Init` antes de escribir la "
116
+ "entrada, si el fichero perf map no está ya abierto. Retorna ``0`` en caso de "
117
+ "éxito, o los mismos códigos de error "
118
+ "que :c:func:`PyUnstable_PerfMapState_Init` en caso de fallo."
86
119
87
120
#: ../Doc/c-api/perfmaps.rst:47
88
121
msgid ""
@@ -91,3 +124,8 @@ msgid ""
91
124
"general, there shouldn't be a reason to explicitly call this, except to "
92
125
"handle specific scenarios such as forking."
93
126
msgstr ""
127
+ "Cierra el fichero perf map abierto "
128
+ "por :c:func:`PyUnstable_PerfMapState_Init`. Esto es llamado por el propio "
129
+ "tiempo de ejecución durante el cierre del intérprete. En general, no debería "
130
+ "haber una razón para llamar explícitamente a esto, excepto para manejar "
131
+ "escenarios específicos como la bifurcación."
0 commit comments