Skip to content

Traducido c-api/init#363

Merged
clacri merged 5 commits into
python:3.8from
cmaureir:traduccion-init
Jun 7, 2020
Merged

Traducido c-api/init#363
clacri merged 5 commits into
python:3.8from
cmaureir:traduccion-init

Conversation

@cmaureir
Copy link
Copy Markdown
Collaborator

Otro PR bastante largo, se agradecen comentarios :)

@draentropia
Copy link
Copy Markdown
Collaborator

¿Cómo puedo ayudar aquí @cmaureir ?

@cmaureir
Copy link
Copy Markdown
Collaborator Author

@draentropia como el archivo es muy largo, quizás puedes leer un par de párrafos y encontrar algunas traducciones que no te parezcan o que creas que es mejor de otra forma, asi luego puedo hacer un search-and-replace de los mismos patrones en todo el texto :)

@draentropia
Copy link
Copy Markdown
Collaborator

draentropia commented May 25, 2020 via email

Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated
"Ninguna de estas funciones API maneja la administración de memoria en nombre "
"de los valores :c:type:`void\\*`. Debe asignarlos y desasignarlos usted "
"mismo. Si los valores :c:type:`void\\*` son :c:type:`PyObject\\*`, estas "
"funciones tampoco realizan operaciones de recuento en ellos."
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

refcount como contador de referencias? https://www.php.net/manual/es/features.gc.refcounting-basics.php

no se si deberías mantener refcount entre paréntesis y con * *

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si, en casi toda la api de C se habla de "refcount" como "conteo de referencias", porque es el mecanismo con el que los objetos en Python viven. Me parece buena idea dejar "refcount" entre parentesis.

Copy link
Copy Markdown
Collaborator

@draentropia draentropia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revisión finalizada!

Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated
"`Py_Initialize`. Idealmente, esto libera toda la memoria asignada por el "
"intérprete de Python. Este es un *no-op* cuando se llama por segunda vez "
"(sin llamar a :c:func:`Py_Initialize` nuevamente primero). Normalmente el "
"valor de retorno es ``0``. Si hubo errores durante la finalización (lavado "
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

¿lavado o limpieza? quizá es por

Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated
Comment thread c-api/init.po Outdated

#: ../Doc/c-api/init.rst:1370
msgid "Value of *what*"
msgstr ""
msgstr "Valor de *que*"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Antes usaste what sin traducirlo a que

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lo arreglaré

Comment thread c-api/init.po Outdated
@@ -1706,6 +2441,13 @@ msgid ""
"it. The profile function is called for all monitored events except :const:"
"`PyTrace_LINE` :const:`PyTrace_OPCODE` and :const:`PyTrace_EXCEPTION`."
msgstr ""
"Establece la función del generador de perfiles en *func*. El parámetro *obj* "
"se pasa a la función como su primer parámetro, y puede ser cualquier objeto "
"de Python o ``NULL``. Si la función de perfil necesita mantener el estado, "
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Antes tradujiste profile como perfilado.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toda la razón

Co-authored-by: E. Ortega <ortega.elisabeth@gmail.com>
Comment thread dict Outdated
Comment thread dict Outdated
Comment thread dict Outdated
@cmaureir
Copy link
Copy Markdown
Collaborator Author

cmaureir commented Jun 7, 2020

@draentropia quizás ya podríamos hacer el merge :)

Copy link
Copy Markdown
Contributor

@clacri clacri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

la apruebo porque ya está revisada por @draentropia

@clacri clacri merged commit f9c9940 into python:3.8 Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants