@@ -11,15 +11,16 @@ msgstr ""
1111"Project-Id-Version : Python 3.8\n "
1212"Report-Msgid-Bugs-To : \n "
1313"POT-Creation-Date : 2022-10-25 19:47+0200\n "
14- "PO-Revision-Date : 2021-10-21 00:37-0300 \n "
14+ "PO-Revision-Date : 2023-01-14 14:22-0500 \n "
1515"Last-Translator : CatalinaArrey <CatalinaArreyA@gmail.com>\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.10.3\n "
23+ "X-Generator : Poedit 3.0.1\n "
2324
2425#: ../Doc/c-api/init.rst:8
2526msgid "Initialization, Finalization, and Threads"
@@ -270,10 +271,9 @@ msgstr ""
270271"c:func:`Py_GetPath`."
271272
272273#: ../Doc/c-api/init.rst:113
273- #, fuzzy
274274msgid "Private flag used by ``_freeze_module`` and ``frozenmain`` programs."
275275msgstr ""
276- "Indicador privado utilizado por los programas ``_freeze_importlib `` y "
276+ "Indicador privado utilizado por los programas ``_freeze_module `` y "
277277"``frozenmain``."
278278
279279#: ../Doc/c-api/init.rst:117
@@ -627,6 +627,10 @@ msgid ""
627627"stdio_encoding` and :c:member:`PyConfig.stdio_errors` should be used "
628628"instead, see :ref:`Python Initialization Configuration <init-config>`."
629629msgstr ""
630+ "Esta API se mantiene para la compatibilidad con versiones anteriores: en su "
631+ "lugar, se debe usar la configuración de :c:member:`PyConfig.stdio_encoding` "
632+ "y :c:member:`PyConfig.stdio_errors`, consulta :ref:`Configuración de "
633+ "inicialización de Python <init-config>`."
630634
631635#: ../Doc/c-api/init.rst:331
632636msgid ""
@@ -686,6 +690,9 @@ msgid ""
686690"program_name` should be used instead, see :ref:`Python Initialization "
687691"Configuration <init-config>`."
688692msgstr ""
693+ "Esta API se mantiene para la compatibilidad con versiones anteriores: en su "
694+ "lugar, se debe usar la configuración de :c:member:`PyConfig.program_name`, "
695+ "consulta :ref:`Configuración de inicialización de Python <init-config>`."
689696
690697#: ../Doc/c-api/init.rst:367
691698msgid ""
@@ -714,13 +721,12 @@ msgstr ""
714721#: ../Doc/c-api/init.rst:378 ../Doc/c-api/init.rst:529
715722#: ../Doc/c-api/init.rst:644 ../Doc/c-api/init.rst:680
716723#: ../Doc/c-api/init.rst:706
717- #, fuzzy
718724msgid ""
719725"Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a :c:expr:"
720726"`wchar_*` string."
721727msgstr ""
722- "Use :c:func:`Py_DecodeLocale` para decodificar una cadena de bytes para "
723- "obtener una cadena :c:type :`wchar_ *`."
728+ "Utilice :c:func:`Py_DecodeLocale` para decodificar una cadena de bytes para "
729+ "obtener una cadena de tipo :c:expr :`wchar_*`."
724730
725731#: ../Doc/c-api/init.rst:388
726732msgid ""
@@ -898,6 +904,10 @@ msgid ""
898904"be used instead, see :ref:`Python Initialization Configuration <init-"
899905"config>`."
900906msgstr ""
907+ "Esta API se mantiene para la compatibilidad con versiones anteriores: en su "
908+ "lugar, se debe usar la configuración de :c:member:`PyConfig."
909+ "module_search_paths` y :c:member:`PyConfig.module_search_paths_set`, "
910+ "consulta :ref:`Configuración de inicialización de Python <init-config>`."
901911
902912# Actualmente se está usando el sistema operativo macOS, mientras que Mac OS X
903913# es un versión más antigua de la misma.
@@ -958,7 +968,6 @@ msgstr ""
958968"caracteres que se parece a ::"
959969
960970#: ../Doc/c-api/init.rst:551
961- #, fuzzy
962971msgid ""
963972"The first word (up to the first space character) is the current Python "
964973"version; the first characters are the major and minor version separated by a "
@@ -974,7 +983,7 @@ msgstr ""
974983
975984#: ../Doc/c-api/init.rst:556
976985msgid "See also the :c:var:`Py_Version` constant."
977- msgstr ""
986+ msgstr "Consulta también la constante :c:var:`Py_Version`. "
978987
979988#: ../Doc/c-api/init.rst:563
980989msgid ""
@@ -1049,6 +1058,10 @@ msgid ""
10491058"should be used instead, see :ref:`Python Initialization Configuration <init-"
10501059"config>`."
10511060msgstr ""
1061+ "Esta API se mantiene para la compatibilidad con versiones anteriores: en su "
1062+ "lugar, se debe usar la configuración de :c:member:`PyConfig.argv`, :c:member:"
1063+ "`PyConfig.parse_argv` y :c:member:`PyConfig.safe_path`, consulta :ref:"
1064+ "`Configuración de inicialización de Python <init-config>`."
10521065
10531066#: ../Doc/c-api/init.rst:624
10541067msgid ""
@@ -1105,6 +1118,8 @@ msgid ""
11051118"See also :c:member:`PyConfig.orig_argv` and :c:member:`PyConfig.argv` "
11061119"members of the :ref:`Python Initialization Configuration <init-config>`."
11071120msgstr ""
1121+ "Consulta también los miembros de :c:member:`PyConfig.orig_argv` y :c:member:"
1122+ "`PyConfig.argv` de :ref:`Python Initialization Configuration <init-config>`."
11081123
11091124#: ../Doc/c-api/init.rst:651
11101125msgid ""
@@ -1135,6 +1150,10 @@ msgid ""
11351150"argv` and :c:member:`PyConfig.parse_argv` should be used instead, see :ref:"
11361151"`Python Initialization Configuration <init-config>`."
11371152msgstr ""
1153+ "Esta API se mantiene para la compatibilidad con versiones anteriores: en su "
1154+ "lugar, se debe usar la configuración de :c:member:`PyConfig.argv` y :c:"
1155+ "member:`PyConfig.parse_argv`, consulta :ref:`Configuración de inicialización "
1156+ "de Python <init-config>`."
11381157
11391158#: ../Doc/c-api/init.rst:676
11401159msgid ""
@@ -1156,6 +1175,9 @@ msgid ""
11561175"home` should be used instead, see :ref:`Python Initialization Configuration "
11571176"<init-config>`."
11581177msgstr ""
1178+ "Esta API se mantiene para la compatibilidad con versiones anteriores: en su "
1179+ "lugar, se debe usar la configuración de :c:member:`PyConfig.home`, consulta :"
1180+ "ref:`Configuración de inicialización de Python <init-config>`."
11591181
11601182#: ../Doc/c-api/init.rst:697
11611183msgid ""
@@ -1366,6 +1388,11 @@ msgid ""
13661388"`Py_NewInterpreter`), but mixing multiple interpreters and the "
13671389"``PyGILState_*`` API is unsupported."
13681390msgstr ""
1391+ "Tenga en cuenta que las funciones ``PyGILState_*`` asumen que solo hay un "
1392+ "intérprete global (creado automáticamente por :c:func:`Py_Initialize`). "
1393+ "Python admite la creación de intérpretes adicionales (usando :c:func:"
1394+ "`Py_NewInterpreter`), pero la mezcla de varios intérpretes y la API "
1395+ "``PyGILState_*`` no está soportada."
13691396
13701397#: ../Doc/c-api/init.rst:860
13711398msgid "Cautions about fork()"
@@ -1479,14 +1506,13 @@ msgstr ""
14791506"pertenezcan."
14801507
14811508#: ../Doc/c-api/init.rst:916
1482- #, fuzzy
14831509msgid ""
14841510"This data structure represents the state of a single thread. The only "
14851511"public data member is :attr:`interp` (:c:expr:`PyInterpreterState *`), which "
14861512"points to this thread's interpreter state."
14871513msgstr ""
14881514"Esta estructura de datos representa el estado de un solo hilo. El único "
1489- "miembro de datos públicos es :attr:`interp` (:c:type :`PyInterpreterState "
1515+ "miembro de datos públicos es :attr:`interp` (:c:expr :`PyInterpreterState "
14901516"*`), que apunta al estado del intérprete de este hilo."
14911517
14921518#: ../Doc/c-api/init.rst:929
@@ -1894,21 +1920,27 @@ msgstr "Obtiene el intérprete del estado del hilo de Python *tstate*."
18941920#: ../Doc/c-api/init.rst:1193
18951921msgid "Suspend tracing and profiling in the Python thread state *tstate*."
18961922msgstr ""
1923+ "Suspender el seguimiento y el perfilado en el estado del hilo de Python "
1924+ "*tstate*."
18971925
18981926#: ../Doc/c-api/init.rst:1195
18991927msgid "Resume them using the :c:func:`PyThreadState_LeaveTracing` function."
1900- msgstr ""
1928+ msgstr "Reanudelos usando la función :c:func:`PyThreadState_LeaveTracing`. "
19011929
19021930#: ../Doc/c-api/init.rst:1202
19031931msgid ""
19041932"Resume tracing and profiling in the Python thread state *tstate* suspended "
19051933"by the :c:func:`PyThreadState_EnterTracing` function."
19061934msgstr ""
1935+ "Reanudar el seguimiento y el perfilado en el estado del hilo de Python "
1936+ "*tstate* suspendido por la función :c:func:`PyThreadState_EnterTracing`."
19071937
19081938#: ../Doc/c-api/init.rst:1205
19091939msgid ""
19101940"See also :c:func:`PyEval_SetTrace` and :c:func:`PyEval_SetProfile` functions."
19111941msgstr ""
1942+ "Consulte también las funciones :c:func:`PyEval_SetTrace` y :c:func:"
1943+ "`PyEval_SetProfile`."
19121944
19131945#: ../Doc/c-api/init.rst:1213
19141946msgid "Get the current interpreter."
@@ -1974,6 +2006,7 @@ msgid ""
19742006"The *frame* parameter changed from ``PyFrameObject*`` to "
19752007"``_PyInterpreterFrame*``."
19762008msgstr ""
2009+ "El parámetro *frame* cambió de ``PyFrameObject*`` a ``_PyInterpreterFrame*``."
19772010
19782011#: ../Doc/c-api/init.rst:1259
19792012msgid "Get the frame evaluation function."
@@ -2024,12 +2057,11 @@ msgstr ""
20242057"pendiente (si existe) para el hilo. Esto no lanza excepciones."
20252058
20262059#: ../Doc/c-api/init.rst:1293
2027- #, fuzzy
20282060msgid ""
20292061"The type of the *id* parameter changed from :c:expr:`long` to :c:expr:"
20302062"`unsigned long`."
20312063msgstr ""
2032- "El tipo del parámetro *id* cambia de :c:type :`long` a :c:type :`unsigned "
2064+ "El tipo del parámetro *id* cambia de :c:expr :`long` a :c:expr :`unsigned "
20332065"long`."
20342066
20352067#: ../Doc/c-api/init.rst:1299
@@ -2325,7 +2357,6 @@ msgstr ""
23252357"acceder a lo anterior."
23262358
23272359#: ../Doc/c-api/init.rst:1481
2328- #, fuzzy
23292360msgid ""
23302361"Also note that combining this functionality with ``PyGILState_*`` APIs is "
23312362"delicate, because these APIs assume a bijection between Python thread states "
@@ -2336,13 +2367,13 @@ msgid ""
23362367"`ctypes`) using these APIs to allow calling of Python code from non-Python "
23372368"created threads will probably be broken when using sub-interpreters."
23382369msgstr ""
2339- "También tenga en cuenta que la combinación de esta funcionalidad con :c:func: "
2340- "`PyGILState_\\ *` API es delicada, porque estas API suponen una biyección "
2370+ "También tenga en cuenta que la combinación de esta funcionalidad con "
2371+ "`` PyGILState_*`` APIs es delicada, porque estas APIs suponen una biyección "
23412372"entre los estados de hilo de Python e hilos a nivel del sistema operativo, "
23422373"una suposición rota por la presencia de subinterpretes. Se recomienda "
23432374"encarecidamente que no cambie los subinterpretes entre un par de llamadas "
23442375"coincidentes :c:func:`PyGILState_Ensure` y :c:func:`PyGILState_Release`. "
2345- "Además, las extensiones (como :mod:`ctypes`) que usan estas API para "
2376+ "Además, las extensiones (como :mod:`ctypes`) que usan estas APIs para "
23462377"permitir la llamada de código Python desde hilos no creados por Python "
23472378"probablemente se rompan cuando se usan subinterpretes."
23482379
@@ -2674,7 +2705,7 @@ msgstr ""
26742705
26752706#: ../Doc/c-api/init.rst:1664
26762707msgid "See also the :func:`sys.setprofile` function."
2677- msgstr ""
2708+ msgstr "Consulte también la función :func:`sys.setprofile`. "
26782709
26792710#: ../Doc/c-api/init.rst:1666 ../Doc/c-api/init.rst:1680
26802711msgid "The caller must hold the :term:`GIL`."
@@ -2700,7 +2731,7 @@ msgstr ""
27002731
27012732#: ../Doc/c-api/init.rst:1678
27022733msgid "See also the :func:`sys.settrace` function."
2703- msgstr ""
2734+ msgstr "Consulte también la función :func:`sys.settrace`. "
27042735
27052736#: ../Doc/c-api/init.rst:1686
27062737msgid "Advanced Debugger Support"
@@ -2755,7 +2786,6 @@ msgid "Thread Local Storage Support"
27552786msgstr "Soporte de almacenamiento local de hilo"
27562787
27572788#: ../Doc/c-api/init.rst:1729
2758- #, fuzzy
27592789msgid ""
27602790"The Python interpreter provides low-level support for thread-local storage "
27612791"(TLS) which wraps the underlying native TLS implementation to support the "
@@ -2767,9 +2797,9 @@ msgstr ""
27672797"El intérprete de Python proporciona soporte de bajo nivel para el "
27682798"almacenamiento local de hilos (TLS) que envuelve la implementación de TLS "
27692799"nativa subyacente para admitir la API de almacenamiento local de hilos de "
2770- "nivel Python (:class:`threading.local`). Las API de nivel CPython C son "
2800+ "nivel Python (:class:`threading.local`). Las APIs de nivel CPython C son "
27712801"similares a las ofrecidas por pthreads y Windows: use una clave de hilo y "
2772- "funciones para asociar un valor de :c:type :`void*` por hilo."
2802+ "funciones para asociar un valor de :c:expr :`void*` por hilo."
27732803
27742804#: ../Doc/c-api/init.rst:1736
27752805msgid ""
@@ -2789,16 +2819,15 @@ msgstr ""
27892819"hilos."
27902820
27912821#: ../Doc/c-api/init.rst:1743
2792- #, fuzzy
27932822msgid ""
27942823"None of these API functions handle memory management on behalf of the :c:"
27952824"expr:`void*` values. You need to allocate and deallocate them yourself. If "
27962825"the :c:expr:`void*` values happen to be :c:expr:`PyObject*`, these functions "
27972826"don't do refcount operations on them either."
27982827msgstr ""
27992828"Ninguna de estas funciones API maneja la administración de memoria en nombre "
2800- "de los valores :c:type :`void*`. Debe asignarlos y desasignarlos usted mismo. "
2801- "Si los valores :c:type :`void*` son :c:type :`PyObject*`, estas funciones "
2829+ "de los valores :c:expr :`void*`. Debe asignarlos y desasignarlos usted mismo. "
2830+ "Si los valores :c:expr :`void*` son :c:expr :`PyObject*`, estas funciones "
28022831"tampoco realizan operaciones de conteo de referencias en ellos."
28032832
28042833#: ../Doc/c-api/init.rst:1751
@@ -2807,15 +2836,14 @@ msgstr ""
28072836"API de almacenamiento específico de hilo (TSS, *Thread Specific Storage*)"
28082837
28092838#: ../Doc/c-api/init.rst:1753
2810- #, fuzzy
28112839msgid ""
28122840"TSS API is introduced to supersede the use of the existing TLS API within "
28132841"the CPython interpreter. This API uses a new type :c:type:`Py_tss_t` "
28142842"instead of :c:expr:`int` to represent thread keys."
28152843msgstr ""
28162844"La API de TSS se introduce para reemplazar el uso de la API TLS existente "
28172845"dentro del intérprete de CPython. Esta API utiliza un nuevo tipo :c:type:"
2818- "`Py_tss_t` en lugar de :c:type :`int` para representar las claves del hilo."
2846+ "`Py_tss_t` en lugar de :c:expr :`int` para representar las claves del hilo."
28192847
28202848#: ../Doc/c-api/init.rst:1759
28212849msgid "\" A New C-API for Thread-Local Storage in CPython\" (:pep:`539`)"
@@ -2876,24 +2904,22 @@ msgstr ""
28762904"dinámica."
28772905
28782906#: ../Doc/c-api/init.rst:1796
2879- #, fuzzy
28802907msgid ""
28812908"Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first "
28822909"calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals "
28832910"have been unassigned. This is a no-op if the *key* argument is ``NULL``."
28842911msgstr ""
2885- "Libera la clave *key * asignada por :c:func:`PyThread_tss_alloc`, después de "
2912+ "Libera la *clave * asignada por :c:func:`PyThread_tss_alloc`, después de "
28862913"llamar por primera vez :c:func:`PyThread_tss_delete` para asegurarse de que "
2887- "los hilos locales asociados no hayan sido asignados. Esto es un * no-op* si "
2888- "el argumento *key * es `NULL`."
2914+ "los hilos locales asociados no hayan sido asignados. Esto es un no-op si el "
2915+ "argumento *clave * es `` NULL` `."
28892916
28902917#: ../Doc/c-api/init.rst:1802
2891- #, fuzzy
28922918msgid ""
28932919"A freed key becomes a dangling pointer. You should reset the key to ``NULL``."
28942920msgstr ""
2895- "Una clave (*key*) liberada se convierte en un puntero colgante (*dangling "
2896- "pointer*), debe restablecer la llave a `NULL`."
2921+ "Una clave liberada se convierte en un puntero colgante. Debería restablecer "
2922+ "la clave a `` NULL` `."
28972923
28982924#: ../Doc/c-api/init.rst:1807
28992925msgid "Methods"
@@ -2948,24 +2974,22 @@ msgstr ""
29482974"la misma llave; llamarla en una llave ya destruida es un *no-op*."
29492975
29502976#: ../Doc/c-api/init.rst:1841
2951- #, fuzzy
29522977msgid ""
29532978"Return a zero value to indicate successfully associating a :c:expr:`void*` "
29542979"value with a TSS key in the current thread. Each thread has a distinct "
29552980"mapping of the key to a :c:expr:`void*` value."
29562981msgstr ""
29572982"Retorna un valor cero para indicar la asociación exitosa de un valor a :c:"
2958- "type :`void*` con una clave TSS en el hilo actual. Cada hilo tiene un mapeo "
2959- "distinto de la clave a un valor :c:type :`void*`."
2983+ "expr :`void*` con una clave TSS en el hilo actual. Cada hilo tiene un mapeo "
2984+ "distinto de la clave a un valor :c:expr :`void*`."
29602985
29612986#: ../Doc/c-api/init.rst:1848
2962- #, fuzzy
29632987msgid ""
29642988"Return the :c:expr:`void*` value associated with a TSS key in the current "
29652989"thread. This returns ``NULL`` if no value is associated with the key in the "
29662990"current thread."
29672991msgstr ""
2968- "Retorna el valor :c:type :`void*` asociado con una clave TSS en el hilo "
2992+ "Retorna el valor :c:expr :`void*` asociado con una clave TSS en el hilo "
29692993"actual. Esto retorna ``NULL`` si no hay ningún valor asociado con la clave "
29702994"en el hilo actual."
29712995
0 commit comments