Skip to content

Traducción archivo c-api/intro #2177

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 32 additions & 18 deletions c-api/intro.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2021-12-09 10:48+0800\n"
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
"Language: es\n"
"PO-Revision-Date: 2022-11-14 17:55-0500\n"
"Last-Translator: David Orejuela <daorejuela1@outlook.com>\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.10.3\n"
"X-Generator: Poedit 3.2\n"

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

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

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

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

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

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

#: ../Doc/c-api/intro.rst:182
msgid "Usage::"
msgstr ""
msgstr "Uso::"

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

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

#: ../Doc/c-api/intro.rst:724
msgid ""
Expand Down Expand Up @@ -1191,15 +1217,3 @@ msgid ""
msgstr ""
"Consulte :file:`Misc/SpecialBuilds.txt` en la distribución fuente de Python "
"para obtener información más detallada."

#~ msgid ""
#~ ":c:func:`Py_Initialize` does not set the \"script argument list\" (``sys."
#~ "argv``). If this variable is needed by Python code that will be executed "
#~ "later, it must be set explicitly with a call to ``PySys_SetArgvEx(argc, "
#~ "argv, updatepath)`` after the call to :c:func:`Py_Initialize`."
#~ msgstr ""
#~ ":c:func:`Py_Initialize` no establece la \"lista de argumentos de "
#~ "script\" (``sys.argv``). Si el código de Python necesita esta variable "
#~ "que se ejecutará más adelante, debe establecerse explícitamente con una "
#~ "llamada a ``PySys_SetArgvEx(argc, argv, updatepath)`` después de la "
#~ "llamada a :c:func:`Py_Initialize`."