@@ -10,79 +10,112 @@ msgstr ""
1010"Project-Id-Version : Python en Español 3.12\n "
1111"Report-Msgid-Bugs-To : \n "
1212"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 <[email protected] >\n "
1615"
Language-Team :
es <[email protected] >\n "
17- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
16+ "Language : es \n "
1817"MIME-Version : 1.0\n "
1918"Content-Type : text/plain; charset=utf-8\n "
2019"Content-Transfer-Encoding : 8bit\n "
20+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
2121"Generated-By : Babel 2.16.0\n "
22+ "X-Generator : Poedit 3.5\n "
2223
2324#: ../Doc/c-api/perfmaps.rst:6
2425msgid "Support for Perf Maps"
25- msgstr ""
26+ msgstr "Soporte para Mapeo Perf "
2627
2728#: ../Doc/c-api/perfmaps.rst:8
2829msgid ""
2930"On supported platforms (as of this writing, only Linux), the runtime can "
3031"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`` "
3334"directory, which contains entries that can map a section of executable code "
3435"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>`_."
3738msgstr ""
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>`_."
3848
3949#: ../Doc/c-api/perfmaps.rst:16
4050msgid ""
4151"In Python, these helper APIs can be used by libraries and features that rely "
4252"on generating machine code on the fly."
4353msgstr ""
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."
4456
4557#: ../Doc/c-api/perfmaps.rst:19
4658msgid ""
4759"Note that holding the Global Interpreter Lock (GIL) is not required for "
4860"these APIs."
4961msgstr ""
62+ "Tenga en cuenta que para estas APIs no es necesario mantener el Bloqueo "
63+ "Global del Intérprete (GIL)."
5064
5165#: ../Doc/c-api/perfmaps.rst:23
5266msgid ""
5367"Open the ``/tmp/perf-$pid.map`` file, unless it's already opened, and create "
5468"a lock to ensure thread-safe writes to the file (provided the writes are "
5569"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."
5973msgstr ""
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."
6081
6182#: ../Doc/c-api/perfmaps.rst:29
6283msgid ""
6384"Returns ``0`` on success, ``-1`` on failure to create/open the perf map "
6485"file, or ``-2`` on failure to create a lock. Check ``errno`` for more "
6586"information about the cause of a failure."
6687msgstr ""
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."
6791
6892#: ../Doc/c-api/perfmaps.rst:35
6993msgid ""
7094"Write one single entry to the ``/tmp/perf-$pid.map`` file. This function is "
7195"thread safe. Here is what an example entry looks like::"
7296msgstr ""
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::"
7399
100+ # creo que esto debe quedar igual. Es solo código fuente.
74101#: ../Doc/c-api/perfmaps.rst:38
75102msgid ""
76103"# address size name\n"
77104"7f3529fcf759 b py::bar:/run/t.py"
78105msgstr ""
106+ "# address size name\n"
107+ "7f3529fcf759 b py::bar:/run/t.py"
79108
80109#: ../Doc/c-api/perfmaps.rst:41
81110msgid ""
82111"Will call :c:func:`PyUnstable_PerfMapState_Init` before writing the entry, "
83112"if the perf map file is not already opened. Returns ``0`` on success, or the "
84113"same error codes as :c:func:`PyUnstable_PerfMapState_Init` on failure."
85114msgstr ""
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."
86119
87120#: ../Doc/c-api/perfmaps.rst:47
88121msgid ""
@@ -91,3 +124,8 @@ msgid ""
91124"general, there shouldn't be a reason to explicitly call this, except to "
92125"handle specific scenarios such as forking."
93126msgstr ""
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