From 47dcc8da5821ff35d965bf14094928c26b72073d Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 14 Apr 2025 17:39:19 -0400 Subject: [PATCH 01/11] Added missing translations and fixed fuzzy ones. --- c-api/refcounting.po | 117 ++++++++++++++++++++++++++++++++----------- 1 file changed, 89 insertions(+), 28 deletions(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index bac90a57c8..35c604f836 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -26,13 +26,14 @@ msgid "Reference Counting" msgstr "Conteo de referencias" #: ../Doc/c-api/refcounting.rst:10 +#; Matt: Spellcheck and clarity #, fuzzy msgid "" "The functions and macros in this section are used for managing reference " "counts of Python objects." msgstr "" -"Los macros de esta sección se utilizan para administrar conteos de " -"referencia de objetos Python." +"Las funciónes y macros de esta sección se utilizan para administrar conteos " +"de referencia de objetos en Python." #: ../Doc/c-api/refcounting.rst:16 #, fuzzy @@ -40,53 +41,77 @@ msgid "Get the reference count of the Python object *o*." msgstr "Incrementar el recuento de referencia para el objeto *o*." #: ../Doc/c-api/refcounting.rst:18 +#; Matt: Added translation msgid "" "Note that the returned value may not actually reflect how many references to " -"the object are actually held. For example, some objects are :term:" +"the object are actually held. For example, some objects are :term:" "`immortal` and have a very high refcount that does not reflect the actual " "number of references. Consequently, do not rely on the returned value to be " "accurate, other than a value of 0 or 1." msgstr "" +"Ten cuenta que el valor devuelto puede que no reflejar cúantas " +"referencias al objecto existen realmente. Por ejemplo, algunos objetos son " +":term:'inmortales' y tienen un refcount muy alto que no refleja el número " +"real de referencias. Por lo tanto, no confíes en que el valor devuelto " +"sea presciso, salvo cuando sea 0 o 1. " + #: ../Doc/c-api/refcounting.rst:24 +#; Matt: Added translation msgid "" "Use the :c:func:`Py_SET_REFCNT()` function to set an object reference count." msgstr "" +"Usa la función :c:func:`Py_SET_REFCNT()` para establecer la cuenta de " +"referencias de un objeto." #: ../Doc/c-api/refcounting.rst:26 +#; Matt: Added translation msgid ":c:func:`Py_REFCNT()` is changed to the inline static function." -msgstr "" +msgstr ":c:func:`Py_REFCNT()` se convierte en una función estática en línea." + + #: ../Doc/c-api/refcounting.rst:29 +#; Matt: Added translation msgid "The parameter type is no longer :c:expr:`const PyObject*`." -msgstr "" +msgstr "El tipo de parámetro ya no es :c:expr:`const PyObject*`." #: ../Doc/c-api/refcounting.rst:35 +#; Matt: Spellcheck and clarity #, fuzzy msgid "Set the object *o* reference counter to *refcnt*." -msgstr "Incrementar el recuento de referencia para el objeto *o*." +msgstr "Establece la cuenta de referencias del objeto *o* al valor *refcnt*." #: ../Doc/c-api/refcounting.rst:37 +#; Matt: Added translation msgid "" "On :ref:`Python build with Free Threading `, if " "*refcnt* is larger than ``UINT32_MAX``, the object is made :term:`immortal`." msgstr "" +"En una :ref:`compilación de Python con Free Threading " +"`, si *refcnt* es mas mayor que ``UINT32_MAX``, el objeto se convierte en " +":term:`inmortal`." #: ../Doc/c-api/refcounting.rst:40 ../Doc/c-api/refcounting.rst:53 #: ../Doc/c-api/refcounting.rst:119 +#; Matt: Added translation msgid "This function has no effect on :term:`immortal` objects." -msgstr "" +msgstr "Esta función no afecta a los objetos :term:`inmortales`." #: ../Doc/c-api/refcounting.rst:44 ../Doc/c-api/refcounting.rst:68 #: ../Doc/c-api/refcounting.rst:147 +#; Matt: Added translation msgid "Immortal objects are not modified." -msgstr "" +msgstr "Los objetos inmortales no se modifican." #: ../Doc/c-api/refcounting.rst:50 +#; Matt: Added translation msgid "" "Indicate taking a new :term:`strong reference` to object *o*, indicating it " "is in use and should not be destroyed." msgstr "" +"Indica tomar una nueva :term:`strong reference` al objeto *o*, lo que " +"indica que está en uso y no debe ser destruido. " #: ../Doc/c-api/refcounting.rst:55 msgid "" @@ -99,8 +124,10 @@ msgstr "" "`Py_NewRef` se puede utilizar para crear un nuevo :term:`strong reference`." #: ../Doc/c-api/refcounting.rst:59 +#; Matt: Added translation msgid "When done using the object, release is by calling :c:func:`Py_DECREF`." -msgstr "" +msgstr "Cuando se termine de usar el objeto, se libera llamando a " +":c:func:`Py_DECREF`." #: ../Doc/c-api/refcounting.rst:61 msgid "" @@ -117,33 +144,38 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:74 +#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Similar to :c:func:`Py_INCREF`, but the object *o* can be ``NULL``, in which " "case this has no effect." -msgstr "Similar a :c:func:`Py_NewRef`, pero el objeto *o* puede ser NULL." +msgstr "" +"Similar a :c:func:`Py_INCREF`, pero el objeto *o* puede ser ``NULL``, en cuyo " +"caso esto no tiene efecto." #: ../Doc/c-api/refcounting.rst:77 msgid "See also :c:func:`Py_XNewRef`." msgstr "Ver también :c:func:`Py_XNewRef`." #: ../Doc/c-api/refcounting.rst:82 +#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Create a new :term:`strong reference` to an object: call :c:func:`Py_INCREF` " "on *o* and return the object *o*." msgstr "" -"Crea un nuevo :term:`strong reference` a un objeto: incrementa el recuento " -"de referencias del objeto *o* y retorna el objeto *o*." +"Crea una nueva :term:`strong reference` a un objeto: llama a " +":c:func:`Py_INCREF` sobre *o* y devuelve el objeto *o*." #: ../Doc/c-api/refcounting.rst:85 +#; Matt: Spellcheck and clarity #, fuzzy msgid "" "When the :term:`strong reference` is no longer needed, :c:func:`Py_DECREF` " "should be called on it to release the reference." msgstr "" -"Cuando el :term:`strong reference` ya no sea necesario :c:func:`Py_DECREF` " -"debe ser llamado para disminuir el recuento de referencias del objeto." +"Cuando la :term:`strong reference` ya no sea necesaria, se debe llamar a " +":c:func:`Py_DECREF` para disminuir el recuento de referencias del objeto." #: ../Doc/c-api/refcounting.rst:88 msgid "" @@ -184,23 +216,27 @@ msgid "If the object *o* is ``NULL``, the function just returns ``NULL``." msgstr "Si el objeto *o* es ``NULL``, la función solo retorna ``NULL``." #: ../Doc/c-api/refcounting.rst:116 +#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Release a :term:`strong reference` to object *o*, indicating the reference " "is no longer used." msgstr "" -"Crea un nuevo :term:`strong reference` a un objeto: incrementa el recuento " -"de referencias del objeto *o* y retorna el objeto *o*." +"Libera una :term:`strong reference` al objeto *o*, indicando que la " +"referencia ya no se usa." #: ../Doc/c-api/refcounting.rst:121 +#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Once the last :term:`strong reference` is released (i.e. the object's " "reference count reaches 0), the object's type's deallocation function (which " "must not be ``NULL``) is invoked." msgstr "" -"Si el recuento de referencias llega a cero, se invoca la función de " -"desasignación del tipo de objeto (que no debe ser ``NULL``)." +"Una vez que la última :term:`strong reference`sea liberada (por ejemplo, cuando " +"la cuenta de referencias del objeto llegue a 0), se invoca la función de " +"desasignación del tipo de objeto (la cual no debe ser ``NULL``)." + #: ../Doc/c-api/refcounting.rst:126 msgid "" @@ -225,6 +261,7 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:138 +#; Matt Spellcheck and clarity #, fuzzy msgid "" "The deallocation function can cause arbitrary Python code to be invoked (e." @@ -238,22 +275,26 @@ msgid "" "call :c:func:`Py_DECREF` for the temporary variable." msgstr "" "La función de desasignación puede hacer que se invoque un código arbitrario " -"de Python (por ejemplo, cuando se desasigna una instancia de clase con un " -"método :meth:`__del__`). Si bien las excepciones en dicho código no se " -"propagan, el código ejecutado tiene acceso libre a todas las variables " +"de Python (por ejemplo, cuando se desasigna una instancia de clase con el " +"método :meth:`__del__`). Si las excepciones en dicho código no se " +"propagan, el código ejecutado tendrá acceso libre a todas las variables " "globales de Python. Esto significa que cualquier objeto al que se pueda " -"acceder desde una variable global debe estar en un estado coherente antes de " -"invocar :c:func:`Py_DECREF`. Por ejemplo, el código para eliminar un objeto " -"de una lista debe copiar una referencia al objeto eliminado en una variable " -"temporal, actualizar la estructura de datos de la lista y luego llamar a :c:" -"func:`Py_DECREF` para la variable temporal." +"acceder desde una variable global deberia estar en un estado coherente antes " +"de invocar a :c:func:`Py_DECREF`. Por ejemplo, el código para eliminar un " +"objeto de una lista debe copiar una referencia al objeto eliminado en una " +"variable temporal, actualizar la estructura de datos de la lista y luego " +"llamar a :c:func:`Py_DECREF` para la variable temporal." #: ../Doc/c-api/refcounting.rst:153 +#; Matt: Added translation msgid "" "Similar to :c:func:`Py_DECREF`, but the object *o* can be ``NULL``, in which " "case this has no effect. The same warning from :c:func:`Py_DECREF` applies " "here as well." msgstr "" +"Similar a :c:func:`Py_DECREF`, pero el objeto *o* puede ser ``NULL``, en " +"cuyo caso esto no tendría efecto alguno. El mismo aviso de " +":c:func:`Py_DECREF` aplica aqui también." #: ../Doc/c-api/refcounting.rst:160 #, fuzzy @@ -284,10 +325,13 @@ msgstr "" "basura." #: ../Doc/c-api/refcounting.rst:171 +#; Matt: Added translation msgid "" "The macro argument is now only evaluated once. If the argument has side " "effects, these are no longer duplicated." msgstr "" +"Ahora, el macro argumento solo se evalua una vez. Si el argumento tiene " +"efectos secundarios, estos ya no se duplican." #: ../Doc/c-api/refcounting.rst:178 #, fuzzy @@ -311,14 +355,19 @@ msgstr "" "en tiempo de ejecución de Python." #: ../Doc/c-api/refcounting.rst:192 +#; Matt: Added translation msgid "" "Macro safely releasing a :term:`strong reference` to object *dst* and " "setting *dst* to *src*." msgstr "" +"Un macro que libera de forma segura un :term:`strong reference` al objeto " +"*dist* y establece *dist* al valor *src*." #: ../Doc/c-api/refcounting.rst:195 +#; Matt: Added translation msgid "As in case of :c:func:`Py_CLEAR`, \"the obvious\" code can be deadly::" -msgstr "" +msgstr "Como en el caso de :c:func:`Py_CLEAR`, el codigo \"obvio\" puede ser " +"mortal::" #: ../Doc/c-api/refcounting.rst:197 msgid "" @@ -327,28 +376,40 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:200 +#; Matt: added translation msgid "The safe way is::" -msgstr "" +msgstr "La forma segura es::" #: ../Doc/c-api/refcounting.rst:202 msgid "Py_SETREF(dst, src);" msgstr "" #: ../Doc/c-api/refcounting.rst:204 +#; Matt: Added translation msgid "" "That arranges to set *dst* to *src* _before_ releasing the reference to the " "old value of *dst*, so that any code triggered as a side-effect of *dst* " "getting torn down no longer believes *dst* points to a valid object." msgstr "" +"Eso termina asignando *dist* al valor *src* _antes de_ liberar la referencia " +"al valor anterior de *dst*, para que cualquier código ejecutado como efecto " +"secundario de *dst* siendo destruido ya no crea que *dist* señala a un " +"objeto válido." #: ../Doc/c-api/refcounting.rst:211 ../Doc/c-api/refcounting.rst:223 +#; Matt: Added translation msgid "" "The macro arguments are now only evaluated once. If an argument has side " "effects, these are no longer duplicated." msgstr "" +"Los macro argumentos ahora solo se evalúan una vez. Si algún " +"argumento tiene efectos secundarios, estos ya no se duplican." #: ../Doc/c-api/refcounting.rst:218 +#; Matt: Added Translation msgid "" "Variant of :c:macro:`Py_SETREF` macro that uses :c:func:`Py_XDECREF` instead " "of :c:func:`Py_DECREF`." msgstr "" +"Un variante del macro :c:macro:`Py_SETREF` que usa :c:func:`Py_XDECREF` en " +"lugar de :c:func:`Py_DECREF`." From 484638488f67eb2971f0f350df188fcfaadde5b5 Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 15 Apr 2025 14:23:35 -0400 Subject: [PATCH 02/11] Tracudido Archivo c-api/refcounting.po --- TRANSLATORS | 1 + c-api/refcounting.po | 25 ------------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index 4686fde202..2cd3ab21e7 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -185,6 +185,7 @@ Martín Gaitán (@mgaitan) Martín Ramírez (@tinchoram) Mateo Cámara (@MateoCamara) Matias Bordese (@matiasb) +Matthew Ellis Kane Jiménez (@M-E-K-J-2102) Melissa Escobar Gutiérrez (@MelissaEscobar) Miguel Ángel Nahuel Ambrosini (@ambro17) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 35c604f836..2f7ef9bb0f 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -26,7 +26,6 @@ msgid "Reference Counting" msgstr "Conteo de referencias" #: ../Doc/c-api/refcounting.rst:10 -#; Matt: Spellcheck and clarity #, fuzzy msgid "" "The functions and macros in this section are used for managing reference " @@ -41,7 +40,6 @@ msgid "Get the reference count of the Python object *o*." msgstr "Incrementar el recuento de referencia para el objeto *o*." #: ../Doc/c-api/refcounting.rst:18 -#; Matt: Added translation msgid "" "Note that the returned value may not actually reflect how many references to " "the object are actually held. For example, some objects are :term:" @@ -57,7 +55,6 @@ msgstr "" #: ../Doc/c-api/refcounting.rst:24 -#; Matt: Added translation msgid "" "Use the :c:func:`Py_SET_REFCNT()` function to set an object reference count." msgstr "" @@ -65,25 +62,21 @@ msgstr "" "referencias de un objeto." #: ../Doc/c-api/refcounting.rst:26 -#; Matt: Added translation msgid ":c:func:`Py_REFCNT()` is changed to the inline static function." msgstr ":c:func:`Py_REFCNT()` se convierte en una función estática en línea." #: ../Doc/c-api/refcounting.rst:29 -#; Matt: Added translation msgid "The parameter type is no longer :c:expr:`const PyObject*`." msgstr "El tipo de parámetro ya no es :c:expr:`const PyObject*`." #: ../Doc/c-api/refcounting.rst:35 -#; Matt: Spellcheck and clarity #, fuzzy msgid "Set the object *o* reference counter to *refcnt*." msgstr "Establece la cuenta de referencias del objeto *o* al valor *refcnt*." #: ../Doc/c-api/refcounting.rst:37 -#; Matt: Added translation msgid "" "On :ref:`Python build with Free Threading `, if " "*refcnt* is larger than ``UINT32_MAX``, the object is made :term:`immortal`." @@ -94,18 +87,15 @@ msgstr "" #: ../Doc/c-api/refcounting.rst:40 ../Doc/c-api/refcounting.rst:53 #: ../Doc/c-api/refcounting.rst:119 -#; Matt: Added translation msgid "This function has no effect on :term:`immortal` objects." msgstr "Esta función no afecta a los objetos :term:`inmortales`." #: ../Doc/c-api/refcounting.rst:44 ../Doc/c-api/refcounting.rst:68 #: ../Doc/c-api/refcounting.rst:147 -#; Matt: Added translation msgid "Immortal objects are not modified." msgstr "Los objetos inmortales no se modifican." #: ../Doc/c-api/refcounting.rst:50 -#; Matt: Added translation msgid "" "Indicate taking a new :term:`strong reference` to object *o*, indicating it " "is in use and should not be destroyed." @@ -124,7 +114,6 @@ msgstr "" "`Py_NewRef` se puede utilizar para crear un nuevo :term:`strong reference`." #: ../Doc/c-api/refcounting.rst:59 -#; Matt: Added translation msgid "When done using the object, release is by calling :c:func:`Py_DECREF`." msgstr "Cuando se termine de usar el objeto, se libera llamando a " ":c:func:`Py_DECREF`." @@ -144,7 +133,6 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:74 -#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Similar to :c:func:`Py_INCREF`, but the object *o* can be ``NULL``, in which " @@ -158,7 +146,6 @@ msgid "See also :c:func:`Py_XNewRef`." msgstr "Ver también :c:func:`Py_XNewRef`." #: ../Doc/c-api/refcounting.rst:82 -#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Create a new :term:`strong reference` to an object: call :c:func:`Py_INCREF` " @@ -168,7 +155,6 @@ msgstr "" ":c:func:`Py_INCREF` sobre *o* y devuelve el objeto *o*." #: ../Doc/c-api/refcounting.rst:85 -#; Matt: Spellcheck and clarity #, fuzzy msgid "" "When the :term:`strong reference` is no longer needed, :c:func:`Py_DECREF` " @@ -216,7 +202,6 @@ msgid "If the object *o* is ``NULL``, the function just returns ``NULL``." msgstr "Si el objeto *o* es ``NULL``, la función solo retorna ``NULL``." #: ../Doc/c-api/refcounting.rst:116 -#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Release a :term:`strong reference` to object *o*, indicating the reference " @@ -226,7 +211,6 @@ msgstr "" "referencia ya no se usa." #: ../Doc/c-api/refcounting.rst:121 -#; Matt: Spellcheck and clarity #, fuzzy msgid "" "Once the last :term:`strong reference` is released (i.e. the object's " @@ -261,7 +245,6 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:138 -#; Matt Spellcheck and clarity #, fuzzy msgid "" "The deallocation function can cause arbitrary Python code to be invoked (e." @@ -286,7 +269,6 @@ msgstr "" "llamar a :c:func:`Py_DECREF` para la variable temporal." #: ../Doc/c-api/refcounting.rst:153 -#; Matt: Added translation msgid "" "Similar to :c:func:`Py_DECREF`, but the object *o* can be ``NULL``, in which " "case this has no effect. The same warning from :c:func:`Py_DECREF` applies " @@ -325,7 +307,6 @@ msgstr "" "basura." #: ../Doc/c-api/refcounting.rst:171 -#; Matt: Added translation msgid "" "The macro argument is now only evaluated once. If the argument has side " "effects, these are no longer duplicated." @@ -355,7 +336,6 @@ msgstr "" "en tiempo de ejecución de Python." #: ../Doc/c-api/refcounting.rst:192 -#; Matt: Added translation msgid "" "Macro safely releasing a :term:`strong reference` to object *dst* and " "setting *dst* to *src*." @@ -364,7 +344,6 @@ msgstr "" "*dist* y establece *dist* al valor *src*." #: ../Doc/c-api/refcounting.rst:195 -#; Matt: Added translation msgid "As in case of :c:func:`Py_CLEAR`, \"the obvious\" code can be deadly::" msgstr "Como en el caso de :c:func:`Py_CLEAR`, el codigo \"obvio\" puede ser " "mortal::" @@ -376,7 +355,6 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:200 -#; Matt: added translation msgid "The safe way is::" msgstr "La forma segura es::" @@ -385,7 +363,6 @@ msgid "Py_SETREF(dst, src);" msgstr "" #: ../Doc/c-api/refcounting.rst:204 -#; Matt: Added translation msgid "" "That arranges to set *dst* to *src* _before_ releasing the reference to the " "old value of *dst*, so that any code triggered as a side-effect of *dst* " @@ -397,7 +374,6 @@ msgstr "" "objeto válido." #: ../Doc/c-api/refcounting.rst:211 ../Doc/c-api/refcounting.rst:223 -#; Matt: Added translation msgid "" "The macro arguments are now only evaluated once. If an argument has side " "effects, these are no longer duplicated." @@ -406,7 +382,6 @@ msgstr "" "argumento tiene efectos secundarios, estos ya no se duplican." #: ../Doc/c-api/refcounting.rst:218 -#; Matt: Added Translation msgid "" "Variant of :c:macro:`Py_SETREF` macro that uses :c:func:`Py_XDECREF` instead " "of :c:func:`Py_DECREF`." From 5933536051d01c23bf354a66f2c24db892c4490c Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Fri, 18 Apr 2025 17:12:17 -0400 Subject: [PATCH 03/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 2f7ef9bb0f..9c3b40f2fc 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -368,7 +368,7 @@ msgid "" "old value of *dst*, so that any code triggered as a side-effect of *dst* " "getting torn down no longer believes *dst* points to a valid object." msgstr "" -"Eso termina asignando *dist* al valor *src* _antes de_ liberar la referencia " +"Eso termina asignando *dst* al valor *src* _antes de_ liberar la referencia " "al valor anterior de *dst*, para que cualquier código ejecutado como efecto " "secundario de *dst* siendo destruido ya no crea que *dist* señala a un " "objeto válido." From ba12ce09876fbdeabf8e0432db7a85f32ec0d73b Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 19 Apr 2025 12:17:18 -0400 Subject: [PATCH 04/11] =?UTF-8?q?Implement=C3=A9=20cambios=20sugeridos=20y?= =?UTF-8?q?=20termin=C3=A9=20de=20traducir=20los=20ultimos=20cachitos.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c-api/refcounting.po | 128 +++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 73 deletions(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 2f7ef9bb0f..439c959869 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -26,33 +26,30 @@ msgid "Reference Counting" msgstr "Conteo de referencias" #: ../Doc/c-api/refcounting.rst:10 -#, fuzzy msgid "" "The functions and macros in this section are used for managing reference " "counts of Python objects." msgstr "" -"Las funciónes y macros de esta sección se utilizan para administrar conteos " +"Las funciónes y macros de esta sección se utilizan para administrar conteos " "de referencia de objetos en Python." #: ../Doc/c-api/refcounting.rst:16 -#, fuzzy msgid "Get the reference count of the Python object *o*." -msgstr "Incrementar el recuento de referencia para el objeto *o*." +msgstr "Obtiene el recuento de referencias para el objeto de Python *o*." #: ../Doc/c-api/refcounting.rst:18 msgid "" "Note that the returned value may not actually reflect how many references to " -"the object are actually held. For example, some objects are :term:" -"`immortal` and have a very high refcount that does not reflect the actual " -"number of references. Consequently, do not rely on the returned value to be " -"accurate, other than a value of 0 or 1." +"the object are actually held. For example, some objects are :term:`immortal` " +"and have a very high refcount that does not reflect the actual number of " +"references. Consequently, do not rely on the returned value to be accurate, " +"other than a value of 0 or 1." msgstr "" -"Ten cuenta que el valor devuelto puede que no reflejar cúantas " -"referencias al objecto existen realmente. Por ejemplo, algunos objetos son " -":term:'inmortales' y tienen un refcount muy alto que no refleja el número " -"real de referencias. Por lo tanto, no confíes en que el valor devuelto " -"sea presciso, salvo cuando sea 0 o 1. " - +"Ten cuenta que el valor devuelto puede que no reflejar cúantas referencias " +"al objecto existen realmente. Por ejemplo, algunos objetos son :" +"term:'inmortales' y tienen un refcount muy alto que no refleja el número " +"real de referencias. Por lo tanto, no confíes en que el valor devuelto sea " +"presciso, salvo cuando sea 0 o 1. " #: ../Doc/c-api/refcounting.rst:24 msgid "" @@ -65,14 +62,11 @@ msgstr "" msgid ":c:func:`Py_REFCNT()` is changed to the inline static function." msgstr ":c:func:`Py_REFCNT()` se convierte en una función estática en línea." - - #: ../Doc/c-api/refcounting.rst:29 msgid "The parameter type is no longer :c:expr:`const PyObject*`." msgstr "El tipo de parámetro ya no es :c:expr:`const PyObject*`." #: ../Doc/c-api/refcounting.rst:35 -#, fuzzy msgid "Set the object *o* reference counter to *refcnt*." msgstr "Establece la cuenta de referencias del objeto *o* al valor *refcnt*." @@ -81,9 +75,9 @@ msgid "" "On :ref:`Python build with Free Threading `, if " "*refcnt* is larger than ``UINT32_MAX``, the object is made :term:`immortal`." msgstr "" -"En una :ref:`compilación de Python con Free Threading " -"`, si *refcnt* es mas mayor que ``UINT32_MAX``, el objeto se convierte en " -":term:`inmortal`." +"En :ref:`compilación de Python con Free Threading `, " +"si *refcnt* es mas mayor que ``UINT32_MAX``, el objeto se convierte en :term:" +"`inmortal`." #: ../Doc/c-api/refcounting.rst:40 ../Doc/c-api/refcounting.rst:53 #: ../Doc/c-api/refcounting.rst:119 @@ -100,8 +94,8 @@ msgid "" "Indicate taking a new :term:`strong reference` to object *o*, indicating it " "is in use and should not be destroyed." msgstr "" -"Indica tomar una nueva :term:`strong reference` al objeto *o*, lo que " -"indica que está en uso y no debe ser destruido. " +"Indica tomar una nueva :term:`strong reference` al objeto *o*, lo que indica " +"que está en uso y no debe ser destruido. " #: ../Doc/c-api/refcounting.rst:55 msgid "" @@ -115,8 +109,9 @@ msgstr "" #: ../Doc/c-api/refcounting.rst:59 msgid "When done using the object, release is by calling :c:func:`Py_DECREF`." -msgstr "Cuando se termine de usar el objeto, se libera llamando a " -":c:func:`Py_DECREF`." +msgstr "" +"Cuando se termine de usar el objeto, se libera llamando a :c:func:" +"`Py_DECREF`." #: ../Doc/c-api/refcounting.rst:61 msgid "" @@ -133,35 +128,32 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:74 -#, fuzzy msgid "" "Similar to :c:func:`Py_INCREF`, but the object *o* can be ``NULL``, in which " "case this has no effect." -msgstr "" -"Similar a :c:func:`Py_INCREF`, pero el objeto *o* puede ser ``NULL``, en cuyo " -"caso esto no tiene efecto." +msgstr "" +"Similar a :c:func:`Py_INCREF`, pero el objeto *o* puede ser ``NULL``, en " +"cuyo caso esto no tiene efecto." #: ../Doc/c-api/refcounting.rst:77 msgid "See also :c:func:`Py_XNewRef`." msgstr "Ver también :c:func:`Py_XNewRef`." #: ../Doc/c-api/refcounting.rst:82 -#, fuzzy msgid "" "Create a new :term:`strong reference` to an object: call :c:func:`Py_INCREF` " "on *o* and return the object *o*." msgstr "" -"Crea una nueva :term:`strong reference` a un objeto: llama a " -":c:func:`Py_INCREF` sobre *o* y devuelve el objeto *o*." +"Crea una nueva :term:`strong reference` a un objeto: llama a :c:func:" +"`Py_INCREF` sobre *o* y devuelve el objeto *o*." #: ../Doc/c-api/refcounting.rst:85 -#, fuzzy msgid "" "When the :term:`strong reference` is no longer needed, :c:func:`Py_DECREF` " "should be called on it to release the reference." msgstr "" -"Cuando la :term:`strong reference` ya no sea necesaria, se debe llamar a " -":c:func:`Py_DECREF` para disminuir el recuento de referencias del objeto." +"Cuando la :term:`strong reference` ya no sea necesaria, se debe llamar a :c:" +"func:`Py_DECREF` para disminuir el recuento de referencias del objeto." #: ../Doc/c-api/refcounting.rst:88 msgid "" @@ -202,7 +194,6 @@ msgid "If the object *o* is ``NULL``, the function just returns ``NULL``." msgstr "Si el objeto *o* es ``NULL``, la función solo retorna ``NULL``." #: ../Doc/c-api/refcounting.rst:116 -#, fuzzy msgid "" "Release a :term:`strong reference` to object *o*, indicating the reference " "is no longer used." @@ -211,16 +202,14 @@ msgstr "" "referencia ya no se usa." #: ../Doc/c-api/refcounting.rst:121 -#, fuzzy msgid "" "Once the last :term:`strong reference` is released (i.e. the object's " "reference count reaches 0), the object's type's deallocation function (which " "must not be ``NULL``) is invoked." msgstr "" -"Una vez que la última :term:`strong reference`sea liberada (por ejemplo, cuando " -"la cuenta de referencias del objeto llegue a 0), se invoca la función de " -"desasignación del tipo de objeto (la cual no debe ser ``NULL``)." - +"Una vez que la última :term:`strong reference`sea liberada (por ejemplo, " +"cuando la cuenta de referencias del objeto llegue a 0), se invoca la función " +"de desasignación del tipo de objeto (la cual no debe ser ``NULL``)." #: ../Doc/c-api/refcounting.rst:126 msgid "" @@ -245,7 +234,6 @@ msgid "" msgstr "" #: ../Doc/c-api/refcounting.rst:138 -#, fuzzy msgid "" "The deallocation function can cause arbitrary Python code to be invoked (e." "g. when a class instance with a :meth:`~object.__del__` method is " @@ -259,10 +247,10 @@ msgid "" msgstr "" "La función de desasignación puede hacer que se invoque un código arbitrario " "de Python (por ejemplo, cuando se desasigna una instancia de clase con el " -"método :meth:`__del__`). Si las excepciones en dicho código no se " -"propagan, el código ejecutado tendrá acceso libre a todas las variables " +"método :meth:`__del__`). Mientras las excepciones en dicho código no sean " +"propagadas, el código ejecutado tendrá acceso libre a todas las variables " "globales de Python. Esto significa que cualquier objeto al que se pueda " -"acceder desde una variable global deberia estar en un estado coherente antes " +"acceder desde una variable global debería estar en un estado coherente antes " "de invocar a :c:func:`Py_DECREF`. Por ejemplo, el código para eliminar un " "objeto de una lista debe copiar una referencia al objeto eliminado en una " "variable temporal, actualizar la estructura de datos de la lista y luego " @@ -275,11 +263,10 @@ msgid "" "here as well." msgstr "" "Similar a :c:func:`Py_DECREF`, pero el objeto *o* puede ser ``NULL``, en " -"cuyo caso esto no tendría efecto alguno. El mismo aviso de " -":c:func:`Py_DECREF` aplica aqui también." +"cuyo caso esto no tendría efecto alguno. El mismo aviso de :c:func:" +"`Py_DECREF` aplica aqui también." #: ../Doc/c-api/refcounting.rst:160 -#, fuzzy msgid "" "Release a :term:`strong reference` for object *o*. The object may be " "``NULL``, in which case the macro has no effect; otherwise the effect is the " @@ -288,23 +275,20 @@ msgid "" "to the object passed because the macro carefully uses a temporary variable " "and sets the argument to ``NULL`` before releasing the reference." msgstr "" -"Disminuye el conteo de referencia para el objeto *o*. El objeto puede ser " +"Libera una :term:`strong reference` del el objeto *o*. El objeto puede ser " "``NULL``, en cuyo caso el macro no tiene efecto; de lo contrario, el efecto " -"es el mismo que para :c:func:`Py_DECREF`, excepto que el argumento también " -"se establece en ``NULL``. La advertencia para :c:func:`Py_DECREF` no se " -"aplica con respecto al objeto pasado porque el macro usa cuidadosamente una " -"variable temporal y establece el argumento en ``NULL`` antes de disminuir su " -"conteo de referencia." +"es el mismo que el de :c:func:`Py_DECREF`, excepto que el argumento también " +"se establece en ``NULL``. La advertencia de :c:func:`Py_DECREF` no se aplica " +"en este caso, ya que el macro usa cuidadosamente una variable temporal y " +"asigna ``NULL`` al algumento antes de luberar la referencia " #: ../Doc/c-api/refcounting.rst:168 -#, fuzzy msgid "" "It is a good idea to use this macro whenever releasing a reference to an " "object that might be traversed during garbage collection." msgstr "" -"Es una buena idea usar este macro siempre que disminuya el conteo de " -"referencia de un objeto que pueda atravesarse durante la recolección de " -"basura." +"Es buena idea usar este macro al liberar una referencia de un objeto que " +"podría ser recorrido durante la recolección de basura." #: ../Doc/c-api/refcounting.rst:171 msgid "" @@ -315,25 +299,23 @@ msgstr "" "efectos secundarios, estos ya no se duplican." #: ../Doc/c-api/refcounting.rst:178 -#, fuzzy msgid "" "Indicate taking a new :term:`strong reference` to object *o*. A function " "version of :c:func:`Py_XINCREF`. It can be used for runtime dynamic " "embedding of Python." msgstr "" -"Incrementa el conteo de referencias para objeto *o*. Una versión de la " -"función :c:func:`Py_XINCREF`. Puede utilizarse para la integración dinámica " -"en tiempo de ejecución de Python." +"Indica la toma de una nueva :term:`strong reference` al objeto *o*. Es una " +"versión en forma de función de :c:func:`Py_XINCREF`. Puede utilizarse para " +"la integración dinámica de Python en tiempo de ejecución." #: ../Doc/c-api/refcounting.rst:185 -#, fuzzy msgid "" "Release a :term:`strong reference` to object *o*. A function version of :c:" "func:`Py_XDECREF`. It can be used for runtime dynamic embedding of Python." msgstr "" -"Disminuye el conteo de referencias del objeto *o*. Una versión de la " -"función :c:func:`Py_XDECREF`. Puede utilizarse para la integración dinámica " -"en tiempo de ejecución de Python." +"Libera una :term:`strong reference` al objeto *o*. Una versión en forma de " +"función de :c:func:`Py_XDECREF`. Puede utilizarse para la integración " +"dinámica de Python en tiempo de ejecución." #: ../Doc/c-api/refcounting.rst:192 msgid "" @@ -341,12 +323,12 @@ msgid "" "setting *dst* to *src*." msgstr "" "Un macro que libera de forma segura un :term:`strong reference` al objeto " -"*dist* y establece *dist* al valor *src*." +"*dst* y establece *dst* al valor *src*." #: ../Doc/c-api/refcounting.rst:195 msgid "As in case of :c:func:`Py_CLEAR`, \"the obvious\" code can be deadly::" -msgstr "Como en el caso de :c:func:`Py_CLEAR`, el codigo \"obvio\" puede ser " -"mortal::" +msgstr "" +"Como en el caso de :c:func:`Py_CLEAR`, el codigo \"obvio\" puede ser mortal::" #: ../Doc/c-api/refcounting.rst:197 msgid "" @@ -368,18 +350,18 @@ msgid "" "old value of *dst*, so that any code triggered as a side-effect of *dst* " "getting torn down no longer believes *dst* points to a valid object." msgstr "" -"Eso termina asignando *dist* al valor *src* _antes de_ liberar la referencia " +"Eso termina asignando *dst* al valor *src* _antes de_ liberar la referencia " "al valor anterior de *dst*, para que cualquier código ejecutado como efecto " -"secundario de *dst* siendo destruido ya no crea que *dist* señala a un " -"objeto válido." +"secundario de *dst* siendo destruido ya no crea que *dst* señala a un objeto " +"válido." #: ../Doc/c-api/refcounting.rst:211 ../Doc/c-api/refcounting.rst:223 msgid "" "The macro arguments are now only evaluated once. If an argument has side " "effects, these are no longer duplicated." msgstr "" -"Los macro argumentos ahora solo se evalúan una vez. Si algún " -"argumento tiene efectos secundarios, estos ya no se duplican." +"Los macro argumentos ahora solo se evalúan una vez. Si algún argumento tiene " +"efectos secundarios, estos ya no se duplican." #: ../Doc/c-api/refcounting.rst:218 msgid "" From 1184cab2f6f13a26a6afaff96c2ab73ec33ee695 Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Wed, 23 Apr 2025 13:13:13 -0400 Subject: [PATCH 05/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 439c959869..c1a2093205 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -40,10 +40,10 @@ msgstr "Obtiene el recuento de referencias para el objeto de Python *o*." #: ../Doc/c-api/refcounting.rst:18 msgid "" "Note that the returned value may not actually reflect how many references to " -"the object are actually held. For example, some objects are :term:`immortal` " -"and have a very high refcount that does not reflect the actual number of " -"references. Consequently, do not rely on the returned value to be accurate, " -"other than a value of 0 or 1." +"the object are actually held. For example, some objects are :term:" +"`immortal` and have a very high refcount that does not reflect the actual " +"number of references. Consequently, do not rely on the returned value to be " +"accurate, other than a value of 0 or 1." msgstr "" "Ten cuenta que el valor devuelto puede que no reflejar cúantas referencias " "al objecto existen realmente. Por ejemplo, algunos objetos son :" From 49b67213376ae2ff33654ec1e178108c433f55b7 Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Wed, 23 Apr 2025 13:13:31 -0400 Subject: [PATCH 06/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index c1a2093205..8be26b7f61 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -47,7 +47,7 @@ msgid "" msgstr "" "Ten cuenta que el valor devuelto puede que no reflejar cúantas referencias " "al objecto existen realmente. Por ejemplo, algunos objetos son :" -"term:'inmortales' y tienen un refcount muy alto que no refleja el número " +"term:'immortal' y tienen un refcount muy alto que no refleja el número " "real de referencias. Por lo tanto, no confíes en que el valor devuelto sea " "presciso, salvo cuando sea 0 o 1. " From 8abc58e3c622c4df8ea60d8b06d8e4e829375770 Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Wed, 23 Apr 2025 13:13:45 -0400 Subject: [PATCH 07/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 8be26b7f61..fc2560eb7e 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -77,7 +77,7 @@ msgid "" msgstr "" "En :ref:`compilación de Python con Free Threading `, " "si *refcnt* es mas mayor que ``UINT32_MAX``, el objeto se convierte en :term:" -"`inmortal`." +"`immortal`." #: ../Doc/c-api/refcounting.rst:40 ../Doc/c-api/refcounting.rst:53 #: ../Doc/c-api/refcounting.rst:119 From 197f59534d65000baa6a45e77ed7ba78f004d859 Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Wed, 23 Apr 2025 13:14:04 -0400 Subject: [PATCH 08/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index fc2560eb7e..74e91005a6 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -82,7 +82,7 @@ msgstr "" #: ../Doc/c-api/refcounting.rst:40 ../Doc/c-api/refcounting.rst:53 #: ../Doc/c-api/refcounting.rst:119 msgid "This function has no effect on :term:`immortal` objects." -msgstr "Esta función no afecta a los objetos :term:`inmortales`." +msgstr "Esta función no afecta a los objetos :term:`immortal`." #: ../Doc/c-api/refcounting.rst:44 ../Doc/c-api/refcounting.rst:68 #: ../Doc/c-api/refcounting.rst:147 From bdc77c42b53ef9626ba961519f23ddb9bcf72357 Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Wed, 23 Apr 2025 13:14:19 -0400 Subject: [PATCH 09/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index 74e91005a6..ddfcf5bee0 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -207,7 +207,7 @@ msgid "" "reference count reaches 0), the object's type's deallocation function (which " "must not be ``NULL``) is invoked." msgstr "" -"Una vez que la última :term:`strong reference`sea liberada (por ejemplo, " +"Una vez que la última :term:`strong reference` sea liberada (por ejemplo, " "cuando la cuenta de referencias del objeto llegue a 0), se invoca la función " "de desasignación del tipo de objeto (la cual no debe ser ``NULL``)." From 2dddc8663c852a46c50a611e382f18a87e00023c Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Wed, 23 Apr 2025 13:14:42 -0400 Subject: [PATCH 10/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index ddfcf5bee0..e7226a6a00 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -247,7 +247,7 @@ msgid "" msgstr "" "La función de desasignación puede hacer que se invoque un código arbitrario " "de Python (por ejemplo, cuando se desasigna una instancia de clase con el " -"método :meth:`__del__`). Mientras las excepciones en dicho código no sean " +"método :meth:`~object.__del__`). Mientras las excepciones en dicho código no sean " "propagadas, el código ejecutado tendrá acceso libre a todas las variables " "globales de Python. Esto significa que cualquier objeto al que se pueda " "acceder desde una variable global debería estar en un estado coherente antes " From a18c65a2337523aa96cb0f4afe97e2a9081b36b9 Mon Sep 17 00:00:00 2001 From: M-E-K-J-2102 Date: Wed, 23 Apr 2025 13:15:03 -0400 Subject: [PATCH 11/11] Update c-api/refcounting.po Co-authored-by: Marcos Medrano <786907+mmmarcos@users.noreply.github.com> --- c-api/refcounting.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-api/refcounting.po b/c-api/refcounting.po index e7226a6a00..f3abd37805 100644 --- a/c-api/refcounting.po +++ b/c-api/refcounting.po @@ -275,7 +275,7 @@ msgid "" "to the object passed because the macro carefully uses a temporary variable " "and sets the argument to ``NULL`` before releasing the reference." msgstr "" -"Libera una :term:`strong reference` del el objeto *o*. El objeto puede ser " +"Libera una :term:`strong reference` del objeto *o*. El objeto puede ser " "``NULL``, en cuyo caso el macro no tiene efecto; de lo contrario, el efecto " "es el mismo que el de :c:func:`Py_DECREF`, excepto que el argumento también " "se establece en ``NULL``. La advertencia de :c:func:`Py_DECREF` no se aplica " pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy