8000 Traducido c-api/init by cmaureir · Pull Request #363 · python/python-docs-es · GitHub
[go: up one dir, main page]

Skip to content

Traducido c-api/init #363

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

8000
Merged
merged 5 commits into from
Jun 7, 2020
Merged

Traducido c-api/init #363

merged 5 commits into from
Jun 7, 2020

Conversation

cmaureir
Copy link
Collaborator

Otro PR bastante largo, se agradecen comentarios :)

@draentropia
Copy link
Collaborator

¿Cómo puedo ayudar aquí @cmaureir ?

@cmaureir
Copy link
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
Collaborator
draentropia commented May 25, 2020 via email

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
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
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
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!

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
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

c-api/init.po Outdated

#: ../Doc/c-api/init.rst:1370
msgid "Value of *what*"
msgstr ""
msgstr "Valor de *que*"
Copy link
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
Collaborator Author

Choose a reason for hiding this comment

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

lo arreglaré

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
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
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>
@cmaureir
Copy link
Collaborator Author
cmaureir commented Jun 7, 2020

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

Copy link
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
0