Skip to content

Commit 974f72e

Browse files
author
David Orejuela
authored
Traducción archivo c-api/intro (#2177)
Closes #2057
1 parent a9a0c29 commit 974f72e

File tree

1 file changed

+32
-18
lines changed

1 file changed

+32
-18
lines changed

c-api/intro.po

+32-18
Original file line numberDiff line numberDiff line change
@@ -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-12-09 10:48+0800\n"
15-
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
16-
"Language: es\n"
14+
"PO-Revision-Date: 2022-11-14 17:55-0500\n"
15+
"Last-Translator: David Orejuela <daorejuela1@outlook.com>\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.2\n"
2324

2425
#: ../Doc/c-api/intro.rst:8
2526
msgid "Introduction"
@@ -237,30 +238,43 @@ msgid ""
237238
"Ask the compiler to always inline a static inline function. The compiler can "
238239
"ignore it and decides to not inline the function."
239240
msgstr ""
241+
"Ordena al compilador a siempre usar inline en una función estática inline. "
242+
"El compilador puede ignorarlo y decidir no usar inline en la función."
240243

241244
#: ../Doc/c-api/intro.rst:119
242245
msgid ""
243246
"It can be used to inline performance critical static inline functions when "
244247
"building Python in debug mode with function inlining disabled. For example, "
245248
"MSC disables function inlining when building in debug mode."
246249
msgstr ""
250+
"Puede ser usado para usar inline en funciones estáticas inline de "
251+
"rendimiento crítico cuando se corre Python en modo de depuración con inline "
252+
"de funciones deshabilitado. Por ejemplo, MSC deshabilita el inline de "
253+
"funciones cuando se configura en modo de depuración."
247254

248255
#: ../Doc/c-api/intro.rst:123
249256
msgid ""
250257
"Marking blindly a static inline function with Py_ALWAYS_INLINE can result in "
251258
"worse performances (due to increased code size for example). The compiler is "
252259
"usually smarter than the developer for the cost/benefit analysis."
253260
msgstr ""
261+
"Marcar ciegamente una función estática inline con Py_ALWAYS_INLINE puede "
262+
"resultar en peor rendimientos (debido a un aumento del tamaño del código, "
263+
"por ejemplo). El compilador es generalmente más inteligente que el "
264+
"desarrollador para el análisis costo/beneficio."
254265

255266
#: ../Doc/c-api/intro.rst:127
256267
msgid ""
257268
"If Python is :ref:`built in debug mode <debug-build>` (if the ``Py_DEBUG`` "
258269
"macro is defined), the :c:macro:`Py_ALWAYS_INLINE` macro does nothing."
259270
msgstr ""
271+
"Si Python está :ref:`configurado en modo de depuración <debug-build>` (si el "
272+
"macro ``Py_DEBUG`` está definido), el macro :c:macro:`Py_ALWAYS_INLINE` no "
273+
"hace nada."
260274

261275
#: ../Doc/c-api/intro.rst:130
262276
msgid "It must be specified before the function return type. Usage::"
263-
msgstr ""
277+
msgstr "Debe ser especificado antes del tipo de retorno de la función. Uso::"
264278

265279
#: ../Doc/c-api/intro.rst:138
266280
msgid ""
@@ -314,10 +328,13 @@ msgid ""
314328
"consumption: useful on LTO+PGO builds which heavily inline code (see :issue:"
315329
"`33720`)."
316330
msgstr ""
331+
"Deshabilita el uso de inline en una función. Por ejemplo, reduce el consumo "
332+
"de la pila C: útil en compilaciones LTO+PGO que usan mucho inline (ver :"
333+
"issue:`33720`)."
317334

318335
#: ../Doc/c-api/intro.rst:182
319336
msgid "Usage::"
320-
msgstr ""
337+
msgstr "Uso::"
321338

322339
#: ../Doc/c-api/intro.rst:190
323340
msgid ""
@@ -812,6 +829,10 @@ msgid ""
812829
"type). See :pep:`353` for details. ``PY_SSIZE_T_MAX`` is the largest "
813830
"positive value of type :c:type:`Py_ssize_t`."
814831
msgstr ""
832+
"Un tipo integral con signo tal que ``sizeof(Py_ssize_t) == sizeof(size_t)``. "
833+
"C99 no define directamente tal cosa (size_t es un tipo integral sin signo). "
834+
"Vea :pep:`353` para más detalles. ``PY_SSIZE_T_MAX`` es el valor positivo "
835+
"más grande del tipo :c:type:`Py_ssize_t`."
815836

816837
#: ../Doc/c-api/intro.rst:551
817838
msgid "Exceptions"
@@ -1025,6 +1046,11 @@ msgid ""
10251046
"later, setting :c:member:`PyConfig.argv` and :c:member:`PyConfig.parse_argv` "
10261047
"must be set: see :ref:`Python Initialization Configuration <init-config>`."
10271048
msgstr ""
1049+
":c:func:`Py_Initialize` no establece la \"lista de argumentos de "
1050+
"script\" (``sys.argv``). Si esta variable es necesaria por el código Python "
1051+
"que se ejecutará más tarde, debe establecerse :c:member:`PyConfig.argv` y :c:"
1052+
"member:`PyConfig.parse_argv`: consulte :ref:`Python Initialization "
1053+
"Configuration <init-config>`."
10281054

10291055
#: ../Doc/c-api/intro.rst:724
10301056
msgid ""
@@ -1191,15 +1217,3 @@ msgid ""
11911217
msgstr ""
11921218
"Consulte :file:`Misc/SpecialBuilds.txt` en la distribución fuente de Python "
11931219
"para obtener información más detallada."
1194-
1195-
#~ msgid ""
1196-
#~ ":c:func:`Py_Initialize` does not set the \"script argument list\" (``sys."
1197-
#~ "argv``). If this variable is needed by Python code that will be executed "
1198-
#~ "later, it must be set explicitly with a call to ``PySys_SetArgvEx(argc, "
1199-
#~ "argv, updatepath)`` after the call to :c:func:`Py_Initialize`."
1200-
#~ msgstr ""
1201-
#~ ":c:func:`Py_Initialize` no establece la \"lista de argumentos de "
1202-
#~ "script\" (``sys.argv``). Si el código de Python necesita esta variable "
1203-
#~ "que se ejecutará más adelante, debe establecerse explícitamente con una "
1204-
#~ "llamada a ``PySys_SetArgvEx(argc, argv, updatepath)`` después de la "
1205-
#~ "llamada a :c:func:`Py_Initialize`."

0 commit comments

Comments
 (0)