-
-
Notifications
You must be signed in to change notification settings - Fork 397
Traducido archivo c-api/weakref #3369
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
Changes from 6 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
020dafa
Traducido archivo c-api/number
srmorita 6d58009
Doc build exception fixed
srmorita ba92a98
Update
srmorita e395746
Traducido archivo c-api/weakref
srmorita 4264afb
Finaliza traducción y agrega termino al diccionario
srmorita 7162fa6
Fixed format
srmorita aadb342
Update c-api/weakref.po
srmorita 61b8df9
Update c-api/weakref.po
srmorita 1f14c69
Update c-api/weakref.po
srmorita f4d6a0f
Merge remote-tracking branch 'upstream/3.13' into 3.13
srmorita 811b447
Traducido archivo c-api/weakref
srmorita 4c2680c
Finaliza traducción y agrega termino al diccionario
srmorita 446bead
Fixed format
srmorita ff2e1cc
Observations fixed
srmorita a8cf64a
Merge branch 'python:3.13' into traduccion-capi-weakref
srmorita 8675438
Fixed format
srmorita 5ef035d
Fixed devikesy term
srmorita 9e16a0a
Deleted file dictionaries/c-api_weakref.txt
srmorita File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ msgstr "" | |
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-21 16:38-0300\n" | ||
"PO-Revision-Date: 2025-02-03 17:14-0300\n" | ||
"PO-Revision-Date: 2025-02-05 17:10-0300\n" | ||
"Last-Translator: srmorita <[email protected]>\n" | ||
"Language-Team: python-doc-es\n" | ||
"Language: es\n" | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,17 @@ msgstr "" | |
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-11-21 16:38-0300\n" | ||
"PO-Revision-Date: 2021-10-18 19:38+0200\n" | ||
"Last-Translator: Diego Cristóbal Herreros <[email protected]>\n" | ||
"PO-Revision-Date: 2025-02-05 16:53-0300\n" | ||
"Last-Translator: srmorita <[email protected]>\n" | ||
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-" | ||
"es.python.org)\n" | ||
"Language: es\n" | ||
"Language-Team: python-doc-es (https://mail.python.org/mailman3/lists/docs-es." | ||
"python.org)\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\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.16.0\n" | ||
"X-Generator: Poedit 3.5\n" | ||
|
||
#: ../Doc/c-api/weakref.rst:6 | ||
msgid "Weak Reference Objects" | ||
|
@@ -39,33 +40,29 @@ msgstr "" | |
"como un proxy del objeto original tanto como pueda." | ||
|
||
#: ../Doc/c-api/weakref.rst:16 | ||
#, fuzzy | ||
msgid "" | ||
"Return non-zero if *ob* is either a reference or proxy object. This " | ||
"function always succeeds." | ||
msgstr "" | ||
"Retorna verdadero (true) si *ob* es una referencia o un objeto proxy. Esta " | ||
"función siempre finaliza con éxito." | ||
"Retorna un valor distinto de cero si *ob* es una referencia o un objeto " | ||
"proxy. Esta función siempre finaliza con éxito." | ||
|
||
#: ../Doc/c-api/weakref.rst:22 | ||
#, fuzzy | ||
msgid "" | ||
"Return non-zero if *ob* is a reference object. This function always " | ||
"succeeds." | ||
msgstr "" | ||
"Retorna verdadero (true) si *ob* es un objeto de referencia. Esta función " | ||
"siempre finaliza con éxito." | ||
"Retorna un valor distinto de cero si *ob* es un objeto de referencia. Esta " | ||
"función siempre finaliza con éxito." | ||
|
||
#: ../Doc/c-api/weakref.rst:27 | ||
#, fuzzy | ||
msgid "" | ||
"Return non-zero if *ob* is a proxy object. This function always succeeds." | ||
msgstr "" | ||
"Retorna verdadero (true) si *ob* es un objeto proxy. Esta función siempre " | ||
"finaliza con éxito." | ||
"Retorna un valor distinto de cero si *ob* es un objeto proxy. Esta función " | ||
"siempre finaliza con éxito." | ||
|
||
#: ../Doc/c-api/weakref.rst:32 | ||
#, fuzzy | ||
msgid "" | ||
"Return a weak reference object for the object *ob*. This will always return " | ||
"a new reference, but is not guaranteed to create a new object; an existing " | ||
|
@@ -84,10 +81,9 @@ msgstr "" | |
"parámetro, el cual será el mismo objeto de referencia débil. *callback* " | ||
"también puede ser ``None`` o ``NULL``. Si *ob* no es un objeto que puede ser " | ||
"referido de forma débil, o si *callback* no es invocable, ``None``, o " | ||
"``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`." | ||
"``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`." | ||
|
||
#: ../Doc/c-api/weakref.rst:44 | ||
#, fuzzy | ||
msgid "" | ||
"Return a weak reference proxy object for the object *ob*. This will always " | ||
"return a new reference, but is not guaranteed to create a new object; an " | ||
|
@@ -106,36 +102,41 @@ msgstr "" | |
"aceptar un solo parámetro, el cual será el mismo objeto de referencia débil. " | ||
"*callback* también puede ser ``None`` o ``NULL``. Si *ob* no es un objeto " | ||
"que puede ser referido de forma débil, o si *callback* no es invocable, " | ||
"``None``, o ``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`." | ||
"``None``, o ``NULL``, esto retornará ``NULL`` y causará un :exc:`TypeError`." | ||
srmorita marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/c-api/weakref.rst:56 | ||
msgid "" | ||
"Get a :term:`strong reference` to the referenced object from a weak " | ||
"reference, *ref*, into *\\*pobj*." | ||
msgstr "" | ||
"Obtiene un :term:`strong reference` al objeto referenciado desde una " | ||
"referencia débil, *ref*, into *\\*pobj*." | ||
srmorita marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/c-api/weakref.rst:59 | ||
msgid "" | ||
"On success, set *\\*pobj* to a new :term:`strong reference` to the " | ||
"referenced object and return 1." | ||
msgstr "" | ||
"En caso de éxito, asigna *\\*pobj* en un nuevo :term:`strong reference` al " | ||
"objeto referenciado y asigna 1." | ||
srmorita marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/c-api/weakref.rst:61 | ||
msgid "If the reference is dead, set *\\*pobj* to ``NULL`` and return 0." | ||
msgstr "" | ||
"Si la referencia está inactiva, asigna *\\*pobj* a ``NULL`` y retorna 0." | ||
|
||
#: ../Doc/c-api/weakref.rst:62 | ||
msgid "On error, raise an exception and return -1." | ||
msgstr "" | ||
msgstr "En caso de error, lanza una excepción y devuelve -1." | ||
|
||
#: ../Doc/c-api/weakref.rst:69 | ||
#, fuzzy | ||
msgid "" | ||
"Return a :term:`borrowed reference` to the referenced object from a weak " | ||
"reference, *ref*. If the referent is no longer live, returns ``Py_None``." | ||
msgstr "" | ||
"Retorna el objeto referenciado desde una referencia débil, *ref*. Si el " | ||
"referente no está vivo, retornará :const:`Py_None`." | ||
"Retorna un :term:`borrowed reference` del objeto referenciado desde una " | ||
"referencia débil, *ref*. Si el referente ya no está activo, retorna " | ||
"``Py_None``." | ||
|
||
#: ../Doc/c-api/weakref.rst:74 | ||
msgid "" | ||
|
@@ -146,36 +147,40 @@ msgid "" | |
msgstr "" | ||
"Esta función retorna una referencia :term:`borrowed reference` al objeto " | ||
"referenciado. Esto significa que siempre debe llamar a :c:func:`Py_INCREF` " | ||
"sobre el objeto, excepto cuando no pueda ser destruido antes del último uso " | ||
"sobre el objeto excepto cuando no pueda ser destruido antes del último uso " | ||
"de la referencia prestada." | ||
|
||
#: ../Doc/c-api/weakref.rst:79 ../Doc/c-api/weakref.rst:87 | ||
msgid "Use :c:func:`PyWeakref_GetRef` instead." | ||
msgstr "" | ||
msgstr "Utiliza :c:func:`PyWeakref_GetRef` en su lugar." | ||
|
||
#: ../Doc/c-api/weakref.rst:85 | ||
#, fuzzy | ||
msgid "Similar to :c:func:`PyWeakref_GetObject`, but does no error checking." | ||
msgstr "" | ||
"Similar a :c:func:`PyWeakref_GetObject`, pero implementado como un macro que " | ||
"no verifica errores." | ||
"Similar a :c:func:`PyWeakref_GetObject`, pero no realiza ninguna " | ||
"comprobación de errores." | ||
|
||
#: ../Doc/c-api/weakref.rst:93 | ||
msgid "" | ||
"This function is called by the :c:member:`~PyTypeObject.tp_dealloc` handler " | ||
"to clear weak references." | ||
msgstr "" | ||
"Esta función es invocada por el gestor :c:member:`~PyTypeObject.tp_dealloc` " | ||
"para limpiar referencias débiles." | ||
|
||
#: ../Doc/c-api/weakref.rst:96 | ||
msgid "" | ||
"This iterates through the weak references for *object* and calls callbacks " | ||
"for those references which have one. It returns when all callbacks have been " | ||
"attempted." | ||
msgstr "" | ||
"Esto recorre las referencias débiles de *object* e invoca retrollamadas para " | ||
"aquellas referencias que tengan una. Retorna cuando se han intentado todas " | ||
"las retrollamadas." | ||
|
||
#: ../Doc/c-api/weakref.rst:103 | ||
msgid "Clears the weakrefs for *object* without calling the callbacks." | ||
msgstr "" | ||
msgstr "Borra las weakrefs para *object* sin llamar a las retrollamadas." | ||
|
||
#: ../Doc/c-api/weakref.rst:105 | ||
msgid "" | ||
|
@@ -185,9 +190,19 @@ msgid "" | |
"and call their callbacks, then the finalizer, and finally this function to " | ||
"clear any weakrefs that may have been created by the finalizer." | ||
msgstr "" | ||
"Esta función es invocada por el gestor :c:member:`~PyTypeObject.tp_dealloc` " | ||
"para tipos con finalizadores (i.e., :meth:`~object.__del__`). El gestor de " | ||
"esos objetos primero llama a :c:func:`PyObject_ClearWeakRefs` para borrar " | ||
"las weakrefs y llamar a sus callbacks, luego al finalizador, y finalmente a " | ||
srmorita marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
"esta función para borrar cualquier weakref que pueda haber sido creada por " | ||
"el finalizador." | ||
|
||
#: ../Doc/c-api/weakref.rst:111 | ||
msgid "" | ||
"In most circumstances, it's more appropriate to use :c:func:" | ||
"`PyObject_ClearWeakRefs` to clear weakrefs instead of this function." | ||
"In most circumstances, it's more appropriate to " | ||
"use :c:func:`PyObject_ClearWeakRefs` to clear weakrefs instead of this " | ||
"function." | ||
msgstr "" | ||
"En la mayoría de los casos, es más apropiado " | ||
"utilizar :c:func:`PyObject_ClearWeakRefs` para borrar las weakrefs en lugar " | ||
"de esta función." |
srmorita marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
weakrefs | ||
srmorita marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.