From ce99ee46059810e7e62550fcbfb1e1b33899b208 Mon Sep 17 00:00:00 2001 From: Gedarafi Date: Sun, 24 May 2020 12:11:37 -0500 Subject: [PATCH 01/95] Iniciando. --- library/sqlite3.po | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 404ced10f7..30b956b549 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -6,27 +6,29 @@ # Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to # get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2020-05-24 12:09-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: \n" +"Language: es\n" +"X-Generator: Poedit 2.3.1\n" #: ../Doc/library/sqlite3.rst:2 msgid ":mod:`sqlite3` --- DB-API 2.0 interface for SQLite databases" -msgstr "" +msgstr ":mod:`sqlite3` --- DB-API 2.0 interfaz para bases de datos SQLite" #: ../Doc/library/sqlite3.rst:9 msgid "**Source code:** :source:`Lib/sqlite3/`" -msgstr "" +msgstr "**Source code:** :source:`Lib/sqlite3/`" #: ../Doc/library/sqlite3.rst:13 msgid "" @@ -37,6 +39,12 @@ msgid "" "application using SQLite and then port the code to a larger database such as " "PostgreSQL or Oracle." msgstr "" +"SQLite es una librería de C que provee una base de datos ligera basada en " +"disco, esta no requiere un proceso de servidor separado y permite acceder a " +"la base de datos usando una variación no estándar del lenguaje de consulta " +"SQL. Algunas aplicaciones pueden usar SQLite para almacenamiento interno. " +"También es posible prototipar una aplicación usando SQLite y luego " +"transferir el código a una base de datos más grande como PostgreSQL u Oracle." #: ../Doc/library/sqlite3.rst:20 msgid "" From 3fb419aae18469103ca6f8d5aa5c80c39f00a834 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 24 May 2020 17:18:23 -0500 Subject: [PATCH 02/95] Create a database in disk or in memory --- library/sqlite3.po | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 30b956b549..d6a477b047 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-05-24 12:09-0500\n" +"PO-Revision-Date: 2020-05-24 16:38-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -52,6 +52,8 @@ msgid "" "interface compliant with the DB-API 2.0 specification described by :pep:" "`249`." msgstr "" +"El módulo sqlite3 fue escrito por Gerhard Häring. Provee una interfaz SQL " +"compatible con la especificación DB-API 2.0 descrita por :pep:`249`." #: ../Doc/library/sqlite3.rst:23 msgid "" @@ -59,6 +61,9 @@ msgid "" "represents the database. Here the data will be stored in the :file:`example." "db` file::" msgstr "" +"Para usar el módulo, primero se debe crear un objeto :class:`Connection` que " +"representa la base de datos. Aquí los datos serán almacenados en el archivo :" +"file:`example.db`:" #: ../Doc/library/sqlite3.rst:30 msgid "" From a01739c863fd04e412a8ec82db121221b47f6c9e Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 24 May 2020 19:52:49 -0500 Subject: [PATCH 03/95] =?UTF-8?q?Inicio=20con=20m=C3=A9todos=20y=20constan?= =?UTF-8?q?tes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 49 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index d6a477b047..448b3f8fa8 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-05-24 16:38-0500\n" +"PO-Revision-Date: 2020-05-24 19:52-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -70,17 +70,24 @@ msgid "" "You can also supply the special name ``:memory:`` to create a database in " "RAM." msgstr "" +"También se puede agregar el nombre especial ``:memory:`` para crear una base " +"de datos en memoria RAM." #: ../Doc/library/sqlite3.rst:32 msgid "" "Once you have a :class:`Connection`, you can create a :class:`Cursor` " "object and call its :meth:`~Cursor.execute` method to perform SQL commands::" msgstr "" +"Una vez se tenga una :class:`Connection`, se puede crear un objeto :class:" +"`Cursor` y llamar su método :meth:`~Cursor.execute` para ejecutar comandos " +"SQL:" #: ../Doc/library/sqlite3.rst:51 msgid "" "The data you've saved is persistent and is available in subsequent sessions::" msgstr "" +"Los datos guardados son persistidos y están disponibles en sesiones " +"posteriores:" #: ../Doc/library/sqlite3.rst:57 msgid "" @@ -89,6 +96,11 @@ msgid "" "doing so is insecure; it makes your program vulnerable to an SQL injection " "attack (see https://xkcd.com/327/ for humorous example of what can go wrong)." msgstr "" +"Usualmente, las operaciones SQL necesitarán usar valores de variables de " +"Python. No se debe ensamblar la consulta usando operaciones de cadena de " +"Python porqué es inseguro; haciendo el programa vulnerable a ataques de " +"inyección SQL (ver divertido ejemplo de lo que puede salir mal: https://xkcd." +"com/327/ )" #: ../Doc/library/sqlite3.rst:62 #, python-format @@ -99,6 +111,11 @@ msgid "" "method. (Other database modules may use a different placeholder, such as ``" "%s`` or ``:1``.) For example::" msgstr "" +"En cambio, se usan los parámetros de sustitución DB-API. Colocar ``?`` como " +"un marcador de posición en el lugar donde se usara un valor, y luego se " +"provee una tupla de valores como segundo argumento del método del cursor :" +"meth:`~Cursor.execute`. (Otros módulos de bases de datos pueden usar un " +"marcado de posición diferente, como ``%s`` o ``:1``.) por ejemplo:" #: ../Doc/library/sqlite3.rst:84 msgid "" @@ -107,62 +124,76 @@ msgid "" "fetchone` method to retrieve a single matching row, or call :meth:`~Cursor." "fetchall` to get a list of the matching rows." msgstr "" +"Para obtener los datos luego de ejecutar una sentencia SELECT, se puede " +"tratar el cursor como un :term:`iterator`, llamar el método del cursor :meth:" +"`~Cursor.fetchone` para obtener un solo registro, o llamar :meth:`~Cursor." +"fetchall` para obtener una lista de todos los registros." #: ../Doc/library/sqlite3.rst:89 msgid "This example uses the iterator form::" -msgstr "" +msgstr "Este ejemplo usa la forma del iterando:" #: ../Doc/library/sqlite3.rst:104 msgid "https://github.com/ghaering/pysqlite" -msgstr "" +msgstr "https://github.com/ghaering/pysqlite" #: ../Doc/library/sqlite3.rst:103 msgid "" "The pysqlite web page -- sqlite3 is developed externally under the name " "\"pysqlite\"." msgstr "" +"La página web pysqlite --sqlite3 se desarrolla externamente bajo el nombre " +"de \"pysqlite\"." #: ../Doc/library/sqlite3.rst:108 msgid "https://www.sqlite.org" -msgstr "" +msgstr "https://www.sqlite.org" #: ../Doc/library/sqlite3.rst:107 msgid "" "The SQLite web page; the documentation describes the syntax and the " "available data types for the supported SQL dialect." msgstr "" +"La página web SQLite; la documentación describe la sintaxis y los tipos de " +"datos disponibles para el lenguaje SQL soportado." #: ../Doc/library/sqlite3.rst:111 msgid "https://www.w3schools.com/sql/" -msgstr "" +msgstr "https://www.w3schools.com/sql/" #: ../Doc/library/sqlite3.rst:111 msgid "Tutorial, reference and examples for learning SQL syntax." -msgstr "" +msgstr "Tutorial, referencia y ejemplos para aprender sintaxis SQL." +# No estoy seguro del correcto orden de las palabras. #: ../Doc/library/sqlite3.rst:113 +#, fuzzy msgid ":pep:`249` - Database API Specification 2.0" -msgstr "" +msgstr ":pep:`249` - <>" #: ../Doc/library/sqlite3.rst:114 msgid "PEP written by Marc-André Lemburg." -msgstr "" +msgstr "PEP escrito por Marc-André Lemburg." #: ../Doc/library/sqlite3.rst:120 msgid "Module functions and constants" -msgstr "" +msgstr "Funciones y constantes del módulo" #: ../Doc/library/sqlite3.rst:125 msgid "" "The version number of this module, as a string. This is not the version of " "the SQLite library." msgstr "" +"El número de versión de este módulo, como un *string*. Este no es la versión " +"de la librería SQLite." #: ../Doc/library/sqlite3.rst:131 msgid "" "The version number of this module, as a tuple of integers. This is not the " "version of the SQLite library." msgstr "" +"El número de versión de este módulo, como una tupla de enteros. Este no es " +"la versión de la librería SQLite." #: ../Doc/library/sqlite3.rst:137 msgid "The version number of the run-time SQLite library, as a string." From 9adf6f56b6ff1eac4757e2e28b71155329a77572 Mon Sep 17 00:00:00 2001 From: G0erman Date: Tue, 26 May 2020 20:03:36 -0500 Subject: [PATCH 04/95] 12% --- library/sqlite3.po | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 448b3f8fa8..b4f67efd59 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-05-24 19:52-0500\n" +"PO-Revision-Date: 2020-05-26 19:02-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -198,17 +198,23 @@ msgstr "" #: ../Doc/library/sqlite3.rst:137 msgid "The version number of the run-time SQLite library, as a string." msgstr "" +"El número de versión de la librería SQLite en tiempo de ejecución, como un " +"string." #: ../Doc/library/sqlite3.rst:142 msgid "" "The version number of the run-time SQLite library, as a tuple of integers." msgstr "" +"El número de versión de la librería SQLite en tiempo de ejecución, como una " +"tupla de enteros." #: ../Doc/library/sqlite3.rst:147 ../Doc/library/sqlite3.rst:160 msgid "" "This constant is meant to be used with the *detect_types* parameter of the :" "func:`connect` function." msgstr "" +"Esta constante se usa con el parámetro *detect_types* de la función :func:" +"`connect`." #: ../Doc/library/sqlite3.rst:150 msgid "" @@ -219,6 +225,12 @@ msgid "" "look into the converters dictionary and use the converter function " "registered for that type there." msgstr "" +"Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado " +"para cada columna que devuelve. Este convertira la primera palabra del tipo " +"declarado, es decir, para *\"integer primary key\"*, será convertido a *" +"\"integer\"*, o para \"*number(10)*\" será convertido a \"*number*\". " +"Entonces para esa columna, revisará el diccionario de conversiones y usará " +"la función de conversión registrada para ese tipo." #: ../Doc/library/sqlite3.rst:163 msgid "" From 793473fa1d86ef5be569eedc46d770c98335f540 Mon Sep 17 00:00:00 2001 From: G0erman Date: Wed, 27 May 2020 17:49:29 -0500 Subject: [PATCH 05/95] 15% --- library/sqlite3.po | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index b4f67efd59..5850bc83b0 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-05-26 19:02-0500\n" +"PO-Revision-Date: 2020-05-27 17:48-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -244,12 +244,24 @@ msgid "" "out everything until the first ``'['`` for the column name and strip the " "preceeding space: the column name would simply be \"Expiration date\"." msgstr "" +"Configurar esto hace que la interfaz de SQLite analice el nombre para cada " +"columna que devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' " +"es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " +"diccionario de conversiones y luego usar la función de conversión encontrada " +"allí y devolver el valor. El nombre de la columna encontrada en :attr:" +"`Cursor.description` no incluye el tipo, es decir, si se usa algo como ``'as " +"''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " +"demás hasta el primer ``'['`` para el nombre de la columna y *strip* el " +"espacio anterior: el nombre de la columna sería: \"Expiration date\"." #: ../Doc/library/sqlite3.rst:176 msgid "" "Opens a connection to the SQLite database file *database*. By default " "returns a :class:`Connection` object, unless a custom *factory* is given." msgstr "" +"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto " +"regresa un objeto :class:`Connection`, a menos que se indique un *factory* " +"personalizado." #: ../Doc/library/sqlite3.rst:179 msgid "" @@ -258,6 +270,10 @@ msgid "" "opened. You can use ``\":memory:\"`` to open a database connection to a " "database that resides in RAM instead of on disk." msgstr "" +"*database* es un :term:`path-like object` indicando el nombre de ruta " +"(absoluta o relativa al directorio de trabajo actual) del archivo de base de " +"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión a base " +"de datos a una base de datos que reside en memoria RAM en lugar que disco." #: ../Doc/library/sqlite3.rst:184 msgid "" @@ -267,12 +283,19 @@ msgid "" "connection should wait for the lock to go away until raising an exception. " "The default for the timeout parameter is 5.0 (five seconds)." msgstr "" +"Cuando una base de datos es accedida por multiples conexiones, y uno de los " +"procesos modifica la base de datos, la base de datos SQLite se bloquea hasta " +"que la transacción se confirme. El parámetro *timeout* especifica que tanto " +"debe esperar la conexión para que el bloqueo desaparezca antes de lanzar una " +"excepción. Por defecto el parámetro timeout es de 5.0 (cinco segundos)." #: ../Doc/library/sqlite3.rst:190 msgid "" "For the *isolation_level* parameter, please see the :attr:`~Connection." "isolation_level` property of :class:`Connection` objects." msgstr "" +"Para el parámetro *isolation_level*, por favor ver la propiedad :attr:" +"`~Connection.isolation_level` del objeto :class:`Connection`." #: ../Doc/library/sqlite3.rst:193 msgid "" @@ -282,6 +305,11 @@ msgid "" "the module-level :func:`register_converter` function allow you to easily do " "that." msgstr "" +"Nativamente SQLite soporta solo los tipos *TEXT*, *INTEGER*,*REAL*,*BLOB* y " +"*NULL*. Si se quiere usar otros tipos, debe soportarlos usted mismo. El " +"parámetro *detect_types* y el uso de **converters** personalizados " +"registrados con la función a nivel del módulo :func:`register_converter` " +"permite hacerlo fácilmente." #: ../Doc/library/sqlite3.rst:198 msgid "" From 45ca2ce6cb8e5a7f541ce89b45fe3a56cfc8f7b7 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 13 Jun 2020 18:40:32 -0500 Subject: [PATCH 06/95] 19% Finishing Class connect, i. e. latin expression used in spanish too --- library/sqlite3.po | 44 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 37 insertions(+), 7 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 5850bc83b0..ddb846a820 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-05-27 17:48-0500\n" +"PO-Revision-Date: 2020-06-13 18:35-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -227,10 +227,10 @@ msgid "" msgstr "" "Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado " "para cada columna que devuelve. Este convertira la primera palabra del tipo " -"declarado, es decir, para *\"integer primary key\"*, será convertido a *" -"\"integer\"*, o para \"*number(10)*\" será convertido a \"*number*\". " -"Entonces para esa columna, revisará el diccionario de conversiones y usará " -"la función de conversión registrada para ese tipo." +"declarado, i. e. para *\"integer primary key\"*, será convertido a *\"integer" +"\"*, o para \"*number(10)*\" será convertido a \"*number*\". Entonces para " +"esa columna, revisará el diccionario de conversiones y usará la función de " +"conversión registrada para ese tipo." #: ../Doc/library/sqlite3.rst:163 msgid "" @@ -249,7 +249,7 @@ msgstr "" "es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " "diccionario de conversiones y luego usar la función de conversión encontrada " "allí y devolver el valor. El nombre de la columna encontrada en :attr:" -"`Cursor.description` no incluye el tipo, es decir, si se usa algo como ``'as " +"`Cursor.description` no incluye el tipo, i. e. si se usa algo como ``'as " "''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " "demás hasta el primer ``'['`` para el nombre de la columna y *strip* el " "espacio anterior: el nombre de la columna sería: \"Expiration date\"." @@ -317,6 +317,9 @@ msgid "" "to any combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` " "to turn type detection on." msgstr "" +"*detect_types* por defecto 0 (i. e. off, no detección de tipo), se puede " +"configurar a cualquier combinación de :const:`PARSE_DECLTYPES` y :const:" +"`PARSE_COLNAMES` para encender la detección." #: ../Doc/library/sqlite3.rst:202 msgid "" @@ -326,18 +329,29 @@ msgid "" "threads with the same connection writing operations should be serialized by " "the user to avoid data corruption." msgstr "" +"Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo " +"creado puede utilizar la conexión. Si se configura :const:`False`, la " +"conexión regresada podrá ser compartida con múltiples hilos. Cuando se " +"utiliza multiples hilos con la misma conexión, las operaciones de escritura " +"deberán ser serializadas por el usuario para evitar corrupción de datos." #: ../Doc/library/sqlite3.rst:207 +#, fuzzy msgid "" "By default, the :mod:`sqlite3` module uses its :class:`Connection` class for " "the connect call. You can, however, subclass the :class:`Connection` class " "and make :func:`connect` use your class instead by providing your class for " "the *factory* parameter." msgstr "" +"Por defecto el módulo :mod:`sqlite3` utiliza su clase :class:`Connection` " +"para la llamada de conexión. Sin embargo se puede subclass la class :class:" +"`Connection` y hacer :func:`connect` usando su clase en lugar de proveer su " +"clase para el parámetro *factory*." #: ../Doc/library/sqlite3.rst:212 msgid "Consult the section :ref:`sqlite3-types` of this manual for details." msgstr "" +"Consulte la sección :ref:`sqlite3-types` de este manual para más detalles." #: ../Doc/library/sqlite3.rst:214 msgid "" @@ -346,13 +360,22 @@ msgid "" "that are cached for the connection, you can set the *cached_statements* " "parameter. The currently implemented default is to cache 100 statements." msgstr "" +"El módulo :mod:`sqlite3` internamente usa declaración caché para evitar un " +"análisis SQL costoso. Si se desea especificar el número de sentencias que " +"estarán en memoria caché para la conexión, se puede configurar el parámetro " +"*cached_statements*. Por defecto están configurado para 100 sentencias en " +"memoria caché." #: ../Doc/library/sqlite3.rst:219 +#, fuzzy msgid "" "If *uri* is true, *database* is interpreted as a URI. This allows you to " "specify options. For example, to open a database in read-only mode you can " "use::" msgstr "" +"Si *uri* es True, la *database* se interpreta como una *URI*. Esto permite " +"la especificación de opciones, por ejemplo, para abrir la base de datos en " +"modo solo lectura::" #: ../Doc/library/sqlite3.rst:225 msgid "" @@ -360,21 +383,28 @@ msgid "" "can be found in the `SQLite URI documentation `_." msgstr "" +"Más información sobre esta característica, incluida una lista de opciones " +"organizadas, se encuentran en `SQLite URI documentation `_." #: ../Doc/library/sqlite3.rst:229 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " "``database``." msgstr "" +"Lanza un :ref:`auditing event ` ``sqlite3.connect`` con argumento " +"``database``." #: ../Doc/library/sqlite3.rst:230 msgid "Added the *uri* parameter." -msgstr "" +msgstr "Agrega el parámetro *uri*" #: ../Doc/library/sqlite3.rst:233 msgid "" "*database* can now also be a :term:`path-like object`, not only a string." msgstr "" +"*database* ahora también puede ser un :term:`path-like object`, no solo un " +"*string*." #: ../Doc/library/sqlite3.rst:239 msgid "" From a2a021bab9169a32f2c53d291df786df84b7358b Mon Sep 17 00:00:00 2001 From: G0erman Date: Fri, 19 Jun 2020 18:17:03 -0500 Subject: [PATCH 07/95] 21% --- library/sqlite3.po | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index ddb846a820..24c274299a 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-06-13 18:35-0500\n" +"PO-Revision-Date: 2020-06-19 18:16-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -415,6 +415,13 @@ msgid "" "and the name of the type in your query are matched in case-insensitive " "manner." msgstr "" +"Registra un invocable para convertir un *bytestring* de la base de datos en " +"un tipo python personalizado. El invocable será invocado por todos los " +"valores de la base de datos que son del tipo *typename*. Conferir el " +"parámetro *detect_types* de la función :func:`connect` para el " +"funcionamiento de la detección de tipo. Se debe notar que *typename* y el " +"nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas y " +"minúsculas." #: ../Doc/library/sqlite3.rst:248 msgid "" @@ -423,6 +430,10 @@ msgid "" "parameter the Python value, and must return a value of the following types: " "int, float, str or bytes." msgstr "" +"Registra un invocable para convertir el tipo Python personalizado a uno de " +"los tipos soportados por SQLite's. El invocable *callable* acepta un único " +"parámetro de valor Python, y debe regresar un valor de los siguientes tipos: " +"*int*, *float*, *str* or *bytes*." #: ../Doc/library/sqlite3.rst:256 msgid "" @@ -431,11 +442,17 @@ msgid "" "syntactically correct, only that there are no unclosed string literals and " "the statement is terminated by a semicolon." msgstr "" +"Regresa :const:`True` si la cadena *sql* contiene una o más sentencias SQL " +"completas terminadas con punto y coma. No se verifica que la sentencia SQL " +"sea sintácticamente correcta, solo que no existan literales de cadenas no " +"cerradas y que la sentencia termine por un punto y coma." #: ../Doc/library/sqlite3.rst:261 msgid "" "This can be used to build a shell for SQLite, as in the following example:" msgstr "" +"Esto puede ser usado para construir un *shell* para SQLite, como en el " +"siguiente ejemplo:" #: ../Doc/library/sqlite3.rst:269 msgid "" From 8c02d2ffaedae4cadff0eb67e2ff987432abc358 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:09:47 -0500 Subject: [PATCH 08/95] Update library/sqlite3.po MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cambio de biblioteca por librería. Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 24c274299a..ffad0c8040 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -39,7 +39,7 @@ msgid "" "application using SQLite and then port the code to a larger database such as " "PostgreSQL or Oracle." msgstr "" -"SQLite es una librería de C que provee una base de datos ligera basada en " +"SQLite es una biblioteca de C que provee una base de datos ligera basada en " "disco, esta no requiere un proceso de servidor separado y permite acceder a " "la base de datos usando una variación no estándar del lenguaje de consulta " "SQL. Algunas aplicaciones pueden usar SQLite para almacenamiento interno. " From 6ccede0b6ebad8a3562f3c2afe845466afe2670d Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:12:35 -0500 Subject: [PATCH 09/95] Update library/sqlite3.po Se corrije error. Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index ffad0c8040..71a015a605 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -87,7 +87,7 @@ msgid "" "The data you've saved is persistent and is available in subsequent sessions::" msgstr "" "Los datos guardados son persistidos y están disponibles en sesiones " -"posteriores:" +"posteriores::" #: ../Doc/library/sqlite3.rst:57 msgid "" From 98af293e32d653769d5e5b3e5882d3ccfa8e043d Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:15:18 -0500 Subject: [PATCH 10/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 71a015a605..0d4127b7e1 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -98,7 +98,7 @@ msgid "" msgstr "" "Usualmente, las operaciones SQL necesitarán usar valores de variables de " "Python. No se debe ensamblar la consulta usando operaciones de cadena de " -"Python porqué es inseguro; haciendo el programa vulnerable a ataques de " +"Python porque es inseguro; haciendo el programa vulnerable a ataques de " "inyección SQL (ver divertido ejemplo de lo que puede salir mal: https://xkcd." "com/327/ )" From 2e0e84a0dbf12f30a10c053f6435f10d33770791 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:16:37 -0500 Subject: [PATCH 11/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 0d4127b7e1..9726927f9c 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -99,7 +99,7 @@ msgstr "" "Usualmente, las operaciones SQL necesitarán usar valores de variables de " "Python. No se debe ensamblar la consulta usando operaciones de cadena de " "Python porque es inseguro; haciendo el programa vulnerable a ataques de " -"inyección SQL (ver divertido ejemplo de lo que puede salir mal: https://xkcd." +"inyección SQL (ver este divertido ejemplo de lo que puede salir mal: https://xkcd." "com/327/ )" #: ../Doc/library/sqlite3.rst:62 From aa29ade4257d3fbfabf1918afb5f771bf089b923 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:20:26 -0500 Subject: [PATCH 12/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 9726927f9c..f04bf20aca 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -115,7 +115,7 @@ msgstr "" "un marcador de posición en el lugar donde se usara un valor, y luego se " "provee una tupla de valores como segundo argumento del método del cursor :" "meth:`~Cursor.execute`. (Otros módulos de bases de datos pueden usar un " -"marcado de posición diferente, como ``%s`` o ``:1``.) por ejemplo:" +"marcado de posición diferente, como ``%s`` o ``:1``). Por ejemplo:" #: ../Doc/library/sqlite3.rst:84 msgid "" From d07a55f76225f9532c9960cf7b96b7fd73f9f842 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:31:04 -0500 Subject: [PATCH 13/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index f04bf20aca..8001f07adb 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -114,7 +114,7 @@ msgstr "" "En cambio, se usan los parámetros de sustitución DB-API. Colocar ``?`` como " "un marcador de posición en el lugar donde se usara un valor, y luego se " "provee una tupla de valores como segundo argumento del método del cursor :" -"meth:`~Cursor.execute`. (Otros módulos de bases de datos pueden usar un " +"meth:`~Cursor.execute` (otros módulos de bases de datos pueden usar un " "marcado de posición diferente, como ``%s`` o ``:1``). Por ejemplo:" #: ../Doc/library/sqlite3.rst:84 From fe006af1a986897213631c2bfc4c4359a4f7eb50 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:34:46 -0500 Subject: [PATCH 14/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 8001f07adb..05fd8ff256 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -131,7 +131,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:89 msgid "This example uses the iterator form::" -msgstr "Este ejemplo usa la forma del iterando:" +msgstr "Este ejemplo usa la forma con el iterador:" #: ../Doc/library/sqlite3.rst:104 msgid "https://github.com/ghaering/pysqlite" From 22e267f1b12ae375c7c04b972facf096045801c2 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:35:33 -0500 Subject: [PATCH 15/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 05fd8ff256..c23ddfc6db 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -142,7 +142,7 @@ msgid "" "The pysqlite web page -- sqlite3 is developed externally under the name " "\"pysqlite\"." msgstr "" -"La página web pysqlite --sqlite3 se desarrolla externamente bajo el nombre " +"La página web pysqlite -- sqlite3 se desarrolla externamente bajo el nombre " "de \"pysqlite\"." #: ../Doc/library/sqlite3.rst:108 From b0b524695049553af5a2ddb46d68d4bfd212b964 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:37:30 -0500 Subject: [PATCH 16/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index c23ddfc6db..5a66e7d8fc 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -169,7 +169,7 @@ msgstr "Tutorial, referencia y ejemplos para aprender sintaxis SQL." #: ../Doc/library/sqlite3.rst:113 #, fuzzy msgid ":pep:`249` - Database API Specification 2.0" -msgstr ":pep:`249` - <>" +msgstr ":pep:`249` - Especificación de la API 2.0 de base de datos" #: ../Doc/library/sqlite3.rst:114 msgid "PEP written by Marc-André Lemburg." From c9cadc55879742578005fa6a3c9faea7a0143955 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:49:33 -0500 Subject: [PATCH 17/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 5a66e7d8fc..b8e5d37e52 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -184,7 +184,7 @@ msgid "" "The version number of this module, as a string. This is not the version of " "the SQLite library." msgstr "" -"El número de versión de este módulo, como un *string*. Este no es la versión " +"El número de versión de este módulo, como una cadena de caracteres. Este no es la versión " "de la librería SQLite." #: ../Doc/library/sqlite3.rst:131 From 87c0fa352314f2837739437f6b51da6d4c27b5b1 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 20:57:33 -0500 Subject: [PATCH 18/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index b8e5d37e52..6ca8eb5aa6 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -251,7 +251,7 @@ msgstr "" "allí y devolver el valor. El nombre de la columna encontrada en :attr:" "`Cursor.description` no incluye el tipo, i. e. si se usa algo como ``'as " "''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " -"demás hasta el primer ``'['`` para el nombre de la columna y *strip* el " +"demás hasta el primer ``'['`` para el nombre de la columna y eliminará el " "espacio anterior: el nombre de la columna sería: \"Expiration date\"." #: ../Doc/library/sqlite3.rst:176 From 77bc1f4fe475f5330bf4e97498fd2d9d00b20f42 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 21:03:20 -0500 Subject: [PATCH 19/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 6ca8eb5aa6..3b6959c1dc 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -331,7 +331,7 @@ msgid "" msgstr "" "Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo " "creado puede utilizar la conexión. Si se configura :const:`False`, la " -"conexión regresada podrá ser compartida con múltiples hilos. Cuando se " +"conexión retornada podrá ser compartida con múltiples hilos. Cuando se " "utiliza multiples hilos con la misma conexión, las operaciones de escritura " "deberán ser serializadas por el usuario para evitar corrupción de datos." From 0c43455a8a549449288d22918e44aba894eda199 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 28 Jun 2020 21:04:21 -0500 Subject: [PATCH 20/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 3b6959c1dc..9fd8619380 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -344,7 +344,7 @@ msgid "" "the *factory* parameter." msgstr "" "Por defecto el módulo :mod:`sqlite3` utiliza su clase :class:`Connection` " -"para la llamada de conexión. Sin embargo se puede subclass la class :class:" +"para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" "`Connection` y hacer :func:`connect` usando su clase en lugar de proveer su " "clase para el parámetro *factory*." From 832ade30edb3b61393724c29ab3a2a9b2fc1949f Mon Sep 17 00:00:00 2001 From: G0erman Date: Thu, 2 Jul 2020 22:35:24 -0500 Subject: [PATCH 21/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 9fd8619380..dead04ca80 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -345,7 +345,7 @@ msgid "" msgstr "" "Por defecto el módulo :mod:`sqlite3` utiliza su clase :class:`Connection` " "para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" -"`Connection` y hacer :func:`connect` usando su clase en lugar de proveer su " +"`Connection` y hacer que :func:`connect` use su clase en lugar de proveer su " "clase para el parámetro *factory*." #: ../Doc/library/sqlite3.rst:212 From a765ada15c170f55edb051151b761643f56f019a Mon Sep 17 00:00:00 2001 From: G0erman Date: Thu, 2 Jul 2020 22:38:41 -0500 Subject: [PATCH 22/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index dead04ca80..bd59b52db1 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -317,7 +317,7 @@ msgid "" "to any combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` " "to turn type detection on." msgstr "" -"*detect_types* por defecto 0 (i. e. off, no detección de tipo), se puede " +"*detect_types* por defecto es 0 (por ejemplo *off*, no detección de tipo), se puede " "configurar a cualquier combinación de :const:`PARSE_DECLTYPES` y :const:" "`PARSE_COLNAMES` para encender la detección." From 9f5b6f44dabc24993fd5af151e11b56ea87ff5b4 Mon Sep 17 00:00:00 2001 From: G0erman Date: Thu, 2 Jul 2020 22:40:07 -0500 Subject: [PATCH 23/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index bd59b52db1..46ecb89478 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -343,7 +343,7 @@ msgid "" "and make :func:`connect` use your class instead by providing your class for " "the *factory* parameter." msgstr "" -"Por defecto el módulo :mod:`sqlite3` utiliza su clase :class:`Connection` " +"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` " "para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" "`Connection` y hacer que :func:`connect` use su clase en lugar de proveer su " "clase para el parámetro *factory*." From 13f709c243362342f00b311e41c4ff93fb9d5b3f Mon Sep 17 00:00:00 2001 From: G0erman Date: Thu, 2 Jul 2020 22:43:43 -0500 Subject: [PATCH 24/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 46ecb89478..b14ce070e3 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -374,7 +374,7 @@ msgid "" "use::" msgstr "" "Si *uri* es True, la *database* se interpreta como una *URI*. Esto permite " -"la especificación de opciones, por ejemplo, para abrir la base de datos en " +"especificar opciones. Por ejemplo, para abrir la base de datos en " "modo solo lectura::" #: ../Doc/library/sqlite3.rst:225 From 58bfd381e7a5f7367bac8d5eebc14d1a2e521b33 Mon Sep 17 00:00:00 2001 From: G0erman Date: Thu, 2 Jul 2020 22:45:05 -0500 Subject: [PATCH 25/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index b14ce070e3..a95a2a3599 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -375,7 +375,7 @@ msgid "" msgstr "" "Si *uri* es True, la *database* se interpreta como una *URI*. Esto permite " "especificar opciones. Por ejemplo, para abrir la base de datos en " -"modo solo lectura::" +"modo solo lectura puedes usar::" #: ../Doc/library/sqlite3.rst:225 msgid "" From 1e4d1ee17efffdfb8ecc1dc90c2f2f021c0b2a1f Mon Sep 17 00:00:00 2001 From: G0erman Date: Thu, 2 Jul 2020 22:46:16 -0500 Subject: [PATCH 26/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index a95a2a3599..d523166379 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -392,7 +392,7 @@ msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " "``database``." msgstr "" -"Lanza un :ref:`auditing event ` ``sqlite3.connect`` con argumento " +"Lanza un :ref:`evento de auditoría ` ``sqlite3.connect`` con argumento " "``database``." #: ../Doc/library/sqlite3.rst:230 From e6a57cda1e25cb958f7acba7266049bf55e3fd47 Mon Sep 17 00:00:00 2001 From: G0erman Date: Thu, 2 Jul 2020 22:48:16 -0500 Subject: [PATCH 27/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index d523166379..af870a6147 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -417,7 +417,7 @@ msgid "" msgstr "" "Registra un invocable para convertir un *bytestring* de la base de datos en " "un tipo python personalizado. El invocable será invocado por todos los " -"valores de la base de datos que son del tipo *typename*. Conferir el " +"valores de la base de datos que son del tipo *typename*. Conceder el " "parámetro *detect_types* de la función :func:`connect` para el " "funcionamiento de la detección de tipo. Se debe notar que *typename* y el " "nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas y " From 6aba76beac13633fad52516ff175c01e70716826 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 16 Aug 2020 13:08:29 -0500 Subject: [PATCH 28/95] Agregando recomendaciones del draft pull request --- library/sqlite3.po | 1073 ++++++++++++++++++++------------------------ 1 file changed, 494 insertions(+), 579 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index af870a6147..7c73d06d02 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-06-19 18:16-0500\n" +"PO-Revision-Date: 2020-07-22 18:26-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Last-Translator: \n" "Language: es\n" -"X-Generator: Poedit 2.3.1\n" +"X-Generator: Poedit 2.4\n" #: ../Doc/library/sqlite3.rst:2 msgid ":mod:`sqlite3` --- DB-API 2.0 interface for SQLite databases" @@ -32,102 +32,89 @@ msgstr "**Source code:** :source:`Lib/sqlite3/`" #: ../Doc/library/sqlite3.rst:13 msgid "" -"SQLite is a C library that provides a lightweight disk-based database that " -"doesn't require a separate server process and allows accessing the database " -"using a nonstandard variant of the SQL query language. Some applications can " -"use SQLite for internal data storage. It's also possible to prototype an " -"application using SQLite and then port the code to a larger database such as " -"PostgreSQL or Oracle." +"SQLite is a C library that provides a lightweight disk-based database that doesn't " +"require a separate server process and allows accessing the database using a nonstandard " +"variant of the SQL query language. Some applications can use SQLite for internal data " +"storage. It's also possible to prototype an application using SQLite and then port the " +"code to a larger database such as PostgreSQL or Oracle." msgstr "" -"SQLite es una biblioteca de C que provee una base de datos ligera basada en " -"disco, esta no requiere un proceso de servidor separado y permite acceder a " -"la base de datos usando una variación no estándar del lenguaje de consulta " -"SQL. Algunas aplicaciones pueden usar SQLite para almacenamiento interno. " -"También es posible prototipar una aplicación usando SQLite y luego " -"transferir el código a una base de datos más grande como PostgreSQL u Oracle." +"SQLite es una biblioteca de C que provee una base de datos ligera basada en disco, esta " +"no requiere un proceso de servidor separado y permite acceder a la base de datos usando " +"una variación no estándar del lenguaje de consulta SQL. Algunas aplicaciones pueden usar " +"SQLite para almacenamiento interno. También es posible prototipar una aplicación usando " +"SQLite y luego transferir el código a una base de datos más grande como PostgreSQL u " +"Oracle." #: ../Doc/library/sqlite3.rst:20 msgid "" -"The sqlite3 module was written by Gerhard Häring. It provides a SQL " -"interface compliant with the DB-API 2.0 specification described by :pep:" -"`249`." +"The sqlite3 module was written by Gerhard Häring. It provides a SQL interface compliant " +"with the DB-API 2.0 specification described by :pep:`249`." msgstr "" -"El módulo sqlite3 fue escrito por Gerhard Häring. Provee una interfaz SQL " -"compatible con la especificación DB-API 2.0 descrita por :pep:`249`." +"El módulo sqlite3 fue escrito por Gerhard Häring. Provee una interfaz SQL compatible con " +"la especificación DB-API 2.0 descrita por :pep:`249`." #: ../Doc/library/sqlite3.rst:23 msgid "" -"To use the module, you must first create a :class:`Connection` object that " -"represents the database. Here the data will be stored in the :file:`example." -"db` file::" +"To use the module, you must first create a :class:`Connection` object that represents the " +"database. Here the data will be stored in the :file:`example.db` file::" msgstr "" -"Para usar el módulo, primero se debe crear un objeto :class:`Connection` que " -"representa la base de datos. Aquí los datos serán almacenados en el archivo :" -"file:`example.db`:" +"Para usar el módulo, primero se debe crear un objeto :class:`Connection` que representa " +"la base de datos. Aquí los datos serán almacenados en el archivo :file:`example.db`:" #: ../Doc/library/sqlite3.rst:30 -msgid "" -"You can also supply the special name ``:memory:`` to create a database in " -"RAM." +msgid "You can also supply the special name ``:memory:`` to create a database in RAM." msgstr "" -"También se puede agregar el nombre especial ``:memory:`` para crear una base " -"de datos en memoria RAM." +"También se puede agregar el nombre especial ``:memory:`` para crear una base de datos en " +"memoria RAM." #: ../Doc/library/sqlite3.rst:32 msgid "" -"Once you have a :class:`Connection`, you can create a :class:`Cursor` " -"object and call its :meth:`~Cursor.execute` method to perform SQL commands::" +"Once you have a :class:`Connection`, you can create a :class:`Cursor` object and call " +"its :meth:`~Cursor.execute` method to perform SQL commands::" msgstr "" -"Una vez se tenga una :class:`Connection`, se puede crear un objeto :class:" -"`Cursor` y llamar su método :meth:`~Cursor.execute` para ejecutar comandos " -"SQL:" +"Una vez se tenga una :class:`Connection`, se puede crear un objeto :class:`Cursor` y " +"llamar su método :meth:`~Cursor.execute` para ejecutar comandos SQL:" #: ../Doc/library/sqlite3.rst:51 -msgid "" -"The data you've saved is persistent and is available in subsequent sessions::" -msgstr "" -"Los datos guardados son persistidos y están disponibles en sesiones " -"posteriores::" +msgid "The data you've saved is persistent and is available in subsequent sessions::" +msgstr "Los datos guardados son persistidos y están disponibles en sesiones posteriores::" #: ../Doc/library/sqlite3.rst:57 msgid "" -"Usually your SQL operations will need to use values from Python variables. " -"You shouldn't assemble your query using Python's string operations because " -"doing so is insecure; it makes your program vulnerable to an SQL injection " -"attack (see https://xkcd.com/327/ for humorous example of what can go wrong)." +"Usually your SQL operations will need to use values from Python variables. You shouldn't " +"assemble your query using Python's string operations because doing so is insecure; it " +"makes your program vulnerable to an SQL injection attack (see https://xkcd.com/327/ for " +"humorous example of what can go wrong)." msgstr "" -"Usualmente, las operaciones SQL necesitarán usar valores de variables de " -"Python. No se debe ensamblar la consulta usando operaciones de cadena de " -"Python porque es inseguro; haciendo el programa vulnerable a ataques de " -"inyección SQL (ver este divertido ejemplo de lo que puede salir mal: https://xkcd." -"com/327/ )" +"Usualmente, las operaciones SQL necesitarán usar valores de variables de Python. No se " +"debe ensamblar la consulta usando operaciones de cadena de Python porque es inseguro; " +"haciendo el programa vulnerable a ataques de inyección SQL (ver este divertido ejemplo de " +"lo que puede salir mal: https://xkcd.com/327/ )" #: ../Doc/library/sqlite3.rst:62 #, python-format msgid "" -"Instead, use the DB-API's parameter substitution. Put ``?`` as a " -"placeholder wherever you want to use a value, and then provide a tuple of " -"values as the second argument to the cursor's :meth:`~Cursor.execute` " -"method. (Other database modules may use a different placeholder, such as ``" -"%s`` or ``:1``.) For example::" +"Instead, use the DB-API's parameter substitution. Put ``?`` as a placeholder wherever " +"you want to use a value, and then provide a tuple of values as the second argument to the " +"cursor's :meth:`~Cursor.execute` method. (Other database modules may use a different " +"placeholder, such as ``%s`` or ``:1``.) For example::" msgstr "" -"En cambio, se usan los parámetros de sustitución DB-API. Colocar ``?`` como " -"un marcador de posición en el lugar donde se usara un valor, y luego se " -"provee una tupla de valores como segundo argumento del método del cursor :" -"meth:`~Cursor.execute` (otros módulos de bases de datos pueden usar un " -"marcado de posición diferente, como ``%s`` o ``:1``). Por ejemplo:" +"En cambio, se usan los parámetros de sustitución DB-API. Colocar ``?`` como un marcador " +"de posición en el lugar donde se usara un valor, y luego se provee una tupla de valores " +"como segundo argumento del método del cursor :meth:`~Cursor.execute` (otros módulos de " +"bases de datos pueden usar un marcado de posición diferente, como ``%s`` o ``:1``). Por " +"ejemplo:" #: ../Doc/library/sqlite3.rst:84 msgid "" -"To retrieve data after executing a SELECT statement, you can either treat " -"the cursor as an :term:`iterator`, call the cursor's :meth:`~Cursor." -"fetchone` method to retrieve a single matching row, or call :meth:`~Cursor." -"fetchall` to get a list of the matching rows." +"To retrieve data after executing a SELECT statement, you can either treat the cursor as " +"an :term:`iterator`, call the cursor's :meth:`~Cursor.fetchone` method to retrieve a " +"single matching row, or call :meth:`~Cursor.fetchall` to get a list of the matching rows." msgstr "" -"Para obtener los datos luego de ejecutar una sentencia SELECT, se puede " -"tratar el cursor como un :term:`iterator`, llamar el método del cursor :meth:" -"`~Cursor.fetchone` para obtener un solo registro, o llamar :meth:`~Cursor." -"fetchall` para obtener una lista de todos los registros." +"Para obtener los datos luego de ejecutar una sentencia SELECT, se puede tratar el cursor " +"como un :term:`iterator`, llamar el método del cursor :meth:`~Cursor.fetchone` para " +"obtener un solo registro, o llamar :meth:`~Cursor.fetchall` para obtener una lista de " +"todos los registros." #: ../Doc/library/sqlite3.rst:89 msgid "This example uses the iterator form::" @@ -139,11 +126,10 @@ msgstr "https://github.com/ghaering/pysqlite" #: ../Doc/library/sqlite3.rst:103 msgid "" -"The pysqlite web page -- sqlite3 is developed externally under the name " -"\"pysqlite\"." +"The pysqlite web page -- sqlite3 is developed externally under the name \"pysqlite\"." msgstr "" -"La página web pysqlite -- sqlite3 se desarrolla externamente bajo el nombre " -"de \"pysqlite\"." +"La página web pysqlite -- sqlite3 se desarrolla externamente bajo el nombre de \"pysqlite" +"\"." #: ../Doc/library/sqlite3.rst:108 msgid "https://www.sqlite.org" @@ -151,11 +137,11 @@ msgstr "https://www.sqlite.org" #: ../Doc/library/sqlite3.rst:107 msgid "" -"The SQLite web page; the documentation describes the syntax and the " -"available data types for the supported SQL dialect." +"The SQLite web page; the documentation describes the syntax and the available data types " +"for the supported SQL dialect." msgstr "" -"La página web SQLite; la documentación describe la sintaxis y los tipos de " -"datos disponibles para el lenguaje SQL soportado." +"La página web SQLite; la documentación describe la sintaxis y los tipos de datos " +"disponibles para el lenguaje SQL soportado." #: ../Doc/library/sqlite3.rst:111 msgid "https://www.w3schools.com/sql/" @@ -165,9 +151,7 @@ msgstr "https://www.w3schools.com/sql/" msgid "Tutorial, reference and examples for learning SQL syntax." msgstr "Tutorial, referencia y ejemplos para aprender sintaxis SQL." -# No estoy seguro del correcto orden de las palabras. #: ../Doc/library/sqlite3.rst:113 -#, fuzzy msgid ":pep:`249` - Database API Specification 2.0" msgstr ":pep:`249` - Especificación de la API 2.0 de base de datos" @@ -181,286 +165,257 @@ msgstr "Funciones y constantes del módulo" #: ../Doc/library/sqlite3.rst:125 msgid "" -"The version number of this module, as a string. This is not the version of " -"the SQLite library." +"The version number of this module, as a string. This is not the version of the SQLite " +"library." msgstr "" "El número de versión de este módulo, como una cadena de caracteres. Este no es la versión " "de la librería SQLite." #: ../Doc/library/sqlite3.rst:131 msgid "" -"The version number of this module, as a tuple of integers. This is not the " -"version of the SQLite library." +"The version number of this module, as a tuple of integers. This is not the version of the " +"SQLite library." msgstr "" -"El número de versión de este módulo, como una tupla de enteros. Este no es " -"la versión de la librería SQLite." +"El número de versión de este módulo, como una tupla de enteros. Este no es la versión de " +"la librería SQLite." #: ../Doc/library/sqlite3.rst:137 msgid "The version number of the run-time SQLite library, as a string." msgstr "" -"El número de versión de la librería SQLite en tiempo de ejecución, como un " -"string." +"El número de versión de la librería SQLite en tiempo de ejecución, como una cadena de " +"caracteres." #: ../Doc/library/sqlite3.rst:142 -msgid "" -"The version number of the run-time SQLite library, as a tuple of integers." +msgid "The version number of the run-time SQLite library, as a tuple of integers." msgstr "" -"El número de versión de la librería SQLite en tiempo de ejecución, como una " -"tupla de enteros." +"El número de versión de la librería SQLite en tiempo de ejecución, como una tupla de " +"enteros." #: ../Doc/library/sqlite3.rst:147 ../Doc/library/sqlite3.rst:160 msgid "" -"This constant is meant to be used with the *detect_types* parameter of the :" -"func:`connect` function." +"This constant is meant to be used with the *detect_types* parameter of the :func:" +"`connect` function." msgstr "" -"Esta constante se usa con el parámetro *detect_types* de la función :func:" -"`connect`." +"Esta constante se usa con el parámetro *detect_types* de la función :func:`connect`." #: ../Doc/library/sqlite3.rst:150 msgid "" -"Setting it makes the :mod:`sqlite3` module parse the declared type for each " -"column it returns. It will parse out the first word of the declared type, " -"i. e. for \"integer primary key\", it will parse out \"integer\", or for " -"\"number(10)\" it will parse out \"number\". Then for that column, it will " -"look into the converters dictionary and use the converter function " -"registered for that type there." +"Setting it makes the :mod:`sqlite3` module parse the declared type for each column it " +"returns. It will parse out the first word of the declared type, i. e. for \"integer " +"primary key\", it will parse out \"integer\", or for \"number(10)\" it will parse out " +"\"number\". Then for that column, it will look into the converters dictionary and use the " +"converter function registered for that type there." msgstr "" -"Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado " -"para cada columna que devuelve. Este convertira la primera palabra del tipo " -"declarado, i. e. para *\"integer primary key\"*, será convertido a *\"integer" -"\"*, o para \"*number(10)*\" será convertido a \"*number*\". Entonces para " -"esa columna, revisará el diccionario de conversiones y usará la función de " -"conversión registrada para ese tipo." +"Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado para cada " +"columna que devuelve. Este convertira la primera palabra del tipo declarado, i. e. para *" +"\"integer primary key\"*, será convertido a *\"integer\"*, o para \"*number(10)*\" será " +"convertido a \"*number*\". Entonces para esa columna, revisará el diccionario de " +"conversiones y usará la función de conversión registrada para ese tipo." #: ../Doc/library/sqlite3.rst:163 msgid "" -"Setting this makes the SQLite interface parse the column name for each " -"column it returns. It will look for a string formed [mytype] in there, and " -"then decide that 'mytype' is the type of the column. It will try to find an " -"entry of 'mytype' in the converters dictionary and then use the converter " -"function found there to return the value. The column name found in :attr:" -"`Cursor.description` does not include the type, i. e. if you use something " -"like ``'as \"Expiration date [datetime]\"'`` in your SQL, then we will parse " -"out everything until the first ``'['`` for the column name and strip the " +"Setting this makes the SQLite interface parse the column name for each column it " +"returns. It will look for a string formed [mytype] in there, and then decide that " +"'mytype' is the type of the column. It will try to find an entry of 'mytype' in the " +"converters dictionary and then use the converter function found there to return the " +"value. The column name found in :attr:`Cursor.description` does not include the type, i. " +"e. if you use something like ``'as \"Expiration date [datetime]\"'`` in your SQL, then we " +"will parse out everything until the first ``'['`` for the column name and strip the " "preceeding space: the column name would simply be \"Expiration date\"." msgstr "" -"Configurar esto hace que la interfaz de SQLite analice el nombre para cada " -"columna que devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' " -"es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " -"diccionario de conversiones y luego usar la función de conversión encontrada " -"allí y devolver el valor. El nombre de la columna encontrada en :attr:" -"`Cursor.description` no incluye el tipo, i. e. si se usa algo como ``'as " -"''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " -"demás hasta el primer ``'['`` para el nombre de la columna y eliminará el " -"espacio anterior: el nombre de la columna sería: \"Expiration date\"." +"Configurar esto hace que la interfaz de SQLite analice el nombre para cada columna que " +"devuelve, buscara una cadena de caracteres [mytype], y decidirá cual 'mytype' es el tipo " +"de la columna. Tratará de encontrar una entrada 'mytype' en el diccionario de " +"conversiones y luego usar la función de conversión encontrada allí y devolver el valor. " +"El nombre de la columna encontrada en :attr:`Cursor.description` no incluye el tipo, i. " +"e. si se usa algo como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces " +"analizará todo lo demás hasta el primer ``'['`` para el nombre de la columna y eliminará " +"el espacio anterior: el nombre de la columna sería: \"Expiration date\"." #: ../Doc/library/sqlite3.rst:176 msgid "" -"Opens a connection to the SQLite database file *database*. By default " -"returns a :class:`Connection` object, unless a custom *factory* is given." +"Opens a connection to the SQLite database file *database*. By default returns a :class:" +"`Connection` object, unless a custom *factory* is given." msgstr "" -"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto " -"regresa un objeto :class:`Connection`, a menos que se indique un *factory* " -"personalizado." +"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto regresa un " +"objeto :class:`Connection`, a menos que se indique un *factory* personalizado." #: ../Doc/library/sqlite3.rst:179 msgid "" -"*database* is a :term:`path-like object` giving the pathname (absolute or " -"relative to the current working directory) of the database file to be " -"opened. You can use ``\":memory:\"`` to open a database connection to a " -"database that resides in RAM instead of on disk." +"*database* is a :term:`path-like object` giving the pathname (absolute or relative to the " +"current working directory) of the database file to be opened. You can use ``\":memory:" +"\"`` to open a database connection to a database that resides in RAM instead of on disk." msgstr "" -"*database* es un :term:`path-like object` indicando el nombre de ruta " -"(absoluta o relativa al directorio de trabajo actual) del archivo de base de " -"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión a base " -"de datos a una base de datos que reside en memoria RAM en lugar que disco." +"*database* es un :term:`path-like object` indicando el nombre de ruta (absoluta o " +"relativa al directorio de trabajo actual) del archivo de base de datos abierto. Se puede " +"usar ``\":memory:\"`` para abrir una conexión a base de datos a una base de datos que " +"reside en memoria RAM en lugar que disco." #: ../Doc/library/sqlite3.rst:184 msgid "" -"When a database is accessed by multiple connections, and one of the " -"processes modifies the database, the SQLite database is locked until that " -"transaction is committed. The *timeout* parameter specifies how long the " -"connection should wait for the lock to go away until raising an exception. " -"The default for the timeout parameter is 5.0 (five seconds)." +"When a database is accessed by multiple connections, and one of the processes modifies " +"the database, the SQLite database is locked until that transaction is committed. The " +"*timeout* parameter specifies how long the connection should wait for the lock to go away " +"until raising an exception. The default for the timeout parameter is 5.0 (five seconds)." msgstr "" -"Cuando una base de datos es accedida por multiples conexiones, y uno de los " -"procesos modifica la base de datos, la base de datos SQLite se bloquea hasta " -"que la transacción se confirme. El parámetro *timeout* especifica que tanto " -"debe esperar la conexión para que el bloqueo desaparezca antes de lanzar una " -"excepción. Por defecto el parámetro timeout es de 5.0 (cinco segundos)." +"Cuando una base de datos es accedida por multiples conexiones, y uno de los procesos " +"modifica la base de datos, la base de datos SQLite se bloquea hasta que la transacción se " +"confirme. El parámetro *timeout* especifica que tanto debe esperar la conexión para que " +"el bloqueo desaparezca antes de lanzar una excepción. Por defecto el parámetro timeout es " +"de 5.0 (cinco segundos)." #: ../Doc/library/sqlite3.rst:190 msgid "" -"For the *isolation_level* parameter, please see the :attr:`~Connection." -"isolation_level` property of :class:`Connection` objects." +"For the *isolation_level* parameter, please see the :attr:`~Connection.isolation_level` " +"property of :class:`Connection` objects." msgstr "" -"Para el parámetro *isolation_level*, por favor ver la propiedad :attr:" -"`~Connection.isolation_level` del objeto :class:`Connection`." +"Para el parámetro *isolation_level*, por favor ver la propiedad :attr:`~Connection." +"isolation_level` del objeto :class:`Connection`." #: ../Doc/library/sqlite3.rst:193 msgid "" -"SQLite natively supports only the types TEXT, INTEGER, REAL, BLOB and NULL. " -"If you want to use other types you must add support for them yourself. The " -"*detect_types* parameter and the using custom **converters** registered with " -"the module-level :func:`register_converter` function allow you to easily do " -"that." +"SQLite natively supports only the types TEXT, INTEGER, REAL, BLOB and NULL. If you want " +"to use other types you must add support for them yourself. The *detect_types* parameter " +"and the using custom **converters** registered with the module-level :func:" +"`register_converter` function allow you to easily do that." msgstr "" -"Nativamente SQLite soporta solo los tipos *TEXT*, *INTEGER*,*REAL*,*BLOB* y " -"*NULL*. Si se quiere usar otros tipos, debe soportarlos usted mismo. El " -"parámetro *detect_types* y el uso de **converters** personalizados " -"registrados con la función a nivel del módulo :func:`register_converter` " -"permite hacerlo fácilmente." +"Nativamente SQLite soporta solo los tipos *TEXT*, *INTEGER*,*REAL*,*BLOB* y *NULL*. Si se " +"quiere usar otros tipos, debe soportarlos usted mismo. El parámetro *detect_types* y el " +"uso de **converters** personalizados registrados con la función a nivel del módulo :func:" +"`register_converter` permite hacerlo fácilmente." #: ../Doc/library/sqlite3.rst:198 msgid "" -"*detect_types* defaults to 0 (i. e. off, no type detection), you can set it " -"to any combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` " -"to turn type detection on." +"*detect_types* defaults to 0 (i. e. off, no type detection), you can set it to any " +"combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` to turn type " +"detection on." msgstr "" "*detect_types* por defecto es 0 (por ejemplo *off*, no detección de tipo), se puede " -"configurar a cualquier combinación de :const:`PARSE_DECLTYPES` y :const:" -"`PARSE_COLNAMES` para encender la detección." +"configurar a cualquier combinación de :const:`PARSE_DECLTYPES` y :const:`PARSE_COLNAMES` " +"para encender la detección." #: ../Doc/library/sqlite3.rst:202 msgid "" -"By default, *check_same_thread* is :const:`True` and only the creating " -"thread may use the connection. If set :const:`False`, the returned " -"connection may be shared across multiple threads. When using multiple " -"threads with the same connection writing operations should be serialized by " -"the user to avoid data corruption." +"By default, *check_same_thread* is :const:`True` and only the creating thread may use the " +"connection. If set :const:`False`, the returned connection may be shared across multiple " +"threads. When using multiple threads with the same connection writing operations should " +"be serialized by the user to avoid data corruption." msgstr "" -"Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo " -"creado puede utilizar la conexión. Si se configura :const:`False`, la " -"conexión retornada podrá ser compartida con múltiples hilos. Cuando se " -"utiliza multiples hilos con la misma conexión, las operaciones de escritura " -"deberán ser serializadas por el usuario para evitar corrupción de datos." +"Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo creado puede " +"utilizar la conexión. Si se configura :const:`False`, la conexión retornada podrá ser " +"compartida con múltiples hilos. Cuando se utiliza multiples hilos con la misma conexión, " +"las operaciones de escritura deberán ser serializadas por el usuario para evitar " +"corrupción de datos." #: ../Doc/library/sqlite3.rst:207 #, fuzzy msgid "" -"By default, the :mod:`sqlite3` module uses its :class:`Connection` class for " -"the connect call. You can, however, subclass the :class:`Connection` class " -"and make :func:`connect` use your class instead by providing your class for " -"the *factory* parameter." +"By default, the :mod:`sqlite3` module uses its :class:`Connection` class for the connect " +"call. You can, however, subclass the :class:`Connection` class and make :func:`connect` " +"use your class instead by providing your class for the *factory* parameter." msgstr "" -"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` " -"para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" -"`Connection` y hacer que :func:`connect` use su clase en lugar de proveer su " -"clase para el parámetro *factory*." +"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` para la " +"llamada de conexión. Sin embargo se puede crear una subclase de :class:`Connection` y " +"hacer que :func:`connect` use su clase en lugar de proveer su clase para el parámetro " +"*factory*." #: ../Doc/library/sqlite3.rst:212 msgid "Consult the section :ref:`sqlite3-types` of this manual for details." -msgstr "" -"Consulte la sección :ref:`sqlite3-types` de este manual para más detalles." +msgstr "Consulte la sección :ref:`sqlite3-types` de este manual para más detalles." #: ../Doc/library/sqlite3.rst:214 msgid "" -"The :mod:`sqlite3` module internally uses a statement cache to avoid SQL " -"parsing overhead. If you want to explicitly set the number of statements " -"that are cached for the connection, you can set the *cached_statements* " -"parameter. The currently implemented default is to cache 100 statements." +"The :mod:`sqlite3` module internally uses a statement cache to avoid SQL parsing " +"overhead. If you want to explicitly set the number of statements that are cached for the " +"connection, you can set the *cached_statements* parameter. The currently implemented " +"default is to cache 100 statements." msgstr "" -"El módulo :mod:`sqlite3` internamente usa declaración caché para evitar un " -"análisis SQL costoso. Si se desea especificar el número de sentencias que " -"estarán en memoria caché para la conexión, se puede configurar el parámetro " -"*cached_statements*. Por defecto están configurado para 100 sentencias en " -"memoria caché." +"El módulo :mod:`sqlite3` internamente usa declaración caché para evitar un análisis SQL " +"costoso. Si se desea especificar el número de sentencias que estarán en memoria caché " +"para la conexión, se puede configurar el parámetro *cached_statements*. Por defecto están " +"configurado para 100 sentencias en memoria caché." #: ../Doc/library/sqlite3.rst:219 #, fuzzy msgid "" -"If *uri* is true, *database* is interpreted as a URI. This allows you to " -"specify options. For example, to open a database in read-only mode you can " -"use::" +"If *uri* is true, *database* is interpreted as a URI. This allows you to specify options. " +"For example, to open a database in read-only mode you can use::" msgstr "" -"Si *uri* es True, la *database* se interpreta como una *URI*. Esto permite " -"especificar opciones. Por ejemplo, para abrir la base de datos en " -"modo solo lectura puedes usar::" +"Si *uri* es True, la *database* se interpreta como una *URI*. Esto permite especificar " +"opciones. Por ejemplo, para abrir la base de datos en modo solo lectura puedes usar::" #: ../Doc/library/sqlite3.rst:225 msgid "" -"More information about this feature, including a list of recognized options, " -"can be found in the `SQLite URI documentation `_." +"More information about this feature, including a list of recognized options, can be found " +"in the `SQLite URI documentation `_." msgstr "" -"Más información sobre esta característica, incluida una lista de opciones " -"organizadas, se encuentran en `SQLite URI documentation `_." +"Más información sobre esta característica, incluida una lista de opciones organizadas, se " +"encuentran en `SQLite URI documentation `_." #: ../Doc/library/sqlite3.rst:229 msgid "" -"Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " -"``database``." +"Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument ``database``." msgstr "" "Lanza un :ref:`evento de auditoría ` ``sqlite3.connect`` con argumento " "``database``." #: ../Doc/library/sqlite3.rst:230 msgid "Added the *uri* parameter." -msgstr "Agrega el parámetro *uri*" +msgstr "Agrega el parámetro *uri*." #: ../Doc/library/sqlite3.rst:233 -msgid "" -"*database* can now also be a :term:`path-like object`, not only a string." +msgid "*database* can now also be a :term:`path-like object`, not only a string." msgstr "" -"*database* ahora también puede ser un :term:`path-like object`, no solo un " -"*string*." +"*database* ahora también puede ser un :term:`path-like object`, no solo un *string*." #: ../Doc/library/sqlite3.rst:239 msgid "" -"Registers a callable to convert a bytestring from the database into a custom " -"Python type. The callable will be invoked for all database values that are " -"of the type *typename*. Confer the parameter *detect_types* of the :func:" -"`connect` function for how the type detection works. Note that *typename* " -"and the name of the type in your query are matched in case-insensitive " -"manner." -msgstr "" -"Registra un invocable para convertir un *bytestring* de la base de datos en " -"un tipo python personalizado. El invocable será invocado por todos los " -"valores de la base de datos que son del tipo *typename*. Conceder el " -"parámetro *detect_types* de la función :func:`connect` para el " -"funcionamiento de la detección de tipo. Se debe notar que *typename* y el " -"nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas y " -"minúsculas." +"Registers a callable to convert a bytestring from the database into a custom Python type. " +"The callable will be invoked for all database values that are of the type *typename*. " +"Confer the parameter *detect_types* of the :func:`connect` function for how the type " +"detection works. Note that *typename* and the name of the type in your query are matched " +"in case-insensitive manner." +msgstr "" +"Registra un invocable para convertir un *bytestring* de la base de datos en un tipo " +"python personalizado. El invocable será invocado por todos los valores de la base de " +"datos que son del tipo *typename*. Conceder el parámetro *detect_types* de la función :" +"func:`connect` para el funcionamiento de la detección de tipo. Se debe notar que " +"*typename* y el nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas " +"y minúsculas." #: ../Doc/library/sqlite3.rst:248 msgid "" -"Registers a callable to convert the custom Python type *type* into one of " -"SQLite's supported types. The callable *callable* accepts as single " -"parameter the Python value, and must return a value of the following types: " -"int, float, str or bytes." +"Registers a callable to convert the custom Python type *type* into one of SQLite's " +"supported types. The callable *callable* accepts as single parameter the Python value, " +"and must return a value of the following types: int, float, str or bytes." msgstr "" -"Registra un invocable para convertir el tipo Python personalizado a uno de " -"los tipos soportados por SQLite's. El invocable *callable* acepta un único " -"parámetro de valor Python, y debe regresar un valor de los siguientes tipos: " -"*int*, *float*, *str* or *bytes*." +"Registra un invocable para convertir el tipo Python personalizado a uno de los tipos " +"soportados por SQLite's. El invocable *callable* acepta un único parámetro de valor " +"Python, y debe regresar un valor de los siguientes tipos: *int*, *float*, *str* or " +"*bytes*." #: ../Doc/library/sqlite3.rst:256 msgid "" -"Returns :const:`True` if the string *sql* contains one or more complete SQL " -"statements terminated by semicolons. It does not verify that the SQL is " -"syntactically correct, only that there are no unclosed string literals and " -"the statement is terminated by a semicolon." +"Returns :const:`True` if the string *sql* contains one or more complete SQL statements " +"terminated by semicolons. It does not verify that the SQL is syntactically correct, only " +"that there are no unclosed string literals and the statement is terminated by a semicolon." msgstr "" -"Regresa :const:`True` si la cadena *sql* contiene una o más sentencias SQL " -"completas terminadas con punto y coma. No se verifica que la sentencia SQL " -"sea sintácticamente correcta, solo que no existan literales de cadenas no " -"cerradas y que la sentencia termine por un punto y coma." +"Regresa :const:`True` si la cadena *sql* contiene una o más sentencias SQL completas " +"terminadas con punto y coma. No se verifica que la sentencia SQL sea sintácticamente " +"correcta, solo que no existan literales de cadenas no cerradas y que la sentencia termine " +"por un punto y coma." #: ../Doc/library/sqlite3.rst:261 -msgid "" -"This can be used to build a shell for SQLite, as in the following example:" +msgid "This can be used to build a shell for SQLite, as in the following example:" msgstr "" -"Esto puede ser usado para construir un *shell* para SQLite, como en el " -"siguiente ejemplo:" +"Esto puede ser usado para construir un *shell* para SQLite, como en el siguiente ejemplo:" #: ../Doc/library/sqlite3.rst:269 msgid "" -"By default you will not get any tracebacks in user-defined functions, " -"aggregates, converters, authorizer callbacks etc. If you want to debug them, " -"you can call this function with *flag* set to ``True``. Afterwards, you will " -"get tracebacks from callbacks on ``sys.stderr``. Use :const:`False` to " -"disable the feature again." +"By default you will not get any tracebacks in user-defined functions, aggregates, " +"converters, authorizer callbacks etc. If you want to debug them, you can call this " +"function with *flag* set to ``True``. Afterwards, you will get tracebacks from callbacks " +"on ``sys.stderr``. Use :const:`False` to disable the feature again." msgstr "" #: ../Doc/library/sqlite3.rst:279 @@ -473,83 +428,79 @@ msgstr "" #: ../Doc/library/sqlite3.rst:287 msgid "" -"Get or set the current default isolation level. :const:`None` for autocommit " -"mode or one of \"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\". See section :" -"ref:`sqlite3-controlling-transactions` for a more detailed explanation." +"Get or set the current default isolation level. :const:`None` for autocommit mode or one " +"of \"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\". See section :ref:`sqlite3-controlling-" +"transactions` for a more detailed explanation." msgstr "" #: ../Doc/library/sqlite3.rst:293 msgid "" -":const:`True` if a transaction is active (there are uncommitted changes), :" -"const:`False` otherwise. Read-only attribute." +":const:`True` if a transaction is active (there are uncommitted changes), :const:`False` " +"otherwise. Read-only attribute." msgstr "" #: ../Doc/library/sqlite3.rst:300 msgid "" -"The cursor method accepts a single optional parameter *factory*. If " -"supplied, this must be a callable returning an instance of :class:`Cursor` " -"or its subclasses." +"The cursor method accepts a single optional parameter *factory*. If supplied, this must " +"be a callable returning an instance of :class:`Cursor` or its subclasses." msgstr "" #: ../Doc/library/sqlite3.rst:306 msgid "" -"This method commits the current transaction. If you don't call this method, " -"anything you did since the last call to ``commit()`` is not visible from " -"other database connections. If you wonder why you don't see the data you've " -"written to the database, please check you didn't forget to call this method." +"This method commits the current transaction. If you don't call this method, anything you " +"did since the last call to ``commit()`` is not visible from other database connections. " +"If you wonder why you don't see the data you've written to the database, please check you " +"didn't forget to call this method." msgstr "" #: ../Doc/library/sqlite3.rst:313 msgid "" -"This method rolls back any changes to the database since the last call to :" -"meth:`commit`." +"This method rolls back any changes to the database since the last call to :meth:`commit`." msgstr "" #: ../Doc/library/sqlite3.rst:318 msgid "" -"This closes the database connection. Note that this does not automatically " -"call :meth:`commit`. If you just close your database connection without " -"calling :meth:`commit` first, your changes will be lost!" +"This closes the database connection. Note that this does not automatically call :meth:" +"`commit`. If you just close your database connection without calling :meth:`commit` " +"first, your changes will be lost!" msgstr "" #: ../Doc/library/sqlite3.rst:324 msgid "" -"This is a nonstandard shortcut that creates a cursor object by calling the :" -"meth:`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.execute` " -"method with the *parameters* given, and returns the cursor." +"This is a nonstandard shortcut that creates a cursor object by calling the :meth:" +"`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.execute` method with the " +"*parameters* given, and returns the cursor." msgstr "" #: ../Doc/library/sqlite3.rst:331 msgid "" -"This is a nonstandard shortcut that creates a cursor object by calling the :" -"meth:`~Connection.cursor` method, calls the cursor's :meth:`~Cursor." -"executemany` method with the *parameters* given, and returns the cursor." +"This is a nonstandard shortcut that creates a cursor object by calling the :meth:" +"`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.executemany` method with " +"the *parameters* given, and returns the cursor." msgstr "" #: ../Doc/library/sqlite3.rst:338 msgid "" -"This is a nonstandard shortcut that creates a cursor object by calling the :" -"meth:`~Connection.cursor` method, calls the cursor's :meth:`~Cursor." -"executescript` method with the given *sql_script*, and returns the cursor." +"This is a nonstandard shortcut that creates a cursor object by calling the :meth:" +"`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.executescript` method with " +"the given *sql_script*, and returns the cursor." msgstr "" #: ../Doc/library/sqlite3.rst:345 msgid "" -"Creates a user-defined function that you can later use from within SQL " -"statements under the function name *name*. *num_params* is the number of " -"parameters the function accepts (if *num_params* is -1, the function may " -"take any number of arguments), and *func* is a Python callable that is " -"called as the SQL function. If *deterministic* is true, the created function " -"is marked as `deterministic `_, which " -"allows SQLite to perform additional optimizations. This flag is supported by " -"SQLite 3.8.3 or higher, :exc:`NotSupportedError` will be raised if used with " -"older versions." +"Creates a user-defined function that you can later use from within SQL statements under " +"the function name *name*. *num_params* is the number of parameters the function accepts " +"(if *num_params* is -1, the function may take any number of arguments), and *func* is a " +"Python callable that is called as the SQL function. If *deterministic* is true, the " +"created function is marked as `deterministic `_, " +"which allows SQLite to perform additional optimizations. This flag is supported by SQLite " +"3.8.3 or higher, :exc:`NotSupportedError` will be raised if used with older versions." msgstr "" #: ../Doc/library/sqlite3.rst:355 msgid "" -"The function can return any of the types supported by SQLite: bytes, str, " -"int, float and ``None``." +"The function can return any of the types supported by SQLite: bytes, str, int, float and " +"``None``." msgstr "" #: ../Doc/library/sqlite3.rst:358 @@ -567,126 +518,117 @@ msgstr "" #: ../Doc/library/sqlite3.rst:370 msgid "" -"The aggregate class must implement a ``step`` method, which accepts the " -"number of parameters *num_params* (if *num_params* is -1, the function may " -"take any number of arguments), and a ``finalize`` method which will return " -"the final result of the aggregate." +"The aggregate class must implement a ``step`` method, which accepts the number of " +"parameters *num_params* (if *num_params* is -1, the function may take any number of " +"arguments), and a ``finalize`` method which will return the final result of the aggregate." msgstr "" #: ../Doc/library/sqlite3.rst:375 msgid "" -"The ``finalize`` method can return any of the types supported by SQLite: " -"bytes, str, int, float and ``None``." +"The ``finalize`` method can return any of the types supported by SQLite: bytes, str, int, " +"float and ``None``." msgstr "" #: ../Doc/library/sqlite3.rst:385 msgid "" -"Creates a collation with the specified *name* and *callable*. The callable " -"will be passed two string arguments. It should return -1 if the first is " -"ordered lower than the second, 0 if they are ordered equal and 1 if the " -"first is ordered higher than the second. Note that this controls sorting " -"(ORDER BY in SQL) so your comparisons don't affect other SQL operations." +"Creates a collation with the specified *name* and *callable*. The callable will be passed " +"two string arguments. It should return -1 if the first is ordered lower than the second, " +"0 if they are ordered equal and 1 if the first is ordered higher than the second. Note " +"that this controls sorting (ORDER BY in SQL) so your comparisons don't affect other SQL " +"operations." msgstr "" #: ../Doc/library/sqlite3.rst:391 msgid "" -"Note that the callable will get its parameters as Python bytestrings, which " -"will normally be encoded in UTF-8." +"Note that the callable will get its parameters as Python bytestrings, which will normally " +"be encoded in UTF-8." msgstr "" #: ../Doc/library/sqlite3.rst:394 -msgid "" -"The following example shows a custom collation that sorts \"the wrong way\":" +msgid "The following example shows a custom collation that sorts \"the wrong way\":" msgstr "" #: ../Doc/library/sqlite3.rst:398 -msgid "" -"To remove a collation, call ``create_collation`` with ``None`` as callable::" +msgid "To remove a collation, call ``create_collation`` with ``None`` as callable::" msgstr "" #: ../Doc/library/sqlite3.rst:405 msgid "" -"You can call this method from a different thread to abort any queries that " -"might be executing on the connection. The query will then abort and the " -"caller will get an exception." +"You can call this method from a different thread to abort any queries that might be " +"executing on the connection. The query will then abort and the caller will get an " +"exception." msgstr "" #: ../Doc/library/sqlite3.rst:412 msgid "" -"This routine registers a callback. The callback is invoked for each attempt " -"to access a column of a table in the database. The callback should return :" -"const:`SQLITE_OK` if access is allowed, :const:`SQLITE_DENY` if the entire " -"SQL statement should be aborted with an error and :const:`SQLITE_IGNORE` if " -"the column should be treated as a NULL value. These constants are available " -"in the :mod:`sqlite3` module." +"This routine registers a callback. The callback is invoked for each attempt to access a " +"column of a table in the database. The callback should return :const:`SQLITE_OK` if " +"access is allowed, :const:`SQLITE_DENY` if the entire SQL statement should be aborted " +"with an error and :const:`SQLITE_IGNORE` if the column should be treated as a NULL value. " +"These constants are available in the :mod:`sqlite3` module." msgstr "" #: ../Doc/library/sqlite3.rst:419 msgid "" -"The first argument to the callback signifies what kind of operation is to be " -"authorized. The second and third argument will be arguments or :const:`None` " -"depending on the first argument. The 4th argument is the name of the " -"database (\"main\", \"temp\", etc.) if applicable. The 5th argument is the " -"name of the inner-most trigger or view that is responsible for the access " -"attempt or :const:`None` if this access attempt is directly from input SQL " -"code." +"The first argument to the callback signifies what kind of operation is to be authorized. " +"The second and third argument will be arguments or :const:`None` depending on the first " +"argument. The 4th argument is the name of the database (\"main\", \"temp\", etc.) if " +"applicable. The 5th argument is the name of the inner-most trigger or view that is " +"responsible for the access attempt or :const:`None` if this access attempt is directly " +"from input SQL code." msgstr "" #: ../Doc/library/sqlite3.rst:426 msgid "" -"Please consult the SQLite documentation about the possible values for the " -"first argument and the meaning of the second and third argument depending on " -"the first one. All necessary constants are available in the :mod:`sqlite3` " -"module." +"Please consult the SQLite documentation about the possible values for the first argument " +"and the meaning of the second and third argument depending on the first one. All " +"necessary constants are available in the :mod:`sqlite3` module." msgstr "" #: ../Doc/library/sqlite3.rst:433 msgid "" -"This routine registers a callback. The callback is invoked for every *n* " -"instructions of the SQLite virtual machine. This is useful if you want to " -"get called from SQLite during long-running operations, for example to update " -"a GUI." +"This routine registers a callback. The callback is invoked for every *n* instructions of " +"the SQLite virtual machine. This is useful if you want to get called from SQLite during " +"long-running operations, for example to update a GUI." msgstr "" #: ../Doc/library/sqlite3.rst:438 msgid "" -"If you want to clear any previously installed progress handler, call the " -"method with :const:`None` for *handler*." +"If you want to clear any previously installed progress handler, call the method with :" +"const:`None` for *handler*." msgstr "" #: ../Doc/library/sqlite3.rst:441 msgid "" -"Returning a non-zero value from the handler function will terminate the " -"currently executing query and cause it to raise an :exc:`OperationalError` " -"exception." +"Returning a non-zero value from the handler function will terminate the currently " +"executing query and cause it to raise an :exc:`OperationalError` exception." msgstr "" #: ../Doc/library/sqlite3.rst:448 msgid "" -"Registers *trace_callback* to be called for each SQL statement that is " -"actually executed by the SQLite backend." +"Registers *trace_callback* to be called for each SQL statement that is actually executed " +"by the SQLite backend." msgstr "" #: ../Doc/library/sqlite3.rst:451 msgid "" -"The only argument passed to the callback is the statement (as string) that " -"is being executed. The return value of the callback is ignored. Note that " -"the backend does not only run statements passed to the :meth:`Cursor." -"execute` methods. Other sources include the transaction management of the " -"Python module and the execution of triggers defined in the current database." +"The only argument passed to the callback is the statement (as string) that is being " +"executed. The return value of the callback is ignored. Note that the backend does not " +"only run statements passed to the :meth:`Cursor.execute` methods. Other sources include " +"the transaction management of the Python module and the execution of triggers defined in " +"the current database." msgstr "" #: ../Doc/library/sqlite3.rst:457 -msgid "" -"Passing :const:`None` as *trace_callback* will disable the trace callback." +msgid "Passing :const:`None` as *trace_callback* will disable the trace callback." msgstr "" #: ../Doc/library/sqlite3.rst:464 msgid "" -"This routine allows/disallows the SQLite engine to load SQLite extensions " -"from shared libraries. SQLite extensions can define new functions, " -"aggregates or whole new virtual table implementations. One well-known " -"extension is the fulltext-search extension distributed with SQLite." +"This routine allows/disallows the SQLite engine to load SQLite extensions from shared " +"libraries. SQLite extensions can define new functions, aggregates or whole new virtual " +"table implementations. One well-known extension is the fulltext-search extension " +"distributed with SQLite." msgstr "" #: ../Doc/library/sqlite3.rst:469 ../Doc/library/sqlite3.rst:481 @@ -695,41 +637,39 @@ msgstr "" #: ../Doc/library/sqlite3.rst:477 msgid "" -"This routine loads a SQLite extension from a shared library. You have to " -"enable extension loading with :meth:`enable_load_extension` before you can " -"use this routine." +"This routine loads a SQLite extension from a shared library. You have to enable " +"extension loading with :meth:`enable_load_extension` before you can use this routine." msgstr "" #: ../Doc/library/sqlite3.rst:487 msgid "" -"You can change this attribute to a callable that accepts the cursor and the " -"original row as a tuple and will return the real result row. This way, you " -"can implement more advanced ways of returning results, such as returning an " -"object that can also access columns by name." +"You can change this attribute to a callable that accepts the cursor and the original row " +"as a tuple and will return the real result row. This way, you can implement more " +"advanced ways of returning results, such as returning an object that can also access " +"columns by name." msgstr "" #: ../Doc/library/sqlite3.rst:496 msgid "" -"If returning a tuple doesn't suffice and you want name-based access to " -"columns, you should consider setting :attr:`row_factory` to the highly-" -"optimized :class:`sqlite3.Row` type. :class:`Row` provides both index-based " -"and case-insensitive name-based access to columns with almost no memory " -"overhead. It will probably be better than your own custom dictionary-based " -"approach or even a db_row based solution." +"If returning a tuple doesn't suffice and you want name-based access to columns, you " +"should consider setting :attr:`row_factory` to the highly-optimized :class:`sqlite3.Row` " +"type. :class:`Row` provides both index-based and case-insensitive name-based access to " +"columns with almost no memory overhead. It will probably be better than your own custom " +"dictionary-based approach or even a db_row based solution." msgstr "" #: ../Doc/library/sqlite3.rst:508 msgid "" -"Using this attribute you can control what objects are returned for the " -"``TEXT`` data type. By default, this attribute is set to :class:`str` and " -"the :mod:`sqlite3` module will return Unicode objects for ``TEXT``. If you " -"want to return bytestrings instead, you can set it to :class:`bytes`." +"Using this attribute you can control what objects are returned for the ``TEXT`` data " +"type. By default, this attribute is set to :class:`str` and the :mod:`sqlite3` module " +"will return Unicode objects for ``TEXT``. If you want to return bytestrings instead, you " +"can set it to :class:`bytes`." msgstr "" #: ../Doc/library/sqlite3.rst:513 msgid "" -"You can also set it to any other callable that accepts a single bytestring " -"parameter and returns the resulting object." +"You can also set it to any other callable that accepts a single bytestring parameter and " +"returns the resulting object." msgstr "" #: ../Doc/library/sqlite3.rst:516 @@ -738,16 +678,15 @@ msgstr "" #: ../Doc/library/sqlite3.rst:523 msgid "" -"Returns the total number of database rows that have been modified, inserted, " -"or deleted since the database connection was opened." +"Returns the total number of database rows that have been modified, inserted, or deleted " +"since the database connection was opened." msgstr "" #: ../Doc/library/sqlite3.rst:529 msgid "" -"Returns an iterator to dump the database in an SQL text format. Useful when " -"saving an in-memory database for later restoration. This function provides " -"the same capabilities as the :kbd:`.dump` command in the :program:`sqlite3` " -"shell." +"Returns an iterator to dump the database in an SQL text format. Useful when saving an in-" +"memory database for later restoration. This function provides the same capabilities as " +"the :kbd:`.dump` command in the :program:`sqlite3` shell." msgstr "" #: ../Doc/library/sqlite3.rst:534 @@ -756,41 +695,39 @@ msgstr "" #: ../Doc/library/sqlite3.rst:548 msgid "" -"This method makes a backup of a SQLite database even while it's being " -"accessed by other clients, or concurrently by the same connection. The copy " -"will be written into the mandatory argument *target*, that must be another :" -"class:`Connection` instance." +"This method makes a backup of a SQLite database even while it's being accessed by other " +"clients, or concurrently by the same connection. The copy will be written into the " +"mandatory argument *target*, that must be another :class:`Connection` instance." msgstr "" #: ../Doc/library/sqlite3.rst:553 msgid "" -"By default, or when *pages* is either ``0`` or a negative integer, the " -"entire database is copied in a single step; otherwise the method performs a " -"loop copying up to *pages* pages at a time." +"By default, or when *pages* is either ``0`` or a negative integer, the entire database is " +"copied in a single step; otherwise the method performs a loop copying up to *pages* pages " +"at a time." msgstr "" #: ../Doc/library/sqlite3.rst:557 msgid "" -"If *progress* is specified, it must either be ``None`` or a callable object " -"that will be executed at each iteration with three integer arguments, " -"respectively the *status* of the last iteration, the *remaining* number of " -"pages still to be copied and the *total* number of pages." +"If *progress* is specified, it must either be ``None`` or a callable object that will be " +"executed at each iteration with three integer arguments, respectively the *status* of the " +"last iteration, the *remaining* number of pages still to be copied and the *total* number " +"of pages." msgstr "" #: ../Doc/library/sqlite3.rst:562 msgid "" -"The *name* argument specifies the database name that will be copied: it must " -"be a string containing either ``\"main\"``, the default, to indicate the " -"main database, ``\"temp\"`` to indicate the temporary database or the name " -"specified after the ``AS`` keyword in an ``ATTACH DATABASE`` statement for " -"an attached database." +"The *name* argument specifies the database name that will be copied: it must be a string " +"containing either ``\"main\"``, the default, to indicate the main database, ``\"temp\"`` " +"to indicate the temporary database or the name specified after the ``AS`` keyword in an " +"``ATTACH DATABASE`` statement for an attached database." msgstr "" #: ../Doc/library/sqlite3.rst:568 msgid "" -"The *sleep* argument specifies the number of seconds to sleep by between " -"successive attempts to backup remaining pages, can be specified either as an " -"integer or a floating point value." +"The *sleep* argument specifies the number of seconds to sleep by between successive " +"attempts to backup remaining pages, can be specified either as an integer or a floating " +"point value." msgstr "" #: ../Doc/library/sqlite3.rst:572 @@ -815,10 +752,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:613 msgid "" -"Executes an SQL statement. The SQL statement may be parameterized (i. e. " -"placeholders instead of SQL literals). The :mod:`sqlite3` module supports " -"two kinds of placeholders: question marks (qmark style) and named " -"placeholders (named style)." +"Executes an SQL statement. The SQL statement may be parameterized (i. e. placeholders " +"instead of SQL literals). The :mod:`sqlite3` module supports two kinds of placeholders: " +"question marks (qmark style) and named placeholders (named style)." msgstr "" #: ../Doc/library/sqlite3.rst:618 @@ -827,17 +763,16 @@ msgstr "" #: ../Doc/library/sqlite3.rst:622 msgid "" -":meth:`execute` will only execute a single SQL statement. If you try to " -"execute more than one statement with it, it will raise a :exc:`.Warning`. " -"Use :meth:`executescript` if you want to execute multiple SQL statements " -"with one call." +":meth:`execute` will only execute a single SQL statement. If you try to execute more than " +"one statement with it, it will raise a :exc:`.Warning`. Use :meth:`executescript` if you " +"want to execute multiple SQL statements with one call." msgstr "" #: ../Doc/library/sqlite3.rst:630 msgid "" -"Executes an SQL command against all parameter sequences or mappings found in " -"the sequence *seq_of_parameters*. The :mod:`sqlite3` module also allows " -"using an :term:`iterator` yielding parameters instead of a sequence." +"Executes an SQL command against all parameter sequences or mappings found in the sequence " +"*seq_of_parameters*. The :mod:`sqlite3` module also allows using an :term:`iterator` " +"yielding parameters instead of a sequence." msgstr "" #: ../Doc/library/sqlite3.rst:636 @@ -846,9 +781,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:643 msgid "" -"This is a nonstandard convenience method for executing multiple SQL " -"statements at once. It issues a ``COMMIT`` statement first, then executes " -"the SQL script it gets as a parameter." +"This is a nonstandard convenience method for executing multiple SQL statements at once. " +"It issues a ``COMMIT`` statement first, then executes the SQL script it gets as a " +"parameter." msgstr "" #: ../Doc/library/sqlite3.rst:647 @@ -857,38 +792,38 @@ msgstr "" #: ../Doc/library/sqlite3.rst:656 msgid "" -"Fetches the next row of a query result set, returning a single sequence, or :" -"const:`None` when no more data is available." +"Fetches the next row of a query result set, returning a single sequence, or :const:`None` " +"when no more data is available." msgstr "" #: ../Doc/library/sqlite3.rst:662 msgid "" -"Fetches the next set of rows of a query result, returning a list. An empty " -"list is returned when no more rows are available." +"Fetches the next set of rows of a query result, returning a list. An empty list is " +"returned when no more rows are available." msgstr "" #: ../Doc/library/sqlite3.rst:665 msgid "" -"The number of rows to fetch per call is specified by the *size* parameter. " -"If it is not given, the cursor's arraysize determines the number of rows to " -"be fetched. The method should try to fetch as many rows as indicated by the " -"size parameter. If this is not possible due to the specified number of rows " -"not being available, fewer rows may be returned." +"The number of rows to fetch per call is specified by the *size* parameter. If it is not " +"given, the cursor's arraysize determines the number of rows to be fetched. The method " +"should try to fetch as many rows as indicated by the size parameter. If this is not " +"possible due to the specified number of rows not being available, fewer rows may be " +"returned." msgstr "" #: ../Doc/library/sqlite3.rst:671 msgid "" -"Note there are performance considerations involved with the *size* " -"parameter. For optimal performance, it is usually best to use the arraysize " -"attribute. If the *size* parameter is used, then it is best for it to retain " -"the same value from one :meth:`fetchmany` call to the next." +"Note there are performance considerations involved with the *size* parameter. For optimal " +"performance, it is usually best to use the arraysize attribute. If the *size* parameter " +"is used, then it is best for it to retain the same value from one :meth:`fetchmany` call " +"to the next." msgstr "" #: ../Doc/library/sqlite3.rst:678 msgid "" -"Fetches all (remaining) rows of a query result, returning a list. Note that " -"the cursor's arraysize attribute can affect the performance of this " -"operation. An empty list is returned when no rows are available." +"Fetches all (remaining) rows of a query result, returning a list. Note that the cursor's " +"arraysize attribute can affect the performance of this operation. An empty list is " +"returned when no rows are available." msgstr "" #: ../Doc/library/sqlite3.rst:684 @@ -897,52 +832,49 @@ msgstr "" #: ../Doc/library/sqlite3.rst:686 msgid "" -"The cursor will be unusable from this point forward; a :exc:" -"`ProgrammingError` exception will be raised if any operation is attempted " -"with the cursor." +"The cursor will be unusable from this point forward; a :exc:`ProgrammingError` exception " +"will be raised if any operation is attempted with the cursor." msgstr "" #: ../Doc/library/sqlite3.rst:691 msgid "" -"Although the :class:`Cursor` class of the :mod:`sqlite3` module implements " -"this attribute, the database engine's own support for the determination of " -"\"rows affected\"/\"rows selected\" is quirky." +"Although the :class:`Cursor` class of the :mod:`sqlite3` module implements this " +"attribute, the database engine's own support for the determination of \"rows affected\"/" +"\"rows selected\" is quirky." msgstr "" #: ../Doc/library/sqlite3.rst:695 msgid "" -"For :meth:`executemany` statements, the number of modifications are summed " -"up into :attr:`rowcount`." +"For :meth:`executemany` statements, the number of modifications are summed up into :attr:" +"`rowcount`." msgstr "" #: ../Doc/library/sqlite3.rst:698 msgid "" -"As required by the Python DB API Spec, the :attr:`rowcount` attribute \"is " -"-1 in case no ``executeXX()`` has been performed on the cursor or the " -"rowcount of the last operation is not determinable by the interface\". This " -"includes ``SELECT`` statements because we cannot determine the number of " -"rows a query produced until all rows were fetched." +"As required by the Python DB API Spec, the :attr:`rowcount` attribute \"is -1 in case no " +"``executeXX()`` has been performed on the cursor or the rowcount of the last operation is " +"not determinable by the interface\". This includes ``SELECT`` statements because we " +"cannot determine the number of rows a query produced until all rows were fetched." msgstr "" #: ../Doc/library/sqlite3.rst:704 msgid "" -"With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make " -"a ``DELETE FROM table`` without any condition." +"With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make a ``DELETE " +"FROM table`` without any condition." msgstr "" #: ../Doc/library/sqlite3.rst:709 msgid "" -"This read-only attribute provides the rowid of the last modified row. It is " -"only set if you issued an ``INSERT`` or a ``REPLACE`` statement using the :" -"meth:`execute` method. For operations other than ``INSERT`` or ``REPLACE`` " -"or when :meth:`executemany` is called, :attr:`lastrowid` is set to :const:" -"`None`." +"This read-only attribute provides the rowid of the last modified row. It is only set if " +"you issued an ``INSERT`` or a ``REPLACE`` statement using the :meth:`execute` method. " +"For operations other than ``INSERT`` or ``REPLACE`` or when :meth:`executemany` is " +"called, :attr:`lastrowid` is set to :const:`None`." msgstr "" #: ../Doc/library/sqlite3.rst:715 msgid "" -"If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous " -"successful rowid is returned." +"If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous successful rowid " +"is returned." msgstr "" #: ../Doc/library/sqlite3.rst:718 @@ -951,16 +883,15 @@ msgstr "" #: ../Doc/library/sqlite3.rst:723 msgid "" -"Read/write attribute that controls the number of rows returned by :meth:" -"`fetchmany`. The default value is 1 which means a single row would be " -"fetched per call." +"Read/write attribute that controls the number of rows returned by :meth:`fetchmany`. The " +"default value is 1 which means a single row would be fetched per call." msgstr "" #: ../Doc/library/sqlite3.rst:728 msgid "" -"This read-only attribute provides the column names of the last query. To " -"remain compatible with the Python DB API, it returns a 7-tuple for each " -"column where the last six items of each tuple are :const:`None`." +"This read-only attribute provides the column names of the last query. To remain " +"compatible with the Python DB API, it returns a 7-tuple for each column where the last " +"six items of each tuple are :const:`None`." msgstr "" #: ../Doc/library/sqlite3.rst:732 @@ -969,10 +900,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:736 msgid "" -"This read-only attribute provides the SQLite database :class:`Connection` " -"used by the :class:`Cursor` object. A :class:`Cursor` object created by " -"calling :meth:`con.cursor() ` will have a :attr:" -"`connection` attribute that refers to *con*::" +"This read-only attribute provides the SQLite database :class:`Connection` used by the :" +"class:`Cursor` object. A :class:`Cursor` object created by calling :meth:`con.cursor() " +"` will have a :attr:`connection` attribute that refers to *con*::" msgstr "" #: ../Doc/library/sqlite3.rst:749 @@ -981,27 +911,26 @@ msgstr "" #: ../Doc/library/sqlite3.rst:753 msgid "" -"A :class:`Row` instance serves as a highly optimized :attr:`~Connection." -"row_factory` for :class:`Connection` objects. It tries to mimic a tuple in " -"most of its features." +"A :class:`Row` instance serves as a highly optimized :attr:`~Connection.row_factory` for :" +"class:`Connection` objects. It tries to mimic a tuple in most of its features." msgstr "" #: ../Doc/library/sqlite3.rst:757 msgid "" -"It supports mapping access by column name and index, iteration, " -"representation, equality testing and :func:`len`." +"It supports mapping access by column name and index, iteration, representation, equality " +"testing and :func:`len`." msgstr "" #: ../Doc/library/sqlite3.rst:760 msgid "" -"If two :class:`Row` objects have exactly the same columns and their members " -"are equal, they compare equal." +"If two :class:`Row` objects have exactly the same columns and their members are equal, " +"they compare equal." msgstr "" #: ../Doc/library/sqlite3.rst:765 msgid "" -"This method returns a list of column names. Immediately after a query, it is " -"the first member of each tuple in :attr:`Cursor.description`." +"This method returns a list of column names. Immediately after a query, it is the first " +"member of each tuple in :attr:`Cursor.description`." msgstr "" #: ../Doc/library/sqlite3.rst:768 @@ -1026,8 +955,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:823 msgid "" -"The base class of the other exceptions in this module. It is a subclass of :" -"exc:`Exception`." +"The base class of the other exceptions in this module. It is a subclass of :exc:" +"`Exception`." msgstr "" #: ../Doc/library/sqlite3.rst:828 @@ -1036,31 +965,31 @@ msgstr "" #: ../Doc/library/sqlite3.rst:832 msgid "" -"Exception raised when the relational integrity of the database is affected, " -"e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." +"Exception raised when the relational integrity of the database is affected, e.g. a " +"foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:837 msgid "" -"Exception raised for programming errors, e.g. table not found or already " -"exists, syntax error in the SQL statement, wrong number of parameters " -"specified, etc. It is a subclass of :exc:`DatabaseError`." +"Exception raised for programming errors, e.g. table not found or already exists, syntax " +"error in the SQL statement, wrong number of parameters specified, etc. It is a subclass " +"of :exc:`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:843 msgid "" -"Exception raised for errors that are related to the database's operation and " -"not necessarily under the control of the programmer, e.g. an unexpected " -"disconnect occurs, the data source name is not found, a transaction could " -"not be processed, etc. It is a subclass of :exc:`DatabaseError`." +"Exception raised for errors that are related to the database's operation and not " +"necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, " +"the data source name is not found, a transaction could not be processed, etc. It is a " +"subclass of :exc:`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:850 msgid "" -"Exception raised in case a method or database API was used which is not " -"supported by the database, e.g. calling the :meth:`~Connection.rollback` " -"method on a connection that does not support transaction or has transactions " -"turned off. It is a subclass of :exc:`DatabaseError`." +"Exception raised in case a method or database API was used which is not supported by the " +"database, e.g. calling the :meth:`~Connection.rollback` method on a connection that does " +"not support transaction or has transactions turned off. It is a subclass of :exc:" +"`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:859 @@ -1073,13 +1002,12 @@ msgstr "" #: ../Doc/library/sqlite3.rst:865 msgid "" -"SQLite natively supports the following types: ``NULL``, ``INTEGER``, " -"``REAL``, ``TEXT``, ``BLOB``." +"SQLite natively supports the following types: ``NULL``, ``INTEGER``, ``REAL``, ``TEXT``, " +"``BLOB``." msgstr "" #: ../Doc/library/sqlite3.rst:868 -msgid "" -"The following Python types can thus be sent to SQLite without any problem:" +msgid "The following Python types can thus be sent to SQLite without any problem:" msgstr "" #: ../Doc/library/sqlite3.rst:871 ../Doc/library/sqlite3.rst:888 @@ -1140,10 +1068,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:902 msgid "" -"The type system of the :mod:`sqlite3` module is extensible in two ways: you " -"can store additional Python types in a SQLite database via object " -"adaptation, and you can let the :mod:`sqlite3` module convert SQLite types " -"to different Python types via converters." +"The type system of the :mod:`sqlite3` module is extensible in two ways: you can store " +"additional Python types in a SQLite database via object adaptation, and you can let the :" +"mod:`sqlite3` module convert SQLite types to different Python types via converters." msgstr "" #: ../Doc/library/sqlite3.rst:909 @@ -1152,16 +1079,15 @@ msgstr "" #: ../Doc/library/sqlite3.rst:911 msgid "" -"As described before, SQLite supports only a limited set of types natively. " -"To use other Python types with SQLite, you must **adapt** them to one of the " -"sqlite3 module's supported types for SQLite: one of NoneType, int, float, " -"str, bytes." +"As described before, SQLite supports only a limited set of types natively. To use other " +"Python types with SQLite, you must **adapt** them to one of the sqlite3 module's " +"supported types for SQLite: one of NoneType, int, float, str, bytes." msgstr "" #: ../Doc/library/sqlite3.rst:916 msgid "" -"There are two ways to enable the :mod:`sqlite3` module to adapt a custom " -"Python type to one of the supported ones." +"There are two ways to enable the :mod:`sqlite3` module to adapt a custom Python type to " +"one of the supported ones." msgstr "" #: ../Doc/library/sqlite3.rst:921 @@ -1170,18 +1096,17 @@ msgstr "" #: ../Doc/library/sqlite3.rst:923 msgid "" -"This is a good approach if you write the class yourself. Let's suppose you " -"have a class like this::" +"This is a good approach if you write the class yourself. Let's suppose you have a class " +"like this::" msgstr "" #: ../Doc/library/sqlite3.rst:930 msgid "" -"Now you want to store the point in a single SQLite column. First you'll " -"have to choose one of the supported types first to be used for representing " -"the point. Let's just use str and separate the coordinates using a " -"semicolon. Then you need to give your class a method ``__conform__(self, " -"protocol)`` which must return the converted value. The parameter *protocol* " -"will be :class:`PrepareProtocol`." +"Now you want to store the point in a single SQLite column. First you'll have to choose " +"one of the supported types first to be used for representing the point. Let's just use " +"str and separate the coordinates using a semicolon. Then you need to give your class a " +"method ``__conform__(self, protocol)`` which must return the converted value. The " +"parameter *protocol* will be :class:`PrepareProtocol`." msgstr "" #: ../Doc/library/sqlite3.rst:940 @@ -1190,17 +1115,15 @@ msgstr "" #: ../Doc/library/sqlite3.rst:942 msgid "" -"The other possibility is to create a function that converts the type to the " -"string representation and register the function with :meth:" -"`register_adapter`." +"The other possibility is to create a function that converts the type to the string " +"representation and register the function with :meth:`register_adapter`." msgstr "" #: ../Doc/library/sqlite3.rst:947 msgid "" -"The :mod:`sqlite3` module has two default adapters for Python's built-in :" -"class:`datetime.date` and :class:`datetime.datetime` types. Now let's " -"suppose we want to store :class:`datetime.datetime` objects not in ISO " -"representation, but as a Unix timestamp." +"The :mod:`sqlite3` module has two default adapters for Python's built-in :class:`datetime." +"date` and :class:`datetime.datetime` types. Now let's suppose we want to store :class:" +"`datetime.datetime` objects not in ISO representation, but as a Unix timestamp." msgstr "" #: ../Doc/library/sqlite3.rst:956 @@ -1209,9 +1132,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:958 msgid "" -"Writing an adapter lets you send custom Python types to SQLite. But to make " -"it really useful we need to make the Python to SQLite to Python roundtrip " -"work." +"Writing an adapter lets you send custom Python types to SQLite. But to make it really " +"useful we need to make the Python to SQLite to Python roundtrip work." msgstr "" #: ../Doc/library/sqlite3.rst:961 @@ -1220,26 +1142,26 @@ msgstr "" #: ../Doc/library/sqlite3.rst:963 msgid "" -"Let's go back to the :class:`Point` class. We stored the x and y coordinates " -"separated via semicolons as strings in SQLite." +"Let's go back to the :class:`Point` class. We stored the x and y coordinates separated " +"via semicolons as strings in SQLite." msgstr "" #: ../Doc/library/sqlite3.rst:966 msgid "" -"First, we'll define a converter function that accepts the string as a " -"parameter and constructs a :class:`Point` object from it." +"First, we'll define a converter function that accepts the string as a parameter and " +"constructs a :class:`Point` object from it." msgstr "" #: ../Doc/library/sqlite3.rst:971 msgid "" -"Converter functions **always** get called with a :class:`bytes` object, no " -"matter under which data type you sent the value to SQLite." +"Converter functions **always** get called with a :class:`bytes` object, no matter under " +"which data type you sent the value to SQLite." msgstr "" #: ../Doc/library/sqlite3.rst:980 msgid "" -"Now you need to make the :mod:`sqlite3` module know that what you select " -"from the database is actually a point. There are two ways of doing this:" +"Now you need to make the :mod:`sqlite3` module know that what you select from the " +"database is actually a point. There are two ways of doing this:" msgstr "" #: ../Doc/library/sqlite3.rst:983 @@ -1252,9 +1174,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:987 msgid "" -"Both ways are described in section :ref:`sqlite3-module-contents`, in the " -"entries for the constants :const:`PARSE_DECLTYPES` and :const:" -"`PARSE_COLNAMES`." +"Both ways are described in section :ref:`sqlite3-module-contents`, in the entries for the " +"constants :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES`." msgstr "" #: ../Doc/library/sqlite3.rst:990 @@ -1267,22 +1188,21 @@ msgstr "" #: ../Doc/library/sqlite3.rst:998 msgid "" -"There are default adapters for the date and datetime types in the datetime " -"module. They will be sent as ISO dates/ISO timestamps to SQLite." +"There are default adapters for the date and datetime types in the datetime module. They " +"will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" #: ../Doc/library/sqlite3.rst:1001 msgid "" -"The default converters are registered under the name \"date\" for :class:" -"`datetime.date` and under the name \"timestamp\" for :class:`datetime." -"datetime`." +"The default converters are registered under the name \"date\" for :class:`datetime.date` " +"and under the name \"timestamp\" for :class:`datetime.datetime`." msgstr "" #: ../Doc/library/sqlite3.rst:1005 msgid "" -"This way, you can use date/timestamps from Python without any additional " -"fiddling in most cases. The format of the adapters is also compatible with " -"the experimental SQLite date/time functions." +"This way, you can use date/timestamps from Python without any additional fiddling in most " +"cases. The format of the adapters is also compatible with the experimental SQLite date/" +"time functions." msgstr "" #: ../Doc/library/sqlite3.rst:1009 @@ -1291,9 +1211,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1013 msgid "" -"If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " -"its value will be truncated to microsecond precision by the timestamp " -"converter." +"If a timestamp stored in SQLite has a fractional part longer than 6 numbers, its value " +"will be truncated to microsecond precision by the timestamp converter." msgstr "" #: ../Doc/library/sqlite3.rst:1021 @@ -1302,49 +1221,47 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1023 msgid "" -"The underlying ``sqlite3`` library operates in ``autocommit`` mode by " -"default, but the Python :mod:`sqlite3` module by default does not." +"The underlying ``sqlite3`` library operates in ``autocommit`` mode by default, but the " +"Python :mod:`sqlite3` module by default does not." msgstr "" #: ../Doc/library/sqlite3.rst:1026 msgid "" -"``autocommit`` mode means that statements that modify the database take " -"effect immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables " -"``autocommit`` mode, and a ``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that " -"ends the outermost transaction, turns ``autocommit`` mode back on." +"``autocommit`` mode means that statements that modify the database take effect " +"immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables ``autocommit`` mode, and a " +"``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that ends the outermost transaction, turns " +"``autocommit`` mode back on." msgstr "" #: ../Doc/library/sqlite3.rst:1031 msgid "" -"The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement " -"implicitly before a Data Modification Language (DML) statement (i.e. " -"``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." +"The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement implicitly " +"before a Data Modification Language (DML) statement (i.e. ``INSERT``/``UPDATE``/" +"``DELETE``/``REPLACE``)." msgstr "" #: ../Doc/library/sqlite3.rst:1035 msgid "" -"You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly " -"executes via the *isolation_level* parameter to the :func:`connect` call, or " -"via the :attr:`isolation_level` property of connections. If you specify no " -"*isolation_level*, a plain ``BEGIN`` is used, which is equivalent to " -"specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and " -"``EXCLUSIVE``." +"You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly executes via " +"the *isolation_level* parameter to the :func:`connect` call, or via the :attr:" +"`isolation_level` property of connections. If you specify no *isolation_level*, a plain " +"``BEGIN`` is used, which is equivalent to specifying ``DEFERRED``. Other possible values " +"are ``IMMEDIATE`` and ``EXCLUSIVE``." msgstr "" #: ../Doc/library/sqlite3.rst:1042 msgid "" -"You can disable the :mod:`sqlite3` module's implicit transaction management " -"by setting :attr:`isolation_level` to ``None``. This will leave the " -"underlying ``sqlite3`` library operating in ``autocommit`` mode. You can " -"then completely control the transaction state by explicitly issuing " -"``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your " -"code." +"You can disable the :mod:`sqlite3` module's implicit transaction management by setting :" +"attr:`isolation_level` to ``None``. This will leave the underlying ``sqlite3`` library " +"operating in ``autocommit`` mode. You can then completely control the transaction state " +"by explicitly issuing ``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements " +"in your code." msgstr "" #: ../Doc/library/sqlite3.rst:1048 msgid "" -":mod:`sqlite3` used to implicitly commit an open transaction before DDL " -"statements. This is no longer the case." +":mod:`sqlite3` used to implicitly commit an open transaction before DDL statements. This " +"is no longer the case." msgstr "" #: ../Doc/library/sqlite3.rst:1054 @@ -1357,14 +1274,13 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1060 msgid "" -"Using the nonstandard :meth:`execute`, :meth:`executemany` and :meth:" -"`executescript` methods of the :class:`Connection` object, your code can be " -"written more concisely because you don't have to create the (often " -"superfluous) :class:`Cursor` objects explicitly. Instead, the :class:" -"`Cursor` objects are created implicitly and these shortcut methods return " -"the cursor objects. This way, you can execute a ``SELECT`` statement and " -"iterate over it directly using only a single call on the :class:`Connection` " -"object." +"Using the nonstandard :meth:`execute`, :meth:`executemany` and :meth:`executescript` " +"methods of the :class:`Connection` object, your code can be written more concisely " +"because you don't have to create the (often superfluous) :class:`Cursor` objects " +"explicitly. Instead, the :class:`Cursor` objects are created implicitly and these " +"shortcut methods return the cursor objects. This way, you can execute a ``SELECT`` " +"statement and iterate over it directly using only a single call on the :class:" +"`Connection` object." msgstr "" #: ../Doc/library/sqlite3.rst:1072 @@ -1373,14 +1289,14 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1074 msgid "" -"One useful feature of the :mod:`sqlite3` module is the built-in :class:" -"`sqlite3.Row` class designed to be used as a row factory." +"One useful feature of the :mod:`sqlite3` module is the built-in :class:`sqlite3.Row` " +"class designed to be used as a row factory." msgstr "" #: ../Doc/library/sqlite3.rst:1077 msgid "" -"Rows wrapped with this class can be accessed both by index (like tuples) and " -"case-insensitively by name:" +"Rows wrapped with this class can be accessed both by index (like tuples) and case-" +"insensitively by name:" msgstr "" #: ../Doc/library/sqlite3.rst:1084 @@ -1389,9 +1305,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1086 msgid "" -"Connection objects can be used as context managers that automatically commit " -"or rollback transactions. In the event of an exception, the transaction is " -"rolled back; otherwise, the transaction is committed:" +"Connection objects can be used as context managers that automatically commit or rollback " +"transactions. In the event of an exception, the transaction is rolled back; otherwise, " +"the transaction is committed:" msgstr "" #: ../Doc/library/sqlite3.rst:1095 @@ -1404,16 +1320,15 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1100 msgid "" -"Older SQLite versions had issues with sharing connections between threads. " -"That's why the Python module disallows sharing connections and cursors " -"between threads. If you still try to do so, you will get an exception at " -"runtime." +"Older SQLite versions had issues with sharing connections between threads. That's why the " +"Python module disallows sharing connections and cursors between threads. If you still try " +"to do so, you will get an exception at runtime." msgstr "" #: ../Doc/library/sqlite3.rst:1104 msgid "" -"The only exception is calling the :meth:`~Connection.interrupt` method, " -"which only makes sense to call from a different thread." +"The only exception is calling the :meth:`~Connection.interrupt` method, which only makes " +"sense to call from a different thread." msgstr "" #: ../Doc/library/sqlite3.rst:1108 @@ -1422,8 +1337,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1109 msgid "" -"The sqlite3 module is not built with loadable extension support by default, " -"because some platforms (notably Mac OS X) have SQLite libraries which are " -"compiled without this feature. To get loadable extension support, you must " -"pass --enable-loadable-sqlite-extensions to configure." +"The sqlite3 module is not built with loadable extension support by default, because some " +"platforms (notably Mac OS X) have SQLite libraries which are compiled without this " +"feature. To get loadable extension support, you must pass --enable-loadable-sqlite-" +"extensions to configure." msgstr "" From 2eeef7146f20b08273e6f97137b748371dcbc8e8 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 16 Aug 2020 13:17:49 -0500 Subject: [PATCH 29/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index af870a6147..52deac678d 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -249,7 +249,7 @@ msgstr "" "es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " "diccionario de conversiones y luego usar la función de conversión encontrada " "allí y devolver el valor. El nombre de la columna encontrada en :attr:" -"`Cursor.description` no incluye el tipo, i. e. si se usa algo como ``'as " +"`Cursor.description` no incluye el tipo, por ejemplo si se usa algo como ``'as " "''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " "demás hasta el primer ``'['`` para el nombre de la columna y eliminará el " "espacio anterior: el nombre de la columna sería: \"Expiration date\"." From c3d73980106e509999a9cf640c8502316485654f Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 16 Aug 2020 13:24:17 -0500 Subject: [PATCH 30/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 52deac678d..4979470660 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -260,7 +260,7 @@ msgid "" "returns a :class:`Connection` object, unless a custom *factory* is given." msgstr "" "Abre una conexión al archivo de base de datos SQLite *database*. Por defecto " -"regresa un objeto :class:`Connection`, a menos que se indique un *factory* " +"retorna un objeto :class:`Connection`, a menos que se indique un *factory* " "personalizado." #: ../Doc/library/sqlite3.rst:179 From b9596cdd44d955e2bbda69d18cba5ea08370cb9b Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 16 Aug 2020 13:40:28 -0500 Subject: [PATCH 31/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 4979470660..66dd7a934d 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -272,7 +272,7 @@ msgid "" msgstr "" "*database* es un :term:`path-like object` indicando el nombre de ruta " "(absoluta o relativa al directorio de trabajo actual) del archivo de base de " -"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión a base " +"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión de base " "de datos a una base de datos que reside en memoria RAM en lugar que disco." #: ../Doc/library/sqlite3.rst:184 From badb6991ace6ab6c34dc46717edabceee19615d4 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 16 Aug 2020 13:41:57 -0500 Subject: [PATCH 32/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 66dd7a934d..578672c992 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -346,7 +346,7 @@ msgstr "" "Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` " "para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" "`Connection` y hacer que :func:`connect` use su clase en lugar de proveer su " -"clase para el parámetro *factory*." +"clase en el parámetro *factory*." #: ../Doc/library/sqlite3.rst:212 msgid "Consult the section :ref:`sqlite3-types` of this manual for details." From 694e1c6f5906b3a8f6d083c8b7acd352b2bf7033 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 16 Aug 2020 13:49:00 -0500 Subject: [PATCH 33/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 578672c992..234f859392 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -360,7 +360,7 @@ msgid "" "that are cached for the connection, you can set the *cached_statements* " "parameter. The currently implemented default is to cache 100 statements." msgstr "" -"El módulo :mod:`sqlite3` internamente usa declaración caché para evitar un " +"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un " "análisis SQL costoso. Si se desea especificar el número de sentencias que " "estarán en memoria caché para la conexión, se puede configurar el parámetro " "*cached_statements*. Por defecto están configurado para 100 sentencias en " From 1fb3409ac67481e3bfc068999f5474ac26cc3b02 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 16 Aug 2020 15:32:05 -0500 Subject: [PATCH 34/95] Update library/sqlite3.po MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cristián Maureira-Fredes --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 234f859392..a94bcf0ca6 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -249,7 +249,7 @@ msgstr "" "es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " "diccionario de conversiones y luego usar la función de conversión encontrada " "allí y devolver el valor. El nombre de la columna encontrada en :attr:" -"`Cursor.description` no incluye el tipo, por ejemplo si se usa algo como ``'as " +"`Cursor.description` no incluye el tipo, en otras palabras, si se usa algo como ``'as " "''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " "demás hasta el primer ``'['`` para el nombre de la columna y eliminará el " "espacio anterior: el nombre de la columna sería: \"Expiration date\"." From 1fe0317013ac5ffb8db9d2404e3faf5fa917ff30 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 15:36:00 -0500 Subject: [PATCH 35/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index a94bcf0ca6..2d174717de 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -397,7 +397,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:230 msgid "Added the *uri* parameter." -msgstr "Agrega el parámetro *uri*" +msgstr "Agregado el parámetro *uri*" #: ../Doc/library/sqlite3.rst:233 msgid "" From f9ddbe29fb64efabc3f46b1d66985cac278d2bec Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 15:39:45 -0500 Subject: [PATCH 36/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 2d174717de..5f22244684 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -416,7 +416,7 @@ msgid "" "manner." msgstr "" "Registra un invocable para convertir un *bytestring* de la base de datos en " -"un tipo python personalizado. El invocable será invocado por todos los " +"un tipo Python personalizado. El invocable será invocado por todos los " "valores de la base de datos que son del tipo *typename*. Conceder el " "parámetro *detect_types* de la función :func:`connect` para el " "funcionamiento de la detección de tipo. Se debe notar que *typename* y el " From f9e5c21a57cc445173e2efabd4e98f015b1ec8a2 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 15:40:18 -0500 Subject: [PATCH 37/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 5f22244684..36f73ec099 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -442,7 +442,7 @@ msgid "" "syntactically correct, only that there are no unclosed string literals and " "the statement is terminated by a semicolon." msgstr "" -"Regresa :const:`True` si la cadena *sql* contiene una o más sentencias SQL " +"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL " "completas terminadas con punto y coma. No se verifica que la sentencia SQL " "sea sintácticamente correcta, solo que no existan literales de cadenas no " "cerradas y que la sentencia termine por un punto y coma." From 101828044cac1c21c2296fbe96bdd9c93c799d53 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 15:42:55 -0500 Subject: [PATCH 38/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 36f73ec099..a684b85300 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -430,7 +430,7 @@ msgid "" "parameter the Python value, and must return a value of the following types: " "int, float, str or bytes." msgstr "" -"Registra un invocable para convertir el tipo Python personalizado a uno de " +"Registra un invocable para convertir el tipo Python personalizado *type* a uno de " "los tipos soportados por SQLite's. El invocable *callable* acepta un único " "parámetro de valor Python, y debe regresar un valor de los siguientes tipos: " "*int*, *float*, *str* or *bytes*." From ce65895cc1810572d1dff641ff22d127b5697a10 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 15:43:07 -0500 Subject: [PATCH 39/95] Update library/sqlite3.po Co-authored-by: Manuel Kaufmann --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index a684b85300..c9e3e27b88 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -432,7 +432,7 @@ msgid "" msgstr "" "Registra un invocable para convertir el tipo Python personalizado *type* a uno de " "los tipos soportados por SQLite's. El invocable *callable* acepta un único " -"parámetro de valor Python, y debe regresar un valor de los siguientes tipos: " +"parámetro de valor Python, y debe retornar un valor de los siguientes tipos: " "*int*, *float*, *str* or *bytes*." #: ../Doc/library/sqlite3.rst:256 From 4279d6ad886487ae2f5753e00916ca4a04578962 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 16:36:49 -0500 Subject: [PATCH 40/95] Se agregan exclusiones para archivos segundarios de vim --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 2bbb0e3e19..8c2698d6c8 100644 --- a/.gitignore +++ b/.gitignore @@ -63,6 +63,8 @@ coverage.xml .idea/ /translation-memory.po /locale/ +*.swp +*~ # OSX .DS_Store From 22f480e5e8f5ad95ad8be933eb13ccec7efb07d2 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 16:37:32 -0500 Subject: [PATCH 41/95] =?UTF-8?q?Se=20aplican=20cambios=20seg=C3=BAn=20fee?= =?UTF-8?q?dback=20de=20draft=20pull=20request?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 100 +++++++++++++++++++++------------------------ 1 file changed, 47 insertions(+), 53 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 6c76b18356..2d40e863af 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-07-22 18:26-0500\n" +"PO-Revision-Date: 2020-08-22 16:27-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -223,24 +223,22 @@ msgid "" "will parse out everything until the first ``'['`` for the column name and strip the " "preceeding space: the column name would simply be \"Expiration date\"." msgstr "" -"Configurar esto hace que la interfaz de SQLite analice el nombre para cada " -"columna que devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' " -"es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " -"diccionario de conversiones y luego usar la función de conversión encontrada " -"allí y devolver el valor. El nombre de la columna encontrada en :attr:" -"`Cursor.description` no incluye el tipo, en otras palabras, si se usa algo como ``'as " -"''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " -"demás hasta el primer ``'['`` para el nombre de la columna y eliminará el " -"espacio anterior: el nombre de la columna sería: \"Expiration date\"." +"Configurar esto hace que la interfaz de SQLite analice el nombre para cada columna que " +"devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' es el tipo de la " +"columna. Tratará de encontrar una entrada 'mytype' en el diccionario de conversiones y " +"luego usar la función de conversión encontrada allí y devolver el valor. El nombre de la " +"columna encontrada en :attr:`Cursor.description` no incluye el tipo, en otras palabras, " +"si se usa algo como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces analizará " +"todo lo demás hasta el primer ``'['`` para el nombre de la columna y eliminará el espacio " +"anterior: el nombre de la columna sería: \"Expiration date\"." #: ../Doc/library/sqlite3.rst:176 msgid "" "Opens a connection to the SQLite database file *database*. By default returns a :class:" "`Connection` object, unless a custom *factory* is given." msgstr "" -"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto " -"retorna un objeto :class:`Connection`, a menos que se indique un *factory* " -"personalizado." +"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto retorna un " +"objeto :class:`Connection`, a menos que se indique un *factory* personalizado." #: ../Doc/library/sqlite3.rst:179 msgid "" @@ -248,10 +246,10 @@ msgid "" "current working directory) of the database file to be opened. You can use ``\":memory:" "\"`` to open a database connection to a database that resides in RAM instead of on disk." msgstr "" -"*database* es un :term:`path-like object` indicando el nombre de ruta " -"(absoluta o relativa al directorio de trabajo actual) del archivo de base de " -"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión de base " -"de datos a una base de datos que reside en memoria RAM en lugar que disco." +"*database* es un :term:`path-like object` indicando el nombre de ruta (absoluta o " +"relativa al directorio de trabajo actual) del archivo de base de datos abierto. Se puede " +"usar ``\":memory:\"`` para abrir una conexión de base de datos a una base de datos que " +"reside en memoria RAM en lugar que disco." #: ../Doc/library/sqlite3.rst:184 msgid "" @@ -310,16 +308,15 @@ msgstr "" "corrupción de datos." #: ../Doc/library/sqlite3.rst:207 -#, fuzzy msgid "" "By default, the :mod:`sqlite3` module uses its :class:`Connection` class for the connect " "call. You can, however, subclass the :class:`Connection` class and make :func:`connect` " "use your class instead by providing your class for the *factory* parameter." msgstr "" -"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` " -"para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" -"`Connection` y hacer que :func:`connect` use su clase en lugar de proveer su " -"clase en el parámetro *factory*." +"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` para la " +"llamada de conexión. Sin embargo se puede crear una subclase de :class:`Connection` y " +"hacer que :func:`connect` use su clase en lugar de proveer su clase en el parámetro " +"*factory*." #: ../Doc/library/sqlite3.rst:212 msgid "Consult the section :ref:`sqlite3-types` of this manual for details." @@ -332,19 +329,17 @@ msgid "" "connection, you can set the *cached_statements* parameter. The currently implemented " "default is to cache 100 statements." msgstr "" -"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un " -"análisis SQL costoso. Si se desea especificar el número de sentencias que " -"estarán en memoria caché para la conexión, se puede configurar el parámetro " -"*cached_statements*. Por defecto están configurado para 100 sentencias en " -"memoria caché." +"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un análisis SQL " +"costoso. Si se desea especificar el número de sentencias que estarán en memoria caché " +"para la conexión, se puede configurar el parámetro *cached_statements*. Por defecto están " +"configurado para 100 sentencias en memoria caché." #: ../Doc/library/sqlite3.rst:219 -#, fuzzy msgid "" "If *uri* is true, *database* is interpreted as a URI. This allows you to specify options. " "For example, to open a database in read-only mode you can use::" msgstr "" -"Si *uri* es True, la *database* se interpreta como una *URI*. Esto permite especificar " +"Si *uri* es *True*, la *database* se interpreta como una *URI*. Esto permite especificar " "opciones. Por ejemplo, para abrir la base de datos en modo solo lectura puedes usar::" #: ../Doc/library/sqlite3.rst:225 @@ -364,29 +359,28 @@ msgstr "" #: ../Doc/library/sqlite3.rst:230 msgid "Added the *uri* parameter." -msgstr "Agregado el parámetro *uri*" +msgstr "Agregado el parámetro *uri*." #: ../Doc/library/sqlite3.rst:233 msgid "*database* can now also be a :term:`path-like object`, not only a string." msgstr "" -"*database* ahora también puede ser un :term:`path-like object`, no solo un *string*." +"*database* ahora también puede ser un :term:`path-like object`, no solo una cadena de " +"caracteres." #: ../Doc/library/sqlite3.rst:239 msgid "" -"Registers a callable to convert a bytestring from the database into a custom " -"Python type. The callable will be invoked for all database values that are " -"of the type *typename*. Confer the parameter *detect_types* of the :func:" -"`connect` function for how the type detection works. Note that *typename* " -"and the name of the type in your query are matched in case-insensitive " -"manner." -msgstr "" -"Registra un invocable para convertir un *bytestring* de la base de datos en " -"un tipo Python personalizado. El invocable será invocado por todos los " -"valores de la base de datos que son del tipo *typename*. Conceder el " -"parámetro *detect_types* de la función :func:`connect` para el " -"funcionamiento de la detección de tipo. Se debe notar que *typename* y el " -"nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas y " -"minúsculas." +"Registers a callable to convert a bytestring from the database into a custom Python type. " +"The callable will be invoked for all database values that are of the type *typename*. " +"Confer the parameter *detect_types* of the :func:`connect` function for how the type " +"detection works. Note that *typename* and the name of the type in your query are matched " +"in case-insensitive manner." +msgstr "" +"Registra un invocable para convertir un *bytestring* de la base de datos en un tipo " +"Python personalizado. El invocable será invocado por todos los valores de la base de " +"datos que son del tipo *typename*. Conceder el parámetro *detect_types* de la función :" +"func:`connect` para el funcionamiento de la detección de tipo. Se debe notar que " +"*typename* y el nombre del tipo en la consulta son comparados insensiblemente a " +"mayúsculas y minúsculas." #: ../Doc/library/sqlite3.rst:248 msgid "" @@ -394,10 +388,10 @@ msgid "" "supported types. The callable *callable* accepts as single parameter the Python value, " "and must return a value of the following types: int, float, str or bytes." msgstr "" -"Registra un invocable para convertir el tipo Python personalizado *type* a uno de " -"los tipos soportados por SQLite's. El invocable *callable* acepta un único " -"parámetro de valor Python, y debe retornar un valor de los siguientes tipos: " -"*int*, *float*, *str* or *bytes*." +"Registra un invocable para convertir el tipo Python personalizado *type* a uno de los " +"tipos soportados por SQLite's. El invocable *callable* acepta un único parámetro de valor " +"Python, y debe retornar un valor de los siguientes tipos: *int*, *float*, *str* or " +"*bytes*." #: ../Doc/library/sqlite3.rst:256 msgid "" @@ -405,10 +399,10 @@ msgid "" "terminated by semicolons. It does not verify that the SQL is syntactically correct, only " "that there are no unclosed string literals and the statement is terminated by a semicolon." msgstr "" -"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL " -"completas terminadas con punto y coma. No se verifica que la sentencia SQL " -"sea sintácticamente correcta, solo que no existan literales de cadenas no " -"cerradas y que la sentencia termine por un punto y coma." +"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL completas " +"terminadas con punto y coma. No se verifica que la sentencia SQL sea sintácticamente " +"correcta, solo que no existan literales de cadenas no cerradas y que la sentencia termine " +"por un punto y coma." #: ../Doc/library/sqlite3.rst:261 msgid "This can be used to build a shell for SQLite, as in the following example:" From 4a10eee10284548d84c197f94f53fb3ec512dd77 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 22 Aug 2020 16:37:32 -0500 Subject: [PATCH 42/95] =?UTF-8?q?24%,=20se=20excluye=20modificaci=C3=83?= =?UTF-8?q?=C2=B3n=20al=20archivo=20.gitignore=20y=20se=20agrega=20en=20ot?= =?UTF-8?q?o=20pull=20reques.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 - library/sqlite3.po | 109 ++++++++++++++++++++++----------------------- 2 files changed, 54 insertions(+), 57 deletions(-) diff --git a/.gitignore b/.gitignore index 8c2698d6c8..2bbb0e3e19 100644 --- a/.gitignore +++ b/.gitignore @@ -63,8 +63,6 @@ coverage.xml .idea/ /translation-memory.po /locale/ -*.swp -*~ # OSX .DS_Store diff --git a/library/sqlite3.po b/library/sqlite3.po index 6c76b18356..b306576314 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-07-22 18:26-0500\n" +"PO-Revision-Date: 2020-08-24 20:26-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -223,24 +223,22 @@ msgid "" "will parse out everything until the first ``'['`` for the column name and strip the " "preceeding space: the column name would simply be \"Expiration date\"." msgstr "" -"Configurar esto hace que la interfaz de SQLite analice el nombre para cada " -"columna que devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' " -"es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " -"diccionario de conversiones y luego usar la función de conversión encontrada " -"allí y devolver el valor. El nombre de la columna encontrada en :attr:" -"`Cursor.description` no incluye el tipo, en otras palabras, si se usa algo como ``'as " -"''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " -"demás hasta el primer ``'['`` para el nombre de la columna y eliminará el " -"espacio anterior: el nombre de la columna sería: \"Expiration date\"." +"Configurar esto hace que la interfaz de SQLite analice el nombre para cada columna que " +"devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' es el tipo de la " +"columna. Tratará de encontrar una entrada 'mytype' en el diccionario de conversiones y " +"luego usar la función de conversión encontrada allí y devolver el valor. El nombre de la " +"columna encontrada en :attr:`Cursor.description` no incluye el tipo, en otras palabras, " +"si se usa algo como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces analizará " +"todo lo demás hasta el primer ``'['`` para el nombre de la columna y eliminará el espacio " +"anterior: el nombre de la columna sería: \"Expiration date\"." #: ../Doc/library/sqlite3.rst:176 msgid "" "Opens a connection to the SQLite database file *database*. By default returns a :class:" "`Connection` object, unless a custom *factory* is given." msgstr "" -"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto " -"retorna un objeto :class:`Connection`, a menos que se indique un *factory* " -"personalizado." +"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto retorna un " +"objeto :class:`Connection`, a menos que se indique un *factory* personalizado." #: ../Doc/library/sqlite3.rst:179 msgid "" @@ -248,10 +246,10 @@ msgid "" "current working directory) of the database file to be opened. You can use ``\":memory:" "\"`` to open a database connection to a database that resides in RAM instead of on disk." msgstr "" -"*database* es un :term:`path-like object` indicando el nombre de ruta " -"(absoluta o relativa al directorio de trabajo actual) del archivo de base de " -"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión de base " -"de datos a una base de datos que reside en memoria RAM en lugar que disco." +"*database* es un :term:`path-like object` indicando el nombre de ruta (absoluta o " +"relativa al directorio de trabajo actual) del archivo de base de datos abierto. Se puede " +"usar ``\":memory:\"`` para abrir una conexión de base de datos a una base de datos que " +"reside en memoria RAM en lugar que disco." #: ../Doc/library/sqlite3.rst:184 msgid "" @@ -310,16 +308,15 @@ msgstr "" "corrupción de datos." #: ../Doc/library/sqlite3.rst:207 -#, fuzzy msgid "" "By default, the :mod:`sqlite3` module uses its :class:`Connection` class for the connect " "call. You can, however, subclass the :class:`Connection` class and make :func:`connect` " "use your class instead by providing your class for the *factory* parameter." msgstr "" -"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` " -"para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" -"`Connection` y hacer que :func:`connect` use su clase en lugar de proveer su " -"clase en el parámetro *factory*." +"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` para la " +"llamada de conexión. Sin embargo se puede crear una subclase de :class:`Connection` y " +"hacer que :func:`connect` use su clase en lugar de proveer su clase en el parámetro " +"*factory*." #: ../Doc/library/sqlite3.rst:212 msgid "Consult the section :ref:`sqlite3-types` of this manual for details." @@ -332,19 +329,17 @@ msgid "" "connection, you can set the *cached_statements* parameter. The currently implemented " "default is to cache 100 statements." msgstr "" -"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un " -"análisis SQL costoso. Si se desea especificar el número de sentencias que " -"estarán en memoria caché para la conexión, se puede configurar el parámetro " -"*cached_statements*. Por defecto están configurado para 100 sentencias en " -"memoria caché." +"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un análisis SQL " +"costoso. Si se desea especificar el número de sentencias que estarán en memoria caché " +"para la conexión, se puede configurar el parámetro *cached_statements*. Por defecto están " +"configurado para 100 sentencias en memoria caché." #: ../Doc/library/sqlite3.rst:219 -#, fuzzy msgid "" "If *uri* is true, *database* is interpreted as a URI. This allows you to specify options. " "For example, to open a database in read-only mode you can use::" msgstr "" -"Si *uri* es True, la *database* se interpreta como una *URI*. Esto permite especificar " +"Si *uri* es *True*, la *database* se interpreta como una *URI*. Esto permite especificar " "opciones. Por ejemplo, para abrir la base de datos en modo solo lectura puedes usar::" #: ../Doc/library/sqlite3.rst:225 @@ -364,29 +359,28 @@ msgstr "" #: ../Doc/library/sqlite3.rst:230 msgid "Added the *uri* parameter." -msgstr "Agregado el parámetro *uri*" +msgstr "Agregado el parámetro *uri*." #: ../Doc/library/sqlite3.rst:233 msgid "*database* can now also be a :term:`path-like object`, not only a string." msgstr "" -"*database* ahora también puede ser un :term:`path-like object`, no solo un *string*." +"*database* ahora también puede ser un :term:`path-like object`, no solo una cadena de " +"caracteres." #: ../Doc/library/sqlite3.rst:239 msgid "" -"Registers a callable to convert a bytestring from the database into a custom " -"Python type. The callable will be invoked for all database values that are " -"of the type *typename*. Confer the parameter *detect_types* of the :func:" -"`connect` function for how the type detection works. Note that *typename* " -"and the name of the type in your query are matched in case-insensitive " -"manner." -msgstr "" -"Registra un invocable para convertir un *bytestring* de la base de datos en " -"un tipo Python personalizado. El invocable será invocado por todos los " -"valores de la base de datos que son del tipo *typename*. Conceder el " -"parámetro *detect_types* de la función :func:`connect` para el " -"funcionamiento de la detección de tipo. Se debe notar que *typename* y el " -"nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas y " -"minúsculas." +"Registers a callable to convert a bytestring from the database into a custom Python type. " +"The callable will be invoked for all database values that are of the type *typename*. " +"Confer the parameter *detect_types* of the :func:`connect` function for how the type " +"detection works. Note that *typename* and the name of the type in your query are matched " +"in case-insensitive manner." +msgstr "" +"Registra un invocable para convertir un *bytestring* de la base de datos en un tipo " +"Python personalizado. El invocable será invocado por todos los valores de la base de " +"datos que son del tipo *typename*. Conceder el parámetro *detect_types* de la función :" +"func:`connect` para el funcionamiento de la detección de tipo. Se debe notar que " +"*typename* y el nombre del tipo en la consulta son comparados insensiblemente a " +"mayúsculas y minúsculas." #: ../Doc/library/sqlite3.rst:248 msgid "" @@ -394,10 +388,10 @@ msgid "" "supported types. The callable *callable* accepts as single parameter the Python value, " "and must return a value of the following types: int, float, str or bytes." msgstr "" -"Registra un invocable para convertir el tipo Python personalizado *type* a uno de " -"los tipos soportados por SQLite's. El invocable *callable* acepta un único " -"parámetro de valor Python, y debe retornar un valor de los siguientes tipos: " -"*int*, *float*, *str* or *bytes*." +"Registra un invocable para convertir el tipo Python personalizado *type* a uno de los " +"tipos soportados por SQLite's. El invocable *callable* acepta un único parámetro de valor " +"Python, y debe retornar un valor de los siguientes tipos: *int*, *float*, *str* or " +"*bytes*." #: ../Doc/library/sqlite3.rst:256 msgid "" @@ -405,10 +399,10 @@ msgid "" "terminated by semicolons. It does not verify that the SQL is syntactically correct, only " "that there are no unclosed string literals and the statement is terminated by a semicolon." msgstr "" -"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL " -"completas terminadas con punto y coma. No se verifica que la sentencia SQL " -"sea sintácticamente correcta, solo que no existan literales de cadenas no " -"cerradas y que la sentencia termine por un punto y coma." +"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL completas " +"terminadas con punto y coma. No se verifica que la sentencia SQL sea sintácticamente " +"correcta, solo que no existan literales de cadenas no cerradas y que la sentencia termine " +"por un punto y coma." #: ../Doc/library/sqlite3.rst:261 msgid "This can be used to build a shell for SQLite, as in the following example:" @@ -422,14 +416,19 @@ msgid "" "function with *flag* set to ``True``. Afterwards, you will get tracebacks from callbacks " "on ``sys.stderr``. Use :const:`False` to disable the feature again." msgstr "" +"Por defecto no se obtendrá ningún *tracebacks* en funciones definidas por el usuario, " +"agregaciones, *converters*, autorizador de *callbacks* etc. si se quiere depurarlas, se " +"puede llamar esta función con *flag* configurado a ``True``. Después se obtendrán " +"*tracebacks* de los *callbacks* en ``sys.stderr``. Usar :const:`False` para deshabilitar " +"la característica de nuevo." #: ../Doc/library/sqlite3.rst:279 msgid "Connection Objects" -msgstr "" +msgstr "Objetos de conexión" #: ../Doc/library/sqlite3.rst:283 msgid "A SQLite database connection has the following attributes and methods:" -msgstr "" +msgstr "Una conexión a base de datos SQLite tiene los siguientes atributos y métodos:" #: ../Doc/library/sqlite3.rst:287 msgid "" From e4d39c1d08f91864ac35d2e53b2054b18ecf1a16 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 29 Aug 2020 17:57:37 -0500 Subject: [PATCH 43/95] 30% --- library/sqlite3.po | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index b306576314..2db2c067ef 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-08-24 20:26-0500\n" +"PO-Revision-Date: 2020-08-29 17:53-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -436,18 +436,25 @@ msgid "" "of \"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\". See section :ref:`sqlite3-controlling-" "transactions` for a more detailed explanation." msgstr "" +"Obtener o configurar el actual nivel de insolación. :const:`None` para modo *autocommit* " +"o uno de \"DEFERRED\", \"IMMEDIATE\" o \"EXCLUSIVO\". Ver sección :ref: `sqlite3-" +"controlling-transactions` para una explicación detallada." #: ../Doc/library/sqlite3.rst:293 msgid "" ":const:`True` if a transaction is active (there are uncommitted changes), :const:`False` " "otherwise. Read-only attribute." msgstr "" +":const:`True` si una transacción está activa (existen cambios *uncommitted*), :const:" +"`False` en sentido contrario. Atributo de solo lectura." #: ../Doc/library/sqlite3.rst:300 msgid "" "The cursor method accepts a single optional parameter *factory*. If supplied, this must " "be a callable returning an instance of :class:`Cursor` or its subclasses." msgstr "" +"El método cursor acepta un único parámetro opcional *factory*. Si es agregado, este debe " +"ser un invocable que retorna una instancia de :class:`Cursor` o sus subclases." #: ../Doc/library/sqlite3.rst:306 msgid "" @@ -456,11 +463,17 @@ msgid "" "If you wonder why you don't see the data you've written to the database, please check you " "didn't forget to call this method." msgstr "" +"Este método *commits* la actual transacción. Si no se llama este método, cualquier cosa " +"hecha desde la última llamada de ``commit()`` no es visible para otras conexiones de " +"bases de datos. Si se pregunta el porqué no se ven los datos que escribiste, por favor " +"verifica que no olvidaste llamar este método." #: ../Doc/library/sqlite3.rst:313 msgid "" "This method rolls back any changes to the database since the last call to :meth:`commit`." msgstr "" +"Este método retrocede cualquier cambio en la base de datos desde la llamada del último :" +"meth:`commit`." #: ../Doc/library/sqlite3.rst:318 msgid "" @@ -468,6 +481,9 @@ msgid "" "`commit`. If you just close your database connection without calling :meth:`commit` " "first, your changes will be lost!" msgstr "" +"Este método cierra la conexión a base de datos. Nótese que este no llama automáticamente :" +"meth:`commit`. Si se cierra la conexión a la base de datos sin llamar primero :meth:" +"`commit`, los cambios se perderán!" #: ../Doc/library/sqlite3.rst:324 msgid "" @@ -475,6 +491,9 @@ msgid "" "`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.execute` method with the " "*parameters* given, and returns the cursor." msgstr "" +"Este es un atajo no estándar que crea un objeto cursor llamando el método :meth:" +"`~Connection.cursor`, llama su método :meth:`~Cursor.execute` con los *parameters* dados, " +"y regresa el cursor." #: ../Doc/library/sqlite3.rst:331 msgid "" @@ -482,6 +501,9 @@ msgid "" "`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.executemany` method with " "the *parameters* given, and returns the cursor." msgstr "" +"Este es un atajo no estándar que crea un objeto cursor llamando el método :meth:" +"`~Connection.cursor`, llama su método :meth:`~Cursor.executemany` con los *parameters* " +"dados, y retorna el cursor." #: ../Doc/library/sqlite3.rst:338 msgid "" @@ -489,6 +511,9 @@ msgid "" "`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.executescript` method with " "the given *sql_script*, and returns the cursor." msgstr "" +"Este es un atajo no estándar que crea un objeto cursor llamando el método :meth:" +"`~Connection.cursor`, llama su método :meth:`~Cursor.executescript` con el *SQL_script*, " +"y retorna el cursor." #: ../Doc/library/sqlite3.rst:345 msgid "" @@ -500,21 +525,31 @@ msgid "" "which allows SQLite to perform additional optimizations. This flag is supported by SQLite " "3.8.3 or higher, :exc:`NotSupportedError` will be raised if used with older versions." msgstr "" +"Crea un función definida de usuario que se puede usar después desde declaraciones SQL con " +"el nombre de función *name*. *num_params* es el número de parámetros que la función " +"acepta (si *num_params* is -1, la función puede tomar cualquier número de argumentos), y " +"*func* es un invocable de Python que es llamado como la función SQL. Si *deterministic* " +"es verdadero, la función creada es marcada como `deterministic `_, lo cual permite a SQLite hacer optimizaciones adicionales. Esta " +"marca es soportada por SQLite 3.8.3 o superior, será lanzado :exc:`NotSupportedError` si " +"se usa con versiones antiguas." #: ../Doc/library/sqlite3.rst:355 msgid "" "The function can return any of the types supported by SQLite: bytes, str, int, float and " "``None``." msgstr "" +"La función puede retornar cualquier tipo soportado por SQLite: bytes, str, int, float y " +"``None``." #: ../Doc/library/sqlite3.rst:358 msgid "The *deterministic* parameter was added." -msgstr "" +msgstr "El parámetro *deterministic* fue agregado." #: ../Doc/library/sqlite3.rst:361 ../Doc/library/sqlite3.rst:378 #: ../Doc/library/sqlite3.rst:492 ../Doc/library/sqlite3.rst:649 msgid "Example:" -msgstr "" +msgstr "Ejemplo:" #: ../Doc/library/sqlite3.rst:368 msgid "Creates a user-defined aggregate function." From 578766f51534679f1dc5eb3f8ec86224de99969c Mon Sep 17 00:00:00 2001 From: Goerman Date: Wed, 16 Sep 2020 21:24:33 -0500 Subject: [PATCH 44/95] =?UTF-8?q?35%:=20m=C3=A9todos=20de=20la=20clase=20C?= =?UTF-8?q?onnection:=20create=5Faggregate,=20create=5Fcollation,=20interr?= =?UTF-8?q?upt,=20set=5Fauthorizer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 2db2c067ef..413e9e2686 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-08-29 17:53-0500\n" +"PO-Revision-Date: 2020-09-16 21:18-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Last-Translator: \n" "Language: es\n" -"X-Generator: Poedit 2.4\n" +"X-Generator: Poedit 2.4.1\n" #: ../Doc/library/sqlite3.rst:2 msgid ":mod:`sqlite3` --- DB-API 2.0 interface for SQLite databases" @@ -553,7 +553,7 @@ msgstr "Ejemplo:" #: ../Doc/library/sqlite3.rst:368 msgid "Creates a user-defined aggregate function." -msgstr "" +msgstr "Crea una función agregada definida por el usuario." #: ../Doc/library/sqlite3.rst:370 msgid "" @@ -561,12 +561,18 @@ msgid "" "parameters *num_params* (if *num_params* is -1, the function may take any number of " "arguments), and a ``finalize`` method which will return the final result of the aggregate." msgstr "" +"La clase agregada debe implementar un método ``step``, el cual acepta el número de " +"parámetros *num_params* (si *num_params* es -1, la función puede tomar cualquier número " +"de argumentos), y un método ``finalize`` el cual retornará el resultado final del " +"agregado." #: ../Doc/library/sqlite3.rst:375 msgid "" "The ``finalize`` method can return any of the types supported by SQLite: bytes, str, int, " "float and ``None``." msgstr "" +"El método ``finalize`` puede retornar cualquiera de los tipos soportados por SQLite: " +"bytes, str, int, float and ``None``." #: ../Doc/library/sqlite3.rst:385 msgid "" @@ -576,20 +582,30 @@ msgid "" "that this controls sorting (ORDER BY in SQL) so your comparisons don't affect other SQL " "operations." msgstr "" +"Crea una *collation* con el *name* y *callable* especificado. El invocable será pasado " +"con dos cadenas de texto como argumentos. Se retornará -1 si el primero esta ordenado " +"menor que el segundo, 0 si están ordenados igual y 1 si el primero está ordenado mayor " +"que el segundo. Nótese que esto controla la ordenación (ORDER BY en SQL) por lo tanto sus " +"comparaciones no afectan otras comparaciones SQL." #: ../Doc/library/sqlite3.rst:391 msgid "" "Note that the callable will get its parameters as Python bytestrings, which will normally " "be encoded in UTF-8." msgstr "" +"Note que el invocable obtiene sus parámetros como Python bytestrings, lo cual normalmente " +"será codificado en UTF-8." #: ../Doc/library/sqlite3.rst:394 msgid "The following example shows a custom collation that sorts \"the wrong way\":" msgstr "" +"El siguiente ejemplo muestra una collation personalizada que ordena \"La forma incorrecta" +"\":" #: ../Doc/library/sqlite3.rst:398 msgid "To remove a collation, call ``create_collation`` with ``None`` as callable::" msgstr "" +"Para remover una collation, llama ``create_collation`` con ``None`` como invocable::" #: ../Doc/library/sqlite3.rst:405 msgid "" @@ -597,6 +613,9 @@ msgid "" "executing on the connection. The query will then abort and the caller will get an " "exception." msgstr "" +"Se puede llamar este método desde un hilo diferente para abortar cualquier consulta que " +"pueda estar ejecutándose en la conexión. La consulta será abortada y quien realiza la " +"llamada obtendrá una excepción." #: ../Doc/library/sqlite3.rst:412 msgid "" @@ -606,6 +625,12 @@ msgid "" "with an error and :const:`SQLITE_IGNORE` if the column should be treated as a NULL value. " "These constants are available in the :mod:`sqlite3` module." msgstr "" +"Esta rutina registra un *callback*. El *callback* es invocado para cada intento de acceso " +"a un columna de una tabla en la base de datos. El *callback* deberá regresar :const:" +"`SQLITE_OK` si el acceso esta permitido, :const:`SQLITE_DENY` si la completa declaración " +"SQL deberá ser abortada con un error y :const:`SQLITE_IGNORE` si la columna deberá ser " +"tratada como un valor NULL. Estas constantes están disponibles en el módulo :mod:" +"`sqlite3`." #: ../Doc/library/sqlite3.rst:419 msgid "" @@ -616,6 +641,12 @@ msgid "" "responsible for the access attempt or :const:`None` if this access attempt is directly " "from input SQL code." msgstr "" +"El primer argumento del *callback* significa que tipo de operación será autorizada. El " +"segundo y tercer argumento serán argumentos o :const:`None` dependiendo del primer " +"argumento. El cuarto argumento es el nombre de la base de datos (\"main\", \"temp\", " +"etc.) si aplica. El quinto argumento es el nombre del disparador más interno o vista que " +"es responsable por los intentos de acceso o :const:`None` si este intento de acceso es " +"directo desde el código SQL de entrada." #: ../Doc/library/sqlite3.rst:426 msgid "" @@ -623,6 +654,9 @@ msgid "" "and the meaning of the second and third argument depending on the first one. All " "necessary constants are available in the :mod:`sqlite3` module." msgstr "" +"Por favor consulte la documentación de SQLite sobre los posibles valores para el primer " +"argumento y el significado del segundo y tercer argumento dependiendo del primero. Todas " +"las constantes necesarias están disponibles en el módulo :mod:`sqlite3`." #: ../Doc/library/sqlite3.rst:433 msgid "" From b466fe0a6ae7cf6f1b8cedb16ae31dc6d9dcde11 Mon Sep 17 00:00:00 2001 From: Goerman Date: Wed, 16 Sep 2020 21:24:33 -0500 Subject: [PATCH 45/95] =?UTF-8?q?35%:=20m=C3=A9todos=20de=20la=20clase=20C?= =?UTF-8?q?onnection:=20create=5Faggregate,=20create=5Fcollation,=20interr?= =?UTF-8?q?upt,=20set=5Fauthorizer,=20+=20issue=20travis.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 2db2c067ef..cd84b94649 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-08-29 17:53-0500\n" +"PO-Revision-Date: 2020-09-16 21:45-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "Last-Translator: \n" "Language: es\n" -"X-Generator: Poedit 2.4\n" +"X-Generator: Poedit 2.4.1\n" #: ../Doc/library/sqlite3.rst:2 msgid ":mod:`sqlite3` --- DB-API 2.0 interface for SQLite databases" @@ -437,7 +437,7 @@ msgid "" "transactions` for a more detailed explanation." msgstr "" "Obtener o configurar el actual nivel de insolación. :const:`None` para modo *autocommit* " -"o uno de \"DEFERRED\", \"IMMEDIATE\" o \"EXCLUSIVO\". Ver sección :ref: `sqlite3-" +"o uno de \"DEFERRED\", \"IMMEDIATE\" o \"EXCLUSIVO\". Ver sección :ref:`sqlite3-" "controlling-transactions` para una explicación detallada." #: ../Doc/library/sqlite3.rst:293 @@ -553,7 +553,7 @@ msgstr "Ejemplo:" #: ../Doc/library/sqlite3.rst:368 msgid "Creates a user-defined aggregate function." -msgstr "" +msgstr "Crea una función agregada definida por el usuario." #: ../Doc/library/sqlite3.rst:370 msgid "" @@ -561,12 +561,18 @@ msgid "" "parameters *num_params* (if *num_params* is -1, the function may take any number of " "arguments), and a ``finalize`` method which will return the final result of the aggregate." msgstr "" +"La clase agregada debe implementar un método ``step``, el cual acepta el número de " +"parámetros *num_params* (si *num_params* es -1, la función puede tomar cualquier número " +"de argumentos), y un método ``finalize`` el cual retornará el resultado final del " +"agregado." #: ../Doc/library/sqlite3.rst:375 msgid "" "The ``finalize`` method can return any of the types supported by SQLite: bytes, str, int, " "float and ``None``." msgstr "" +"El método ``finalize`` puede retornar cualquiera de los tipos soportados por SQLite: " +"bytes, str, int, float and ``None``." #: ../Doc/library/sqlite3.rst:385 msgid "" @@ -576,20 +582,30 @@ msgid "" "that this controls sorting (ORDER BY in SQL) so your comparisons don't affect other SQL " "operations." msgstr "" +"Crea una *collation* con el *name* y *callable* especificado. El invocable será pasado " +"con dos cadenas de texto como argumentos. Se retornará -1 si el primero esta ordenado " +"menor que el segundo, 0 si están ordenados igual y 1 si el primero está ordenado mayor " +"que el segundo. Nótese que esto controla la ordenación (ORDER BY en SQL) por lo tanto sus " +"comparaciones no afectan otras comparaciones SQL." #: ../Doc/library/sqlite3.rst:391 msgid "" "Note that the callable will get its parameters as Python bytestrings, which will normally " "be encoded in UTF-8." msgstr "" +"Note que el invocable obtiene sus parámetros como Python bytestrings, lo cual normalmente " +"será codificado en UTF-8." #: ../Doc/library/sqlite3.rst:394 msgid "The following example shows a custom collation that sorts \"the wrong way\":" msgstr "" +"El siguiente ejemplo muestra una collation personalizada que ordena \"La forma incorrecta" +"\":" #: ../Doc/library/sqlite3.rst:398 msgid "To remove a collation, call ``create_collation`` with ``None`` as callable::" msgstr "" +"Para remover una collation, llama ``create_collation`` con ``None`` como invocable::" #: ../Doc/library/sqlite3.rst:405 msgid "" @@ -597,6 +613,9 @@ msgid "" "executing on the connection. The query will then abort and the caller will get an " "exception." msgstr "" +"Se puede llamar este método desde un hilo diferente para abortar cualquier consulta que " +"pueda estar ejecutándose en la conexión. La consulta será abortada y quien realiza la " +"llamada obtendrá una excepción." #: ../Doc/library/sqlite3.rst:412 msgid "" @@ -606,6 +625,12 @@ msgid "" "with an error and :const:`SQLITE_IGNORE` if the column should be treated as a NULL value. " "These constants are available in the :mod:`sqlite3` module." msgstr "" +"Esta rutina registra un *callback*. El *callback* es invocado para cada intento de acceso " +"a un columna de una tabla en la base de datos. El *callback* deberá regresar :const:" +"`SQLITE_OK` si el acceso esta permitido, :const:`SQLITE_DENY` si la completa declaración " +"SQL deberá ser abortada con un error y :const:`SQLITE_IGNORE` si la columna deberá ser " +"tratada como un valor NULL. Estas constantes están disponibles en el módulo :mod:" +"`sqlite3`." #: ../Doc/library/sqlite3.rst:419 msgid "" @@ -616,6 +641,12 @@ msgid "" "responsible for the access attempt or :const:`None` if this access attempt is directly " "from input SQL code." msgstr "" +"El primer argumento del *callback* significa que tipo de operación será autorizada. El " +"segundo y tercer argumento serán argumentos o :const:`None` dependiendo del primer " +"argumento. El cuarto argumento es el nombre de la base de datos (\"main\", \"temp\", " +"etc.) si aplica. El quinto argumento es el nombre del disparador más interno o vista que " +"es responsable por los intentos de acceso o :const:`None` si este intento de acceso es " +"directo desde el código SQL de entrada." #: ../Doc/library/sqlite3.rst:426 msgid "" @@ -623,6 +654,9 @@ msgid "" "and the meaning of the second and third argument depending on the first one. All " "necessary constants are available in the :mod:`sqlite3` module." msgstr "" +"Por favor consulte la documentación de SQLite sobre los posibles valores para el primer " +"argumento y el significado del segundo y tercer argumento dependiendo del primero. Todas " +"las constantes necesarias están disponibles en el módulo :mod:`sqlite3`." #: ../Doc/library/sqlite3.rst:433 msgid "" From 8e29d02a79cc7d3e5804f4da152e025446a2c6f7 Mon Sep 17 00:00:00 2001 From: Goerman Date: Wed, 23 Sep 2020 19:26:38 -0500 Subject: [PATCH 46/95] =?UTF-8?q?40%:=20M=C3=A9todos=20de=20la=20clase=20c?= =?UTF-8?q?onnection:=20set=5Fprogress=5Fhandler,=20set=5Ftrace=5Fcallback?= =?UTF-8?q?,=20enable=5Fload=5Fextension,=20load=5Fextension.=20Algunos=20?= =?UTF-8?q?errores=20ortogr=C3=A1ficos=20antiguos.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 58 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 41 insertions(+), 17 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index cd84b94649..a208223569 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-09-16 21:45-0500\n" +"PO-Revision-Date: 2020-09-23 19:21-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -50,8 +50,8 @@ msgid "" "The sqlite3 module was written by Gerhard Häring. It provides a SQL interface compliant " "with the DB-API 2.0 specification described by :pep:`249`." msgstr "" -"El módulo sqlite3 fue escrito por Gerhard Häring. Provee una interfaz SQL compatible con " -"la especificación DB-API 2.0 descrita por :pep:`249`." +"El módulo sqlite3 fue escrito por *Gerhard Häring*. Provee una interfaz SQL compatible " +"con la especificación DB-API 2.0 descrita por :pep:`249`." #: ../Doc/library/sqlite3.rst:23 msgid "" @@ -128,8 +128,8 @@ msgstr "https://github.com/ghaering/pysqlite" msgid "" "The pysqlite web page -- sqlite3 is developed externally under the name \"pysqlite\"." msgstr "" -"La página web pysqlite -- sqlite3 se desarrolla externamente bajo el nombre de \"pysqlite" -"\"." +"La página web *pysqlite* -- sqlite3 se desarrolla externamente bajo el nombre de " +"\"pysqlite\"." #: ../Doc/library/sqlite3.rst:108 msgid "https://www.sqlite.org" @@ -207,7 +207,7 @@ msgid "" "converter function registered for that type there." msgstr "" "Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado para cada " -"columna que devuelve. Este convertira la primera palabra del tipo declarado, i. e. para *" +"columna que devuelve. Este convertirá la primera palabra del tipo declarado, i. e. para *" "\"integer primary key\"*, será convertido a *\"integer\"*, o para \"*number(10)*\" será " "convertido a \"*number*\". Entonces para esa columna, revisará el diccionario de " "conversiones y usará la función de conversión registrada para ese tipo." @@ -258,7 +258,7 @@ msgid "" "*timeout* parameter specifies how long the connection should wait for the lock to go away " "until raising an exception. The default for the timeout parameter is 5.0 (five seconds)." msgstr "" -"Cuando una base de datos es accedida por multiples conexiones, y uno de los procesos " +"Cuando una base de datos es accedida por múltiples conexiones, y uno de los procesos " "modifica la base de datos, la base de datos SQLite se bloquea hasta que la transacción se " "confirme. El parámetro *timeout* especifica que tanto debe esperar la conexión para que " "el bloqueo desaparezca antes de lanzar una excepción. Por defecto el parámetro timeout es " @@ -279,10 +279,10 @@ msgid "" "and the using custom **converters** registered with the module-level :func:" "`register_converter` function allow you to easily do that." msgstr "" -"Nativamente SQLite soporta solo los tipos *TEXT*, *INTEGER*,*REAL*,*BLOB* y *NULL*. Si se " -"quiere usar otros tipos, debe soportarlos usted mismo. El parámetro *detect_types* y el " -"uso de **converters** personalizados registrados con la función a nivel del módulo :func:" -"`register_converter` permite hacerlo fácilmente." +"De forma nativa SQLite soporta solo los tipos *TEXT*, *INTEGER*,*REAL*,*BLOB* y *NULL*. " +"Si se quiere usar otros tipos, debe soportarlos usted mismo. El parámetro *detect_types* " +"y el uso de **converters** personalizados registrados con la función a nivel del módulo :" +"func:`register_converter` permite hacerlo fácilmente." #: ../Doc/library/sqlite3.rst:198 msgid "" @@ -303,7 +303,7 @@ msgid "" msgstr "" "Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo creado puede " "utilizar la conexión. Si se configura :const:`False`, la conexión retornada podrá ser " -"compartida con múltiples hilos. Cuando se utiliza multiples hilos con la misma conexión, " +"compartida con múltiples hilos. Cuando se utiliza múltiples hilos con la misma conexión, " "las operaciones de escritura deberán ser serializadas por el usuario para evitar " "corrupción de datos." @@ -599,13 +599,13 @@ msgstr "" #: ../Doc/library/sqlite3.rst:394 msgid "The following example shows a custom collation that sorts \"the wrong way\":" msgstr "" -"El siguiente ejemplo muestra una collation personalizada que ordena \"La forma incorrecta" -"\":" +"El siguiente ejemplo muestra una *collation* personalizada que ordena \"La forma " +"incorrecta\":" #: ../Doc/library/sqlite3.rst:398 msgid "To remove a collation, call ``create_collation`` with ``None`` as callable::" msgstr "" -"Para remover una collation, llama ``create_collation`` con ``None`` como invocable::" +"Para remover una *collation*, llama ``create_collation`` con ``None`` como invocable::" #: ../Doc/library/sqlite3.rst:405 msgid "" @@ -664,24 +664,33 @@ msgid "" "the SQLite virtual machine. This is useful if you want to get called from SQLite during " "long-running operations, for example to update a GUI." msgstr "" +"Esta rutina registra un *callback*. El *callback* es invocado para cada *n* instrucciones " +"de la máquina virtual SQLite. Esto es útil si se quiere tener llamado a SQLite durante " +"operaciones de larga duración, por ejemplo para actualizar una GUI." #: ../Doc/library/sqlite3.rst:438 msgid "" "If you want to clear any previously installed progress handler, call the method with :" "const:`None` for *handler*." msgstr "" +"Si se desea limpiar cualquier *progress handler* instalado previamente, llame el método " +"con :const:`None` para *handler*." #: ../Doc/library/sqlite3.rst:441 msgid "" "Returning a non-zero value from the handler function will terminate the currently " "executing query and cause it to raise an :exc:`OperationalError` exception." msgstr "" +"Retornando un valor diferente a 0 de la función manejadora terminará la actual consulta " +"en ejecución y causará lanzar una excepción :exc:`OperationalError`." #: ../Doc/library/sqlite3.rst:448 msgid "" "Registers *trace_callback* to be called for each SQL statement that is actually executed " "by the SQLite backend." msgstr "" +"Registra *trace_callback* para ser llamado por cada sentencia SQL que realmente se " +"ejecute por el backend de SQLite." #: ../Doc/library/sqlite3.rst:451 msgid "" @@ -691,10 +700,15 @@ msgid "" "the transaction management of the Python module and the execution of triggers defined in " "the current database." msgstr "" +"El único argumento pasado al *callback* es la sentencia (como cadena de texto) que se " +"está ejecutando. El valor retornado del *callback* es ignorado. Nótese que el *backend* " +"no solo ejecuta la sentencia pasada a los métodos :meth:`Cursor.execute`. Otras fuentes " +"incluyen el gestión de la transacción del módulo de Python y la ejecución de los " +"disparadores definidos en la actual base de datos." #: ../Doc/library/sqlite3.rst:457 msgid "Passing :const:`None` as *trace_callback* will disable the trace callback." -msgstr "" +msgstr "Pasando :const:`None` como *trace_callback* deshabilitara el *trace callback*." #: ../Doc/library/sqlite3.rst:464 msgid "" @@ -703,16 +717,22 @@ msgid "" "table implementations. One well-known extension is the fulltext-search extension " "distributed with SQLite." msgstr "" +"Esta rutina habilita/deshabilita el motor de SQLite para cargar extensiones SQLite desde " +"bibliotecas compartidas. Las extensiones SQLite pueden definir nuevas funciones, " +"agregaciones o una completa nueva implementación de tablas virtuales. Una bien conocida " +"extensión es *fulltext-search* distribuida con SQLite." #: ../Doc/library/sqlite3.rst:469 ../Doc/library/sqlite3.rst:481 msgid "Loadable extensions are disabled by default. See [#f1]_." -msgstr "" +msgstr "Las extensiones cargables están deshabilitadas por defecto. Ver [#f1]_." #: ../Doc/library/sqlite3.rst:477 msgid "" "This routine loads a SQLite extension from a shared library. You have to enable " "extension loading with :meth:`enable_load_extension` before you can use this routine." msgstr "" +"Esta rutina carga una extensión SQLite de una biblioteca compartida. Se debe habilitar la " +"carga de extensiones con `enable_load_extension` antes de usar esta rutina." #: ../Doc/library/sqlite3.rst:487 msgid "" @@ -721,6 +741,10 @@ msgid "" "advanced ways of returning results, such as returning an object that can also access " "columns by name." msgstr "" +"Se puede cambiar este atributo a un invocable que acepta el cursor y la fila original " +"como una tupla y retornará la fila con el resultado real. De esta forma, se puede " +"implementar más avanzadas formas de retornar resultados, tales como retornar un objeto " +"que puede también acceder a las columnas por su nombre." #: ../Doc/library/sqlite3.rst:496 msgid "" From f31e4bf8c5d79a43a1cbcde29c86a756c988cba5 Mon Sep 17 00:00:00 2001 From: Goerman Date: Wed, 23 Sep 2020 19:59:43 -0500 Subject: [PATCH 47/95] =?UTF-8?q?Correcci=C3=B3n=20errores?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index a208223569..1e89e8eaa5 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-09-23 19:21-0500\n" +"PO-Revision-Date: 2020-09-23 19:53-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -681,8 +681,8 @@ msgid "" "Returning a non-zero value from the handler function will terminate the currently " "executing query and cause it to raise an :exc:`OperationalError` exception." msgstr "" -"Retornando un valor diferente a 0 de la función manejadora terminará la actual consulta " -"en ejecución y causará lanzar una excepción :exc:`OperationalError`." +"Retornando un valor diferente a 0 de la función gestora terminará la actual consulta en " +"ejecución y causará lanzar una excepción :exc:`OperationalError`." #: ../Doc/library/sqlite3.rst:448 msgid "" @@ -690,7 +690,7 @@ msgid "" "by the SQLite backend." msgstr "" "Registra *trace_callback* para ser llamado por cada sentencia SQL que realmente se " -"ejecute por el backend de SQLite." +"ejecute por el *backend* de SQLite." #: ../Doc/library/sqlite3.rst:451 msgid "" From 7fe3a627baf731028b1f6b79dc1e54472ae8f247 Mon Sep 17 00:00:00 2001 From: Goerman Date: Thu, 1 Oct 2020 23:03:34 -0500 Subject: [PATCH 48/95] =?UTF-8?q?40%:=20M=C3=A9todo=20de=20la=20clase=20co?= =?UTF-8?q?nnection:=20row=5Ffactory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 1e89e8eaa5..48c03bd2b6 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-09-23 19:53-0500\n" +"PO-Revision-Date: 2020-10-01 23:01-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -754,6 +754,12 @@ msgid "" "columns with almost no memory overhead. It will probably be better than your own custom " "dictionary-based approach or even a db_row based solution." msgstr "" +"Si retornado una tupla no es suficiente y se quiere acceder a las columnas basadas en " +"nombre, se debe considerar configurar :attr:`row_factory` a la altamente optimizada tipo :" +"class:`sqlite3.Row`. :class:`Row` provee ambos accesos a columnas basada en índice y " +"tipado insensible con casi nada de memoria elevada. Será probablemente mejor que tú " +"propio enfoque de basado en diccionario personalizado o incluso mejor que una solución " +"basada en *db_row*." #: ../Doc/library/sqlite3.rst:508 msgid "" From 9fb9e31f044af902f64917183372469c7eec8910 Mon Sep 17 00:00:00 2001 From: Goerman Date: Thu, 1 Oct 2020 23:23:05 -0500 Subject: [PATCH 49/95] =?UTF-8?q?Correcci=C3=B3n=20errores=20travis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 48c03bd2b6..dce69e767b 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-01 23:01-0500\n" +"PO-Revision-Date: 2020-10-01 23:21-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -261,8 +261,8 @@ msgstr "" "Cuando una base de datos es accedida por múltiples conexiones, y uno de los procesos " "modifica la base de datos, la base de datos SQLite se bloquea hasta que la transacción se " "confirme. El parámetro *timeout* especifica que tanto debe esperar la conexión para que " -"el bloqueo desaparezca antes de lanzar una excepción. Por defecto el parámetro timeout es " -"de 5.0 (cinco segundos)." +"el bloqueo desaparezca antes de lanzar una excepción. Por defecto el parámetro *timeout* " +"es de 5.0 (cinco segundos)." #: ../Doc/library/sqlite3.rst:190 msgid "" @@ -732,7 +732,7 @@ msgid "" "extension loading with :meth:`enable_load_extension` before you can use this routine." msgstr "" "Esta rutina carga una extensión SQLite de una biblioteca compartida. Se debe habilitar la " -"carga de extensiones con `enable_load_extension` antes de usar esta rutina." +"carga de extensiones con :meth:`enable_load_extension` antes de usar esta rutina." #: ../Doc/library/sqlite3.rst:487 msgid "" From 096701c2576030d7b037e413a06aef5ab87516ab Mon Sep 17 00:00:00 2001 From: Goerman Date: Sat, 3 Oct 2020 08:28:23 -0500 Subject: [PATCH 50/95] =?UTF-8?q?Palabras=20que=20rompen=20la=20compilaci?= =?UTF-8?q?=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dictionaries/library_sqlite3.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 dictionaries/library_sqlite3.txt diff --git a/dictionaries/library_sqlite3.txt b/dictionaries/library_sqlite3.txt new file mode 100644 index 0000000000..e315b6d659 --- /dev/null +++ b/dictionaries/library_sqlite3.txt @@ -0,0 +1,3 @@ +prototipar +Configurarla +autorizador From a95f15800d99576bd4c9904cb4638482258718ce Mon Sep 17 00:00:00 2001 From: Goerman Date: Sat, 3 Oct 2020 10:23:53 -0500 Subject: [PATCH 51/95] =?UTF-8?q?47%=20=C3=9Altimos=20m=C3=A9todos=20de=20?= =?UTF-8?q?la=20clase=20Connection:=20text=5Ffactory,=20total=5Fchanges,?= =?UTF-8?q?=20iterdump,=20backup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 46 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index dce69e767b..0d84300b0f 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-01 23:21-0500\n" +"PO-Revision-Date: 2020-10-03 10:19-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -493,7 +493,7 @@ msgid "" msgstr "" "Este es un atajo no estándar que crea un objeto cursor llamando el método :meth:" "`~Connection.cursor`, llama su método :meth:`~Cursor.execute` con los *parameters* dados, " -"y regresa el cursor." +"y retorna el cursor." #: ../Doc/library/sqlite3.rst:331 msgid "" @@ -626,7 +626,7 @@ msgid "" "These constants are available in the :mod:`sqlite3` module." msgstr "" "Esta rutina registra un *callback*. El *callback* es invocado para cada intento de acceso " -"a un columna de una tabla en la base de datos. El *callback* deberá regresar :const:" +"a un columna de una tabla en la base de datos. El *callback* deberá retornar :const:" "`SQLITE_OK` si el acceso esta permitido, :const:`SQLITE_DENY` si la completa declaración " "SQL deberá ser abortada con un error y :const:`SQLITE_IGNORE` si la columna deberá ser " "tratada como un valor NULL. Estas constantes están disponibles en el módulo :mod:" @@ -768,22 +768,30 @@ msgid "" "will return Unicode objects for ``TEXT``. If you want to return bytestrings instead, you " "can set it to :class:`bytes`." msgstr "" +"Usando este atributo se puede controlar que objetos son retornados por el tipo de dato " +"``TEXT``. Por defecto, este atributo es configurado a :class:`str` y el módulo :mod:" +"`sqlite3` retornará objetos Unicode para ``TEXT``. Si en cambio se quiere retornar " +"*bytestrings*, se debe configurar a :class:`bytes`." #: ../Doc/library/sqlite3.rst:513 msgid "" "You can also set it to any other callable that accepts a single bytestring parameter and " "returns the resulting object." msgstr "" +"También se puede configurar a cualquier otro *callable* que acepte un único parámetro " +"*bytestring* y retorne el objeto resultante" #: ../Doc/library/sqlite3.rst:516 msgid "See the following example code for illustration:" -msgstr "" +msgstr "Ver el siguiente ejemplo de código para ilustración:" #: ../Doc/library/sqlite3.rst:523 msgid "" "Returns the total number of database rows that have been modified, inserted, or deleted " "since the database connection was opened." msgstr "" +"Regresa el número total de filas de la base de datos que han sido modificadas, insertadas " +"o borradas desde que la conexión a la base de datos fue abierta." #: ../Doc/library/sqlite3.rst:529 msgid "" @@ -791,10 +799,13 @@ msgid "" "memory database for later restoration. This function provides the same capabilities as " "the :kbd:`.dump` command in the :program:`sqlite3` shell." msgstr "" +"Regresa un iterador para volcar la base de datos en un texto de formato SQL. Es útil " +"cuando guardamos una base de datos en memoria para posterior restauración. Esta función " +"provee las mismas capacidades que el comando :kbd:`dump` en el *shell* :program:`sqlite3`." #: ../Doc/library/sqlite3.rst:534 msgid "Example::" -msgstr "" +msgstr "Ejemplo::" #: ../Doc/library/sqlite3.rst:548 msgid "" @@ -802,6 +813,10 @@ msgid "" "clients, or concurrently by the same connection. The copy will be written into the " "mandatory argument *target*, that must be another :class:`Connection` instance." msgstr "" +"Este método crea un respaldo de una base de datos SQLite incluso mientras está siendo " +"accedida por otros clientes, o concurrente por la misma conexión. La copia será escrita " +"dentro del argumento mandatorio *target*, que deberá ser otra instancia de :class:" +"`Connection`." #: ../Doc/library/sqlite3.rst:553 msgid "" @@ -809,6 +824,9 @@ msgid "" "copied in a single step; otherwise the method performs a loop copying up to *pages* pages " "at a time." msgstr "" +"Por defecto, o cuando *pages* es ``0`` o un entero negativo, la base de datos completa es " +"copiada en un solo paso; de otra forma el método realiza un bucle copiando hasta el " +"número de *pages* a la vez." #: ../Doc/library/sqlite3.rst:557 msgid "" @@ -817,6 +835,10 @@ msgid "" "last iteration, the *remaining* number of pages still to be copied and the *total* number " "of pages." msgstr "" +"Si *progress* es especificado, deberá ser ``None`` o un objeto *callable* que será " +"ejecutado en cada iteración con los tres argumentos enteros, respectivamente el estado " +"*status* de la última iteración, el restante *remaining* numero de páginas presentes para " +"ser copiadas y el número total *total* de páginas." #: ../Doc/library/sqlite3.rst:562 msgid "" @@ -825,6 +847,11 @@ msgid "" "to indicate the temporary database or the name specified after the ``AS`` keyword in an " "``ATTACH DATABASE`` statement for an attached database." msgstr "" +"El argumento *name* especifica el nombre de la base de datos que será copiada: deberá ser " +"una cadena de texto que contenga el por defecto ``\"main\"``, que indica la base de datos " +"principal, ``\"temp\"`` que indica la base de datos temporal o el nombre especificado " +"después de la palabra clave ``AS`` en una sentencia ``ATTACH DATABASE`` para una base de " +"datos adjunta." #: ../Doc/library/sqlite3.rst:568 msgid "" @@ -832,18 +859,21 @@ msgid "" "attempts to backup remaining pages, can be specified either as an integer or a floating " "point value." msgstr "" +"El argumento *sleep* especifica el número de segundos a dormir entre sucesivos intentos " +"de respaldar páginas restantes, puede ser especificado como un entero o un valor de punto " +"flotante." #: ../Doc/library/sqlite3.rst:572 msgid "Example 1, copy an existing database into another::" -msgstr "" +msgstr "Ejemplo 1, copiar una base de datos existente en otra::" #: ../Doc/library/sqlite3.rst:586 msgid "Example 2, copy an existing database into a transient copy::" -msgstr "" +msgstr "Ejemplo 2: copiar una base de datos existente en una copia transitoria::" #: ../Doc/library/sqlite3.rst:594 msgid "Availability: SQLite 3.6.11 or higher" -msgstr "" +msgstr "Disponibilidad: SQLite 3.6.11 o superior" #: ../Doc/library/sqlite3.rst:602 msgid "Cursor Objects" From acc2f46002809d5c73fb09e73989094702b622be Mon Sep 17 00:00:00 2001 From: Goerman Date: Sat, 3 Oct 2020 10:42:04 -0500 Subject: [PATCH 52/95] =?UTF-8?q?Se=20cambia=20palabra=20mandatorio=20por?= =?UTF-8?q?=20obligatorio,=20apesar=20de=20que=20mandatorio=20existe=20en?= =?UTF-8?q?=20la=20rae,=20ac=C3=A1=20se=20usa=20obligatorio?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 0d84300b0f..35691898c8 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-03 10:19-0500\n" +"PO-Revision-Date: 2020-10-03 10:40-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -815,7 +815,7 @@ msgid "" msgstr "" "Este método crea un respaldo de una base de datos SQLite incluso mientras está siendo " "accedida por otros clientes, o concurrente por la misma conexión. La copia será escrita " -"dentro del argumento mandatorio *target*, que deberá ser otra instancia de :class:" +"dentro del argumento obligatorio *target*, que deberá ser otra instancia de :class:" "`Connection`." #: ../Doc/library/sqlite3.rst:553 From 57ac065a46f5e863e36257011d78f5cba66ba3c8 Mon Sep 17 00:00:00 2001 From: Goerman Date: Sun, 4 Oct 2020 20:18:23 -0500 Subject: [PATCH 53/95] 50%: Objetos de la clase cursor: execute --- library/sqlite3.po | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 35691898c8..df2c471d5e 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-03 10:40-0500\n" +"PO-Revision-Date: 2020-10-04 16:09-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -877,11 +877,11 @@ msgstr "Disponibilidad: SQLite 3.6.11 o superior" #: ../Doc/library/sqlite3.rst:602 msgid "Cursor Objects" -msgstr "" +msgstr "Objetos Cursor" #: ../Doc/library/sqlite3.rst:606 msgid "A :class:`Cursor` instance has the following attributes and methods." -msgstr "" +msgstr "Una instancia de :class:`Cursor` tiene los siguientes atributos y métodos." #: ../Doc/library/sqlite3.rst:613 msgid "" @@ -889,10 +889,14 @@ msgid "" "instead of SQL literals). The :mod:`sqlite3` module supports two kinds of placeholders: " "question marks (qmark style) and named placeholders (named style)." msgstr "" +"Ejecuta una sentencia SQL. La sentencia SQL puede estar parametrizada (es decir " +"marcadores en lugar de literales SQL). El módulo :mod:`sqlite3` soporta dos tipos de " +"marcadores: signos de interrogación (estilo *qmark*) y marcadores nombrados (estilo " +"*nombrado*)." #: ../Doc/library/sqlite3.rst:618 msgid "Here's an example of both styles:" -msgstr "" +msgstr "Acá esta un ejemplo con los dos estilos:" #: ../Doc/library/sqlite3.rst:622 msgid "" @@ -900,6 +904,9 @@ msgid "" "one statement with it, it will raise a :exc:`.Warning`. Use :meth:`executescript` if you " "want to execute multiple SQL statements with one call." msgstr "" +":meth:`execute` solo ejecutará una única sentencia SQL. Si se trata de ejecutar más de " +"una sentencia con el, lanzará un :exc:`.Warning`. Usar :meth:`executescript` si se quiere " +"ejecutar múltiples sentencias SQL con una llamada." #: ../Doc/library/sqlite3.rst:630 msgid "" From 366e9eed1d2d4c65f6d5d5afcd28ab0636cbb0ff Mon Sep 17 00:00:00 2001 From: Goerman Date: Sun, 4 Oct 2020 20:22:14 -0500 Subject: [PATCH 54/95] =?UTF-8?q?Correcci=C3=B3n=20de=20indentaci=C3=B3n?= =?UTF-8?q?=20con=20powrap=20en=20mobaXterm=20sobre=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 1404 ++++++++++++++++++++++++-------------------- 1 file changed, 757 insertions(+), 647 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index df2c471d5e..dbc104702a 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-04 16:09-0500\n" +"PO-Revision-Date: 2020-10-04 20:18-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -32,89 +32,102 @@ msgstr "**Source code:** :source:`Lib/sqlite3/`" #: ../Doc/library/sqlite3.rst:13 msgid "" -"SQLite is a C library that provides a lightweight disk-based database that doesn't " -"require a separate server process and allows accessing the database using a nonstandard " -"variant of the SQL query language. Some applications can use SQLite for internal data " -"storage. It's also possible to prototype an application using SQLite and then port the " -"code to a larger database such as PostgreSQL or Oracle." +"SQLite is a C library that provides a lightweight disk-based database that " +"doesn't require a separate server process and allows accessing the database " +"using a nonstandard variant of the SQL query language. Some applications can " +"use SQLite for internal data storage. It's also possible to prototype an " +"application using SQLite and then port the code to a larger database such as " +"PostgreSQL or Oracle." msgstr "" -"SQLite es una biblioteca de C que provee una base de datos ligera basada en disco, esta " -"no requiere un proceso de servidor separado y permite acceder a la base de datos usando " -"una variación no estándar del lenguaje de consulta SQL. Algunas aplicaciones pueden usar " -"SQLite para almacenamiento interno. También es posible prototipar una aplicación usando " -"SQLite y luego transferir el código a una base de datos más grande como PostgreSQL u " -"Oracle." +"SQLite es una biblioteca de C que provee una base de datos ligera basada en " +"disco, esta no requiere un proceso de servidor separado y permite acceder a " +"la base de datos usando una variación no estándar del lenguaje de consulta " +"SQL. Algunas aplicaciones pueden usar SQLite para almacenamiento interno. " +"También es posible prototipar una aplicación usando SQLite y luego " +"transferir el código a una base de datos más grande como PostgreSQL u Oracle." #: ../Doc/library/sqlite3.rst:20 msgid "" -"The sqlite3 module was written by Gerhard Häring. It provides a SQL interface compliant " -"with the DB-API 2.0 specification described by :pep:`249`." +"The sqlite3 module was written by Gerhard Häring. It provides a SQL " +"interface compliant with the DB-API 2.0 specification described by :pep:" +"`249`." msgstr "" -"El módulo sqlite3 fue escrito por *Gerhard Häring*. Provee una interfaz SQL compatible " -"con la especificación DB-API 2.0 descrita por :pep:`249`." +"El módulo sqlite3 fue escrito por *Gerhard Häring*. Provee una interfaz SQL " +"compatible con la especificación DB-API 2.0 descrita por :pep:`249`." #: ../Doc/library/sqlite3.rst:23 msgid "" -"To use the module, you must first create a :class:`Connection` object that represents the " -"database. Here the data will be stored in the :file:`example.db` file::" +"To use the module, you must first create a :class:`Connection` object that " +"represents the database. Here the data will be stored in the :file:`example." +"db` file::" msgstr "" -"Para usar el módulo, primero se debe crear un objeto :class:`Connection` que representa " -"la base de datos. Aquí los datos serán almacenados en el archivo :file:`example.db`:" +"Para usar el módulo, primero se debe crear un objeto :class:`Connection` que " +"representa la base de datos. Aquí los datos serán almacenados en el archivo :" +"file:`example.db`:" #: ../Doc/library/sqlite3.rst:30 -msgid "You can also supply the special name ``:memory:`` to create a database in RAM." +msgid "" +"You can also supply the special name ``:memory:`` to create a database in " +"RAM." msgstr "" -"También se puede agregar el nombre especial ``:memory:`` para crear una base de datos en " -"memoria RAM." +"También se puede agregar el nombre especial ``:memory:`` para crear una base " +"de datos en memoria RAM." #: ../Doc/library/sqlite3.rst:32 msgid "" -"Once you have a :class:`Connection`, you can create a :class:`Cursor` object and call " -"its :meth:`~Cursor.execute` method to perform SQL commands::" +"Once you have a :class:`Connection`, you can create a :class:`Cursor` " +"object and call its :meth:`~Cursor.execute` method to perform SQL commands::" msgstr "" -"Una vez se tenga una :class:`Connection`, se puede crear un objeto :class:`Cursor` y " -"llamar su método :meth:`~Cursor.execute` para ejecutar comandos SQL:" +"Una vez se tenga una :class:`Connection`, se puede crear un objeto :class:" +"`Cursor` y llamar su método :meth:`~Cursor.execute` para ejecutar comandos " +"SQL:" #: ../Doc/library/sqlite3.rst:51 -msgid "The data you've saved is persistent and is available in subsequent sessions::" -msgstr "Los datos guardados son persistidos y están disponibles en sesiones posteriores::" +msgid "" +"The data you've saved is persistent and is available in subsequent sessions::" +msgstr "" +"Los datos guardados son persistidos y están disponibles en sesiones " +"posteriores::" #: ../Doc/library/sqlite3.rst:57 msgid "" -"Usually your SQL operations will need to use values from Python variables. You shouldn't " -"assemble your query using Python's string operations because doing so is insecure; it " -"makes your program vulnerable to an SQL injection attack (see https://xkcd.com/327/ for " -"humorous example of what can go wrong)." +"Usually your SQL operations will need to use values from Python variables. " +"You shouldn't assemble your query using Python's string operations because " +"doing so is insecure; it makes your program vulnerable to an SQL injection " +"attack (see https://xkcd.com/327/ for humorous example of what can go wrong)." msgstr "" -"Usualmente, las operaciones SQL necesitarán usar valores de variables de Python. No se " -"debe ensamblar la consulta usando operaciones de cadena de Python porque es inseguro; " -"haciendo el programa vulnerable a ataques de inyección SQL (ver este divertido ejemplo de " -"lo que puede salir mal: https://xkcd.com/327/ )" +"Usualmente, las operaciones SQL necesitarán usar valores de variables de " +"Python. No se debe ensamblar la consulta usando operaciones de cadena de " +"Python porque es inseguro; haciendo el programa vulnerable a ataques de " +"inyección SQL (ver este divertido ejemplo de lo que puede salir mal: https://" +"xkcd.com/327/ )" #: ../Doc/library/sqlite3.rst:62 #, python-format msgid "" -"Instead, use the DB-API's parameter substitution. Put ``?`` as a placeholder wherever " -"you want to use a value, and then provide a tuple of values as the second argument to the " -"cursor's :meth:`~Cursor.execute` method. (Other database modules may use a different " -"placeholder, such as ``%s`` or ``:1``.) For example::" +"Instead, use the DB-API's parameter substitution. Put ``?`` as a " +"placeholder wherever you want to use a value, and then provide a tuple of " +"values as the second argument to the cursor's :meth:`~Cursor.execute` " +"method. (Other database modules may use a different placeholder, such as ``" +"%s`` or ``:1``.) For example::" msgstr "" -"En cambio, se usan los parámetros de sustitución DB-API. Colocar ``?`` como un marcador " -"de posición en el lugar donde se usara un valor, y luego se provee una tupla de valores " -"como segundo argumento del método del cursor :meth:`~Cursor.execute` (otros módulos de " -"bases de datos pueden usar un marcado de posición diferente, como ``%s`` o ``:1``). Por " -"ejemplo:" +"En cambio, se usan los parámetros de sustitución DB-API. Colocar ``?`` como " +"un marcador de posición en el lugar donde se usara un valor, y luego se " +"provee una tupla de valores como segundo argumento del método del cursor :" +"meth:`~Cursor.execute` (otros módulos de bases de datos pueden usar un " +"marcado de posición diferente, como ``%s`` o ``:1``). Por ejemplo:" #: ../Doc/library/sqlite3.rst:84 msgid "" -"To retrieve data after executing a SELECT statement, you can either treat the cursor as " -"an :term:`iterator`, call the cursor's :meth:`~Cursor.fetchone` method to retrieve a " -"single matching row, or call :meth:`~Cursor.fetchall` to get a list of the matching rows." +"To retrieve data after executing a SELECT statement, you can either treat " +"the cursor as an :term:`iterator`, call the cursor's :meth:`~Cursor." +"fetchone` method to retrieve a single matching row, or call :meth:`~Cursor." +"fetchall` to get a list of the matching rows." msgstr "" -"Para obtener los datos luego de ejecutar una sentencia SELECT, se puede tratar el cursor " -"como un :term:`iterator`, llamar el método del cursor :meth:`~Cursor.fetchone` para " -"obtener un solo registro, o llamar :meth:`~Cursor.fetchall` para obtener una lista de " -"todos los registros." +"Para obtener los datos luego de ejecutar una sentencia SELECT, se puede " +"tratar el cursor como un :term:`iterator`, llamar el método del cursor :meth:" +"`~Cursor.fetchone` para obtener un solo registro, o llamar :meth:`~Cursor." +"fetchall` para obtener una lista de todos los registros." #: ../Doc/library/sqlite3.rst:89 msgid "This example uses the iterator form::" @@ -126,10 +139,11 @@ msgstr "https://github.com/ghaering/pysqlite" #: ../Doc/library/sqlite3.rst:103 msgid "" -"The pysqlite web page -- sqlite3 is developed externally under the name \"pysqlite\"." -msgstr "" -"La página web *pysqlite* -- sqlite3 se desarrolla externamente bajo el nombre de " +"The pysqlite web page -- sqlite3 is developed externally under the name " "\"pysqlite\"." +msgstr "" +"La página web *pysqlite* -- sqlite3 se desarrolla externamente bajo el " +"nombre de \"pysqlite\"." #: ../Doc/library/sqlite3.rst:108 msgid "https://www.sqlite.org" @@ -137,11 +151,11 @@ msgstr "https://www.sqlite.org" #: ../Doc/library/sqlite3.rst:107 msgid "" -"The SQLite web page; the documentation describes the syntax and the available data types " -"for the supported SQL dialect." +"The SQLite web page; the documentation describes the syntax and the " +"available data types for the supported SQL dialect." msgstr "" -"La página web SQLite; la documentación describe la sintaxis y los tipos de datos " -"disponibles para el lenguaje SQL soportado." +"La página web SQLite; la documentación describe la sintaxis y los tipos de " +"datos disponibles para el lenguaje SQL soportado." #: ../Doc/library/sqlite3.rst:111 msgid "https://www.w3schools.com/sql/" @@ -165,262 +179,292 @@ msgstr "Funciones y constantes del módulo" #: ../Doc/library/sqlite3.rst:125 msgid "" -"The version number of this module, as a string. This is not the version of the SQLite " -"library." +"The version number of this module, as a string. This is not the version of " +"the SQLite library." msgstr "" -"El número de versión de este módulo, como una cadena de caracteres. Este no es la versión " -"de la librería SQLite." +"El número de versión de este módulo, como una cadena de caracteres. Este no " +"es la versión de la librería SQLite." #: ../Doc/library/sqlite3.rst:131 msgid "" -"The version number of this module, as a tuple of integers. This is not the version of the " -"SQLite library." +"The version number of this module, as a tuple of integers. This is not the " +"version of the SQLite library." msgstr "" -"El número de versión de este módulo, como una tupla de enteros. Este no es la versión de " -"la librería SQLite." +"El número de versión de este módulo, como una tupla de enteros. Este no es " +"la versión de la librería SQLite." #: ../Doc/library/sqlite3.rst:137 msgid "The version number of the run-time SQLite library, as a string." msgstr "" -"El número de versión de la librería SQLite en tiempo de ejecución, como una cadena de " -"caracteres." +"El número de versión de la librería SQLite en tiempo de ejecución, como una " +"cadena de caracteres." #: ../Doc/library/sqlite3.rst:142 -msgid "The version number of the run-time SQLite library, as a tuple of integers." +msgid "" +"The version number of the run-time SQLite library, as a tuple of integers." msgstr "" -"El número de versión de la librería SQLite en tiempo de ejecución, como una tupla de " -"enteros." +"El número de versión de la librería SQLite en tiempo de ejecución, como una " +"tupla de enteros." #: ../Doc/library/sqlite3.rst:147 ../Doc/library/sqlite3.rst:160 msgid "" -"This constant is meant to be used with the *detect_types* parameter of the :func:" -"`connect` function." +"This constant is meant to be used with the *detect_types* parameter of the :" +"func:`connect` function." msgstr "" -"Esta constante se usa con el parámetro *detect_types* de la función :func:`connect`." +"Esta constante se usa con el parámetro *detect_types* de la función :func:" +"`connect`." #: ../Doc/library/sqlite3.rst:150 msgid "" -"Setting it makes the :mod:`sqlite3` module parse the declared type for each column it " -"returns. It will parse out the first word of the declared type, i. e. for \"integer " -"primary key\", it will parse out \"integer\", or for \"number(10)\" it will parse out " -"\"number\". Then for that column, it will look into the converters dictionary and use the " -"converter function registered for that type there." +"Setting it makes the :mod:`sqlite3` module parse the declared type for each " +"column it returns. It will parse out the first word of the declared type, " +"i. e. for \"integer primary key\", it will parse out \"integer\", or for " +"\"number(10)\" it will parse out \"number\". Then for that column, it will " +"look into the converters dictionary and use the converter function " +"registered for that type there." msgstr "" -"Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado para cada " -"columna que devuelve. Este convertirá la primera palabra del tipo declarado, i. e. para *" -"\"integer primary key\"*, será convertido a *\"integer\"*, o para \"*number(10)*\" será " -"convertido a \"*number*\". Entonces para esa columna, revisará el diccionario de " -"conversiones y usará la función de conversión registrada para ese tipo." +"Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado " +"para cada columna que devuelve. Este convertirá la primera palabra del tipo " +"declarado, i. e. para *\"integer primary key\"*, será convertido a *\"integer" +"\"*, o para \"*number(10)*\" será convertido a \"*number*\". Entonces para " +"esa columna, revisará el diccionario de conversiones y usará la función de " +"conversión registrada para ese tipo." #: ../Doc/library/sqlite3.rst:163 msgid "" -"Setting this makes the SQLite interface parse the column name for each column it " -"returns. It will look for a string formed [mytype] in there, and then decide that " -"'mytype' is the type of the column. It will try to find an entry of 'mytype' in the " -"converters dictionary and then use the converter function found there to return the " -"value. The column name found in :attr:`Cursor.description` does not include the type, i. " -"e. if you use something like ``'as \"Expiration date [datetime]\"'`` in your SQL, then we " -"will parse out everything until the first ``'['`` for the column name and strip the " +"Setting this makes the SQLite interface parse the column name for each " +"column it returns. It will look for a string formed [mytype] in there, and " +"then decide that 'mytype' is the type of the column. It will try to find an " +"entry of 'mytype' in the converters dictionary and then use the converter " +"function found there to return the value. The column name found in :attr:" +"`Cursor.description` does not include the type, i. e. if you use something " +"like ``'as \"Expiration date [datetime]\"'`` in your SQL, then we will parse " +"out everything until the first ``'['`` for the column name and strip the " "preceeding space: the column name would simply be \"Expiration date\"." msgstr "" -"Configurar esto hace que la interfaz de SQLite analice el nombre para cada columna que " -"devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' es el tipo de la " -"columna. Tratará de encontrar una entrada 'mytype' en el diccionario de conversiones y " -"luego usar la función de conversión encontrada allí y devolver el valor. El nombre de la " -"columna encontrada en :attr:`Cursor.description` no incluye el tipo, en otras palabras, " -"si se usa algo como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces analizará " -"todo lo demás hasta el primer ``'['`` para el nombre de la columna y eliminará el espacio " -"anterior: el nombre de la columna sería: \"Expiration date\"." +"Configurar esto hace que la interfaz de SQLite analice el nombre para cada " +"columna que devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' " +"es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " +"diccionario de conversiones y luego usar la función de conversión encontrada " +"allí y devolver el valor. El nombre de la columna encontrada en :attr:" +"`Cursor.description` no incluye el tipo, en otras palabras, si se usa algo " +"como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces analizará " +"todo lo demás hasta el primer ``'['`` para el nombre de la columna y " +"eliminará el espacio anterior: el nombre de la columna sería: \"Expiration " +"date\"." #: ../Doc/library/sqlite3.rst:176 msgid "" -"Opens a connection to the SQLite database file *database*. By default returns a :class:" -"`Connection` object, unless a custom *factory* is given." +"Opens a connection to the SQLite database file *database*. By default " +"returns a :class:`Connection` object, unless a custom *factory* is given." msgstr "" -"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto retorna un " -"objeto :class:`Connection`, a menos que se indique un *factory* personalizado." +"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto " +"retorna un objeto :class:`Connection`, a menos que se indique un *factory* " +"personalizado." #: ../Doc/library/sqlite3.rst:179 msgid "" -"*database* is a :term:`path-like object` giving the pathname (absolute or relative to the " -"current working directory) of the database file to be opened. You can use ``\":memory:" -"\"`` to open a database connection to a database that resides in RAM instead of on disk." +"*database* is a :term:`path-like object` giving the pathname (absolute or " +"relative to the current working directory) of the database file to be " +"opened. You can use ``\":memory:\"`` to open a database connection to a " +"database that resides in RAM instead of on disk." msgstr "" -"*database* es un :term:`path-like object` indicando el nombre de ruta (absoluta o " -"relativa al directorio de trabajo actual) del archivo de base de datos abierto. Se puede " -"usar ``\":memory:\"`` para abrir una conexión de base de datos a una base de datos que " -"reside en memoria RAM en lugar que disco." +"*database* es un :term:`path-like object` indicando el nombre de ruta " +"(absoluta o relativa al directorio de trabajo actual) del archivo de base de " +"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión de " +"base de datos a una base de datos que reside en memoria RAM en lugar que " +"disco." #: ../Doc/library/sqlite3.rst:184 msgid "" -"When a database is accessed by multiple connections, and one of the processes modifies " -"the database, the SQLite database is locked until that transaction is committed. The " -"*timeout* parameter specifies how long the connection should wait for the lock to go away " -"until raising an exception. The default for the timeout parameter is 5.0 (five seconds)." +"When a database is accessed by multiple connections, and one of the " +"processes modifies the database, the SQLite database is locked until that " +"transaction is committed. The *timeout* parameter specifies how long the " +"connection should wait for the lock to go away until raising an exception. " +"The default for the timeout parameter is 5.0 (five seconds)." msgstr "" -"Cuando una base de datos es accedida por múltiples conexiones, y uno de los procesos " -"modifica la base de datos, la base de datos SQLite se bloquea hasta que la transacción se " -"confirme. El parámetro *timeout* especifica que tanto debe esperar la conexión para que " -"el bloqueo desaparezca antes de lanzar una excepción. Por defecto el parámetro *timeout* " -"es de 5.0 (cinco segundos)." +"Cuando una base de datos es accedida por múltiples conexiones, y uno de los " +"procesos modifica la base de datos, la base de datos SQLite se bloquea hasta " +"que la transacción se confirme. El parámetro *timeout* especifica que tanto " +"debe esperar la conexión para que el bloqueo desaparezca antes de lanzar una " +"excepción. Por defecto el parámetro *timeout* es de 5.0 (cinco segundos)." #: ../Doc/library/sqlite3.rst:190 msgid "" -"For the *isolation_level* parameter, please see the :attr:`~Connection.isolation_level` " -"property of :class:`Connection` objects." +"For the *isolation_level* parameter, please see the :attr:`~Connection." +"isolation_level` property of :class:`Connection` objects." msgstr "" -"Para el parámetro *isolation_level*, por favor ver la propiedad :attr:`~Connection." -"isolation_level` del objeto :class:`Connection`." +"Para el parámetro *isolation_level*, por favor ver la propiedad :attr:" +"`~Connection.isolation_level` del objeto :class:`Connection`." #: ../Doc/library/sqlite3.rst:193 msgid "" -"SQLite natively supports only the types TEXT, INTEGER, REAL, BLOB and NULL. If you want " -"to use other types you must add support for them yourself. The *detect_types* parameter " -"and the using custom **converters** registered with the module-level :func:" -"`register_converter` function allow you to easily do that." +"SQLite natively supports only the types TEXT, INTEGER, REAL, BLOB and NULL. " +"If you want to use other types you must add support for them yourself. The " +"*detect_types* parameter and the using custom **converters** registered with " +"the module-level :func:`register_converter` function allow you to easily do " +"that." msgstr "" -"De forma nativa SQLite soporta solo los tipos *TEXT*, *INTEGER*,*REAL*,*BLOB* y *NULL*. " -"Si se quiere usar otros tipos, debe soportarlos usted mismo. El parámetro *detect_types* " -"y el uso de **converters** personalizados registrados con la función a nivel del módulo :" -"func:`register_converter` permite hacerlo fácilmente." +"De forma nativa SQLite soporta solo los tipos *TEXT*, *INTEGER*,*REAL*," +"*BLOB* y *NULL*. Si se quiere usar otros tipos, debe soportarlos usted " +"mismo. El parámetro *detect_types* y el uso de **converters** personalizados " +"registrados con la función a nivel del módulo :func:`register_converter` " +"permite hacerlo fácilmente." #: ../Doc/library/sqlite3.rst:198 msgid "" -"*detect_types* defaults to 0 (i. e. off, no type detection), you can set it to any " -"combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` to turn type " -"detection on." +"*detect_types* defaults to 0 (i. e. off, no type detection), you can set it " +"to any combination of :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES` " +"to turn type detection on." msgstr "" -"*detect_types* por defecto es 0 (por ejemplo *off*, no detección de tipo), se puede " -"configurar a cualquier combinación de :const:`PARSE_DECLTYPES` y :const:`PARSE_COLNAMES` " -"para encender la detección." +"*detect_types* por defecto es 0 (por ejemplo *off*, no detección de tipo), " +"se puede configurar a cualquier combinación de :const:`PARSE_DECLTYPES` y :" +"const:`PARSE_COLNAMES` para encender la detección." #: ../Doc/library/sqlite3.rst:202 msgid "" -"By default, *check_same_thread* is :const:`True` and only the creating thread may use the " -"connection. If set :const:`False`, the returned connection may be shared across multiple " -"threads. When using multiple threads with the same connection writing operations should " -"be serialized by the user to avoid data corruption." +"By default, *check_same_thread* is :const:`True` and only the creating " +"thread may use the connection. If set :const:`False`, the returned " +"connection may be shared across multiple threads. When using multiple " +"threads with the same connection writing operations should be serialized by " +"the user to avoid data corruption." msgstr "" -"Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo creado puede " -"utilizar la conexión. Si se configura :const:`False`, la conexión retornada podrá ser " -"compartida con múltiples hilos. Cuando se utiliza múltiples hilos con la misma conexión, " -"las operaciones de escritura deberán ser serializadas por el usuario para evitar " -"corrupción de datos." +"Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo " +"creado puede utilizar la conexión. Si se configura :const:`False`, la " +"conexión retornada podrá ser compartida con múltiples hilos. Cuando se " +"utiliza múltiples hilos con la misma conexión, las operaciones de escritura " +"deberán ser serializadas por el usuario para evitar corrupción de datos." #: ../Doc/library/sqlite3.rst:207 msgid "" -"By default, the :mod:`sqlite3` module uses its :class:`Connection` class for the connect " -"call. You can, however, subclass the :class:`Connection` class and make :func:`connect` " -"use your class instead by providing your class for the *factory* parameter." +"By default, the :mod:`sqlite3` module uses its :class:`Connection` class for " +"the connect call. You can, however, subclass the :class:`Connection` class " +"and make :func:`connect` use your class instead by providing your class for " +"the *factory* parameter." msgstr "" -"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` para la " -"llamada de conexión. Sin embargo se puede crear una subclase de :class:`Connection` y " -"hacer que :func:`connect` use su clase en lugar de proveer su clase en el parámetro " -"*factory*." +"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:" +"`Connection` para la llamada de conexión. Sin embargo se puede crear una " +"subclase de :class:`Connection` y hacer que :func:`connect` use su clase en " +"lugar de proveer su clase en el parámetro *factory*." #: ../Doc/library/sqlite3.rst:212 msgid "Consult the section :ref:`sqlite3-types` of this manual for details." -msgstr "Consulte la sección :ref:`sqlite3-types` de este manual para más detalles." +msgstr "" +"Consulte la sección :ref:`sqlite3-types` de este manual para más detalles." #: ../Doc/library/sqlite3.rst:214 msgid "" -"The :mod:`sqlite3` module internally uses a statement cache to avoid SQL parsing " -"overhead. If you want to explicitly set the number of statements that are cached for the " -"connection, you can set the *cached_statements* parameter. The currently implemented " -"default is to cache 100 statements." +"The :mod:`sqlite3` module internally uses a statement cache to avoid SQL " +"parsing overhead. If you want to explicitly set the number of statements " +"that are cached for the connection, you can set the *cached_statements* " +"parameter. The currently implemented default is to cache 100 statements." msgstr "" -"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un análisis SQL " -"costoso. Si se desea especificar el número de sentencias que estarán en memoria caché " -"para la conexión, se puede configurar el parámetro *cached_statements*. Por defecto están " -"configurado para 100 sentencias en memoria caché." +"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un " +"análisis SQL costoso. Si se desea especificar el número de sentencias que " +"estarán en memoria caché para la conexión, se puede configurar el parámetro " +"*cached_statements*. Por defecto están configurado para 100 sentencias en " +"memoria caché." #: ../Doc/library/sqlite3.rst:219 msgid "" -"If *uri* is true, *database* is interpreted as a URI. This allows you to specify options. " -"For example, to open a database in read-only mode you can use::" +"If *uri* is true, *database* is interpreted as a URI. This allows you to " +"specify options. For example, to open a database in read-only mode you can " +"use::" msgstr "" -"Si *uri* es *True*, la *database* se interpreta como una *URI*. Esto permite especificar " -"opciones. Por ejemplo, para abrir la base de datos en modo solo lectura puedes usar::" +"Si *uri* es *True*, la *database* se interpreta como una *URI*. Esto permite " +"especificar opciones. Por ejemplo, para abrir la base de datos en modo solo " +"lectura puedes usar::" #: ../Doc/library/sqlite3.rst:225 msgid "" -"More information about this feature, including a list of recognized options, can be found " -"in the `SQLite URI documentation `_." +"More information about this feature, including a list of recognized options, " +"can be found in the `SQLite URI documentation `_." msgstr "" -"Más información sobre esta característica, incluida una lista de opciones organizadas, se " -"encuentran en `SQLite URI documentation `_." +"Más información sobre esta característica, incluida una lista de opciones " +"organizadas, se encuentran en `SQLite URI documentation `_." #: ../Doc/library/sqlite3.rst:229 msgid "" -"Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument ``database``." -msgstr "" -"Lanza un :ref:`evento de auditoría ` ``sqlite3.connect`` con argumento " +"Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " "``database``." +msgstr "" +"Lanza un :ref:`evento de auditoría ` ``sqlite3.connect`` con " +"argumento ``database``." #: ../Doc/library/sqlite3.rst:230 msgid "Added the *uri* parameter." msgstr "Agregado el parámetro *uri*." #: ../Doc/library/sqlite3.rst:233 -msgid "*database* can now also be a :term:`path-like object`, not only a string." +msgid "" +"*database* can now also be a :term:`path-like object`, not only a string." msgstr "" -"*database* ahora también puede ser un :term:`path-like object`, no solo una cadena de " -"caracteres." +"*database* ahora también puede ser un :term:`path-like object`, no solo una " +"cadena de caracteres." #: ../Doc/library/sqlite3.rst:239 msgid "" -"Registers a callable to convert a bytestring from the database into a custom Python type. " -"The callable will be invoked for all database values that are of the type *typename*. " -"Confer the parameter *detect_types* of the :func:`connect` function for how the type " -"detection works. Note that *typename* and the name of the type in your query are matched " -"in case-insensitive manner." -msgstr "" -"Registra un invocable para convertir un *bytestring* de la base de datos en un tipo " -"Python personalizado. El invocable será invocado por todos los valores de la base de " -"datos que son del tipo *typename*. Conceder el parámetro *detect_types* de la función :" -"func:`connect` para el funcionamiento de la detección de tipo. Se debe notar que " -"*typename* y el nombre del tipo en la consulta son comparados insensiblemente a " -"mayúsculas y minúsculas." +"Registers a callable to convert a bytestring from the database into a custom " +"Python type. The callable will be invoked for all database values that are " +"of the type *typename*. Confer the parameter *detect_types* of the :func:" +"`connect` function for how the type detection works. Note that *typename* " +"and the name of the type in your query are matched in case-insensitive " +"manner." +msgstr "" +"Registra un invocable para convertir un *bytestring* de la base de datos en " +"un tipo Python personalizado. El invocable será invocado por todos los " +"valores de la base de datos que son del tipo *typename*. Conceder el " +"parámetro *detect_types* de la función :func:`connect` para el " +"funcionamiento de la detección de tipo. Se debe notar que *typename* y el " +"nombre del tipo en la consulta son comparados insensiblemente a mayúsculas y " +"minúsculas." #: ../Doc/library/sqlite3.rst:248 msgid "" -"Registers a callable to convert the custom Python type *type* into one of SQLite's " -"supported types. The callable *callable* accepts as single parameter the Python value, " -"and must return a value of the following types: int, float, str or bytes." +"Registers a callable to convert the custom Python type *type* into one of " +"SQLite's supported types. The callable *callable* accepts as single " +"parameter the Python value, and must return a value of the following types: " +"int, float, str or bytes." msgstr "" -"Registra un invocable para convertir el tipo Python personalizado *type* a uno de los " -"tipos soportados por SQLite's. El invocable *callable* acepta un único parámetro de valor " -"Python, y debe retornar un valor de los siguientes tipos: *int*, *float*, *str* or " -"*bytes*." +"Registra un invocable para convertir el tipo Python personalizado *type* a " +"uno de los tipos soportados por SQLite's. El invocable *callable* acepta un " +"único parámetro de valor Python, y debe retornar un valor de los siguientes " +"tipos: *int*, *float*, *str* or *bytes*." #: ../Doc/library/sqlite3.rst:256 msgid "" -"Returns :const:`True` if the string *sql* contains one or more complete SQL statements " -"terminated by semicolons. It does not verify that the SQL is syntactically correct, only " -"that there are no unclosed string literals and the statement is terminated by a semicolon." +"Returns :const:`True` if the string *sql* contains one or more complete SQL " +"statements terminated by semicolons. It does not verify that the SQL is " +"syntactically correct, only that there are no unclosed string literals and " +"the statement is terminated by a semicolon." msgstr "" -"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL completas " -"terminadas con punto y coma. No se verifica que la sentencia SQL sea sintácticamente " -"correcta, solo que no existan literales de cadenas no cerradas y que la sentencia termine " -"por un punto y coma." +"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL " +"completas terminadas con punto y coma. No se verifica que la sentencia SQL " +"sea sintácticamente correcta, solo que no existan literales de cadenas no " +"cerradas y que la sentencia termine por un punto y coma." #: ../Doc/library/sqlite3.rst:261 -msgid "This can be used to build a shell for SQLite, as in the following example:" +msgid "" +"This can be used to build a shell for SQLite, as in the following example:" msgstr "" -"Esto puede ser usado para construir un *shell* para SQLite, como en el siguiente ejemplo:" +"Esto puede ser usado para construir un *shell* para SQLite, como en el " +"siguiente ejemplo:" #: ../Doc/library/sqlite3.rst:269 msgid "" -"By default you will not get any tracebacks in user-defined functions, aggregates, " -"converters, authorizer callbacks etc. If you want to debug them, you can call this " -"function with *flag* set to ``True``. Afterwards, you will get tracebacks from callbacks " -"on ``sys.stderr``. Use :const:`False` to disable the feature again." +"By default you will not get any tracebacks in user-defined functions, " +"aggregates, converters, authorizer callbacks etc. If you want to debug them, " +"you can call this function with *flag* set to ``True``. Afterwards, you will " +"get tracebacks from callbacks on ``sys.stderr``. Use :const:`False` to " +"disable the feature again." msgstr "" -"Por defecto no se obtendrá ningún *tracebacks* en funciones definidas por el usuario, " -"agregaciones, *converters*, autorizador de *callbacks* etc. si se quiere depurarlas, se " -"puede llamar esta función con *flag* configurado a ``True``. Después se obtendrán " -"*tracebacks* de los *callbacks* en ``sys.stderr``. Usar :const:`False` para deshabilitar " -"la característica de nuevo." +"Por defecto no se obtendrá ningún *tracebacks* en funciones definidas por el " +"usuario, agregaciones, *converters*, autorizador de *callbacks* etc. si se " +"quiere depurarlas, se puede llamar esta función con *flag* configurado a " +"``True``. Después se obtendrán *tracebacks* de los *callbacks* en ``sys." +"stderr``. Usar :const:`False` para deshabilitar la característica de nuevo." #: ../Doc/library/sqlite3.rst:279 msgid "Connection Objects" @@ -428,119 +472,129 @@ msgstr "Objetos de conexión" #: ../Doc/library/sqlite3.rst:283 msgid "A SQLite database connection has the following attributes and methods:" -msgstr "Una conexión a base de datos SQLite tiene los siguientes atributos y métodos:" +msgstr "" +"Una conexión a base de datos SQLite tiene los siguientes atributos y métodos:" #: ../Doc/library/sqlite3.rst:287 msgid "" -"Get or set the current default isolation level. :const:`None` for autocommit mode or one " -"of \"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\". See section :ref:`sqlite3-controlling-" -"transactions` for a more detailed explanation." +"Get or set the current default isolation level. :const:`None` for autocommit " +"mode or one of \"DEFERRED\", \"IMMEDIATE\" or \"EXCLUSIVE\". See section :" +"ref:`sqlite3-controlling-transactions` for a more detailed explanation." msgstr "" -"Obtener o configurar el actual nivel de insolación. :const:`None` para modo *autocommit* " -"o uno de \"DEFERRED\", \"IMMEDIATE\" o \"EXCLUSIVO\". Ver sección :ref:`sqlite3-" -"controlling-transactions` para una explicación detallada." +"Obtener o configurar el actual nivel de insolación. :const:`None` para modo " +"*autocommit* o uno de \"DEFERRED\", \"IMMEDIATE\" o \"EXCLUSIVO\". Ver " +"sección :ref:`sqlite3-controlling-transactions` para una explicación " +"detallada." #: ../Doc/library/sqlite3.rst:293 msgid "" -":const:`True` if a transaction is active (there are uncommitted changes), :const:`False` " -"otherwise. Read-only attribute." +":const:`True` if a transaction is active (there are uncommitted changes), :" +"const:`False` otherwise. Read-only attribute." msgstr "" -":const:`True` si una transacción está activa (existen cambios *uncommitted*), :const:" -"`False` en sentido contrario. Atributo de solo lectura." +":const:`True` si una transacción está activa (existen cambios " +"*uncommitted*), :const:`False` en sentido contrario. Atributo de solo " +"lectura." #: ../Doc/library/sqlite3.rst:300 msgid "" -"The cursor method accepts a single optional parameter *factory*. If supplied, this must " -"be a callable returning an instance of :class:`Cursor` or its subclasses." +"The cursor method accepts a single optional parameter *factory*. If " +"supplied, this must be a callable returning an instance of :class:`Cursor` " +"or its subclasses." msgstr "" -"El método cursor acepta un único parámetro opcional *factory*. Si es agregado, este debe " -"ser un invocable que retorna una instancia de :class:`Cursor` o sus subclases." +"El método cursor acepta un único parámetro opcional *factory*. Si es " +"agregado, este debe ser un invocable que retorna una instancia de :class:" +"`Cursor` o sus subclases." #: ../Doc/library/sqlite3.rst:306 msgid "" -"This method commits the current transaction. If you don't call this method, anything you " -"did since the last call to ``commit()`` is not visible from other database connections. " -"If you wonder why you don't see the data you've written to the database, please check you " -"didn't forget to call this method." +"This method commits the current transaction. If you don't call this method, " +"anything you did since the last call to ``commit()`` is not visible from " +"other database connections. If you wonder why you don't see the data you've " +"written to the database, please check you didn't forget to call this method." msgstr "" -"Este método *commits* la actual transacción. Si no se llama este método, cualquier cosa " -"hecha desde la última llamada de ``commit()`` no es visible para otras conexiones de " -"bases de datos. Si se pregunta el porqué no se ven los datos que escribiste, por favor " -"verifica que no olvidaste llamar este método." +"Este método *commits* la actual transacción. Si no se llama este método, " +"cualquier cosa hecha desde la última llamada de ``commit()`` no es visible " +"para otras conexiones de bases de datos. Si se pregunta el porqué no se ven " +"los datos que escribiste, por favor verifica que no olvidaste llamar este " +"método." #: ../Doc/library/sqlite3.rst:313 msgid "" -"This method rolls back any changes to the database since the last call to :meth:`commit`." -msgstr "" -"Este método retrocede cualquier cambio en la base de datos desde la llamada del último :" +"This method rolls back any changes to the database since the last call to :" "meth:`commit`." +msgstr "" +"Este método retrocede cualquier cambio en la base de datos desde la llamada " +"del último :meth:`commit`." #: ../Doc/library/sqlite3.rst:318 msgid "" -"This closes the database connection. Note that this does not automatically call :meth:" -"`commit`. If you just close your database connection without calling :meth:`commit` " -"first, your changes will be lost!" +"This closes the database connection. Note that this does not automatically " +"call :meth:`commit`. If you just close your database connection without " +"calling :meth:`commit` first, your changes will be lost!" msgstr "" -"Este método cierra la conexión a base de datos. Nótese que este no llama automáticamente :" -"meth:`commit`. Si se cierra la conexión a la base de datos sin llamar primero :meth:" -"`commit`, los cambios se perderán!" +"Este método cierra la conexión a base de datos. Nótese que este no llama " +"automáticamente :meth:`commit`. Si se cierra la conexión a la base de datos " +"sin llamar primero :meth:`commit`, los cambios se perderán!" #: ../Doc/library/sqlite3.rst:324 msgid "" -"This is a nonstandard shortcut that creates a cursor object by calling the :meth:" -"`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.execute` method with the " -"*parameters* given, and returns the cursor." +"This is a nonstandard shortcut that creates a cursor object by calling the :" +"meth:`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.execute` " +"method with the *parameters* given, and returns the cursor." msgstr "" -"Este es un atajo no estándar que crea un objeto cursor llamando el método :meth:" -"`~Connection.cursor`, llama su método :meth:`~Cursor.execute` con los *parameters* dados, " -"y retorna el cursor." +"Este es un atajo no estándar que crea un objeto cursor llamando el método :" +"meth:`~Connection.cursor`, llama su método :meth:`~Cursor.execute` con los " +"*parameters* dados, y retorna el cursor." #: ../Doc/library/sqlite3.rst:331 msgid "" -"This is a nonstandard shortcut that creates a cursor object by calling the :meth:" -"`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.executemany` method with " -"the *parameters* given, and returns the cursor." +"This is a nonstandard shortcut that creates a cursor object by calling the :" +"meth:`~Connection.cursor` method, calls the cursor's :meth:`~Cursor." +"executemany` method with the *parameters* given, and returns the cursor." msgstr "" -"Este es un atajo no estándar que crea un objeto cursor llamando el método :meth:" -"`~Connection.cursor`, llama su método :meth:`~Cursor.executemany` con los *parameters* " -"dados, y retorna el cursor." +"Este es un atajo no estándar que crea un objeto cursor llamando el método :" +"meth:`~Connection.cursor`, llama su método :meth:`~Cursor.executemany` con " +"los *parameters* dados, y retorna el cursor." #: ../Doc/library/sqlite3.rst:338 msgid "" -"This is a nonstandard shortcut that creates a cursor object by calling the :meth:" -"`~Connection.cursor` method, calls the cursor's :meth:`~Cursor.executescript` method with " -"the given *sql_script*, and returns the cursor." +"This is a nonstandard shortcut that creates a cursor object by calling the :" +"meth:`~Connection.cursor` method, calls the cursor's :meth:`~Cursor." +"executescript` method with the given *sql_script*, and returns the cursor." msgstr "" -"Este es un atajo no estándar que crea un objeto cursor llamando el método :meth:" -"`~Connection.cursor`, llama su método :meth:`~Cursor.executescript` con el *SQL_script*, " -"y retorna el cursor." +"Este es un atajo no estándar que crea un objeto cursor llamando el método :" +"meth:`~Connection.cursor`, llama su método :meth:`~Cursor.executescript` con " +"el *SQL_script*, y retorna el cursor." #: ../Doc/library/sqlite3.rst:345 msgid "" -"Creates a user-defined function that you can later use from within SQL statements under " -"the function name *name*. *num_params* is the number of parameters the function accepts " -"(if *num_params* is -1, the function may take any number of arguments), and *func* is a " -"Python callable that is called as the SQL function. If *deterministic* is true, the " -"created function is marked as `deterministic `_, " -"which allows SQLite to perform additional optimizations. This flag is supported by SQLite " -"3.8.3 or higher, :exc:`NotSupportedError` will be raised if used with older versions." -msgstr "" -"Crea un función definida de usuario que se puede usar después desde declaraciones SQL con " -"el nombre de función *name*. *num_params* es el número de parámetros que la función " -"acepta (si *num_params* is -1, la función puede tomar cualquier número de argumentos), y " -"*func* es un invocable de Python que es llamado como la función SQL. Si *deterministic* " -"es verdadero, la función creada es marcada como `deterministic `_, lo cual permite a SQLite hacer optimizaciones adicionales. Esta " -"marca es soportada por SQLite 3.8.3 o superior, será lanzado :exc:`NotSupportedError` si " -"se usa con versiones antiguas." +"Creates a user-defined function that you can later use from within SQL " +"statements under the function name *name*. *num_params* is the number of " +"parameters the function accepts (if *num_params* is -1, the function may " +"take any number of arguments), and *func* is a Python callable that is " +"called as the SQL function. If *deterministic* is true, the created function " +"is marked as `deterministic `_, which " +"allows SQLite to perform additional optimizations. This flag is supported by " +"SQLite 3.8.3 or higher, :exc:`NotSupportedError` will be raised if used with " +"older versions." +msgstr "" +"Crea un función definida de usuario que se puede usar después desde " +"declaraciones SQL con el nombre de función *name*. *num_params* es el número " +"de parámetros que la función acepta (si *num_params* is -1, la función puede " +"tomar cualquier número de argumentos), y *func* es un invocable de Python " +"que es llamado como la función SQL. Si *deterministic* es verdadero, la " +"función creada es marcada como `deterministic `_, lo cual permite a SQLite hacer optimizaciones " +"adicionales. Esta marca es soportada por SQLite 3.8.3 o superior, será " +"lanzado :exc:`NotSupportedError` si se usa con versiones antiguas." #: ../Doc/library/sqlite3.rst:355 msgid "" -"The function can return any of the types supported by SQLite: bytes, str, int, float and " -"``None``." +"The function can return any of the types supported by SQLite: bytes, str, " +"int, float and ``None``." msgstr "" -"La función puede retornar cualquier tipo soportado por SQLite: bytes, str, int, float y " -"``None``." +"La función puede retornar cualquier tipo soportado por SQLite: bytes, str, " +"int, float y ``None``." #: ../Doc/library/sqlite3.rst:358 msgid "The *deterministic* parameter was added." @@ -557,229 +611,254 @@ msgstr "Crea una función agregada definida por el usuario." #: ../Doc/library/sqlite3.rst:370 msgid "" -"The aggregate class must implement a ``step`` method, which accepts the number of " -"parameters *num_params* (if *num_params* is -1, the function may take any number of " -"arguments), and a ``finalize`` method which will return the final result of the aggregate." +"The aggregate class must implement a ``step`` method, which accepts the " +"number of parameters *num_params* (if *num_params* is -1, the function may " +"take any number of arguments), and a ``finalize`` method which will return " +"the final result of the aggregate." msgstr "" -"La clase agregada debe implementar un método ``step``, el cual acepta el número de " -"parámetros *num_params* (si *num_params* es -1, la función puede tomar cualquier número " -"de argumentos), y un método ``finalize`` el cual retornará el resultado final del " -"agregado." +"La clase agregada debe implementar un método ``step``, el cual acepta el " +"número de parámetros *num_params* (si *num_params* es -1, la función puede " +"tomar cualquier número de argumentos), y un método ``finalize`` el cual " +"retornará el resultado final del agregado." #: ../Doc/library/sqlite3.rst:375 msgid "" -"The ``finalize`` method can return any of the types supported by SQLite: bytes, str, int, " -"float and ``None``." -msgstr "" -"El método ``finalize`` puede retornar cualquiera de los tipos soportados por SQLite: " +"The ``finalize`` method can return any of the types supported by SQLite: " "bytes, str, int, float and ``None``." +msgstr "" +"El método ``finalize`` puede retornar cualquiera de los tipos soportados por " +"SQLite: bytes, str, int, float and ``None``." #: ../Doc/library/sqlite3.rst:385 msgid "" -"Creates a collation with the specified *name* and *callable*. The callable will be passed " -"two string arguments. It should return -1 if the first is ordered lower than the second, " -"0 if they are ordered equal and 1 if the first is ordered higher than the second. Note " -"that this controls sorting (ORDER BY in SQL) so your comparisons don't affect other SQL " -"operations." +"Creates a collation with the specified *name* and *callable*. The callable " +"will be passed two string arguments. It should return -1 if the first is " +"ordered lower than the second, 0 if they are ordered equal and 1 if the " +"first is ordered higher than the second. Note that this controls sorting " +"(ORDER BY in SQL) so your comparisons don't affect other SQL operations." msgstr "" -"Crea una *collation* con el *name* y *callable* especificado. El invocable será pasado " -"con dos cadenas de texto como argumentos. Se retornará -1 si el primero esta ordenado " -"menor que el segundo, 0 si están ordenados igual y 1 si el primero está ordenado mayor " -"que el segundo. Nótese que esto controla la ordenación (ORDER BY en SQL) por lo tanto sus " -"comparaciones no afectan otras comparaciones SQL." +"Crea una *collation* con el *name* y *callable* especificado. El invocable " +"será pasado con dos cadenas de texto como argumentos. Se retornará -1 si el " +"primero esta ordenado menor que el segundo, 0 si están ordenados igual y 1 " +"si el primero está ordenado mayor que el segundo. Nótese que esto controla " +"la ordenación (ORDER BY en SQL) por lo tanto sus comparaciones no afectan " +"otras comparaciones SQL." #: ../Doc/library/sqlite3.rst:391 msgid "" -"Note that the callable will get its parameters as Python bytestrings, which will normally " -"be encoded in UTF-8." +"Note that the callable will get its parameters as Python bytestrings, which " +"will normally be encoded in UTF-8." msgstr "" -"Note que el invocable obtiene sus parámetros como Python bytestrings, lo cual normalmente " -"será codificado en UTF-8." +"Note que el invocable obtiene sus parámetros como Python bytestrings, lo " +"cual normalmente será codificado en UTF-8." #: ../Doc/library/sqlite3.rst:394 -msgid "The following example shows a custom collation that sorts \"the wrong way\":" +msgid "" +"The following example shows a custom collation that sorts \"the wrong way\":" msgstr "" -"El siguiente ejemplo muestra una *collation* personalizada que ordena \"La forma " -"incorrecta\":" +"El siguiente ejemplo muestra una *collation* personalizada que ordena \"La " +"forma incorrecta\":" #: ../Doc/library/sqlite3.rst:398 -msgid "To remove a collation, call ``create_collation`` with ``None`` as callable::" +msgid "" +"To remove a collation, call ``create_collation`` with ``None`` as callable::" msgstr "" -"Para remover una *collation*, llama ``create_collation`` con ``None`` como invocable::" +"Para remover una *collation*, llama ``create_collation`` con ``None`` como " +"invocable::" #: ../Doc/library/sqlite3.rst:405 msgid "" -"You can call this method from a different thread to abort any queries that might be " -"executing on the connection. The query will then abort and the caller will get an " -"exception." +"You can call this method from a different thread to abort any queries that " +"might be executing on the connection. The query will then abort and the " +"caller will get an exception." msgstr "" -"Se puede llamar este método desde un hilo diferente para abortar cualquier consulta que " -"pueda estar ejecutándose en la conexión. La consulta será abortada y quien realiza la " -"llamada obtendrá una excepción." +"Se puede llamar este método desde un hilo diferente para abortar cualquier " +"consulta que pueda estar ejecutándose en la conexión. La consulta será " +"abortada y quien realiza la llamada obtendrá una excepción." #: ../Doc/library/sqlite3.rst:412 msgid "" -"This routine registers a callback. The callback is invoked for each attempt to access a " -"column of a table in the database. The callback should return :const:`SQLITE_OK` if " -"access is allowed, :const:`SQLITE_DENY` if the entire SQL statement should be aborted " -"with an error and :const:`SQLITE_IGNORE` if the column should be treated as a NULL value. " -"These constants are available in the :mod:`sqlite3` module." +"This routine registers a callback. The callback is invoked for each attempt " +"to access a column of a table in the database. The callback should return :" +"const:`SQLITE_OK` if access is allowed, :const:`SQLITE_DENY` if the entire " +"SQL statement should be aborted with an error and :const:`SQLITE_IGNORE` if " +"the column should be treated as a NULL value. These constants are available " +"in the :mod:`sqlite3` module." msgstr "" -"Esta rutina registra un *callback*. El *callback* es invocado para cada intento de acceso " -"a un columna de una tabla en la base de datos. El *callback* deberá retornar :const:" -"`SQLITE_OK` si el acceso esta permitido, :const:`SQLITE_DENY` si la completa declaración " -"SQL deberá ser abortada con un error y :const:`SQLITE_IGNORE` si la columna deberá ser " -"tratada como un valor NULL. Estas constantes están disponibles en el módulo :mod:" -"`sqlite3`." +"Esta rutina registra un *callback*. El *callback* es invocado para cada " +"intento de acceso a un columna de una tabla en la base de datos. El " +"*callback* deberá retornar :const:`SQLITE_OK` si el acceso esta permitido, :" +"const:`SQLITE_DENY` si la completa declaración SQL deberá ser abortada con " +"un error y :const:`SQLITE_IGNORE` si la columna deberá ser tratada como un " +"valor NULL. Estas constantes están disponibles en el módulo :mod:`sqlite3`." #: ../Doc/library/sqlite3.rst:419 msgid "" -"The first argument to the callback signifies what kind of operation is to be authorized. " -"The second and third argument will be arguments or :const:`None` depending on the first " -"argument. The 4th argument is the name of the database (\"main\", \"temp\", etc.) if " -"applicable. The 5th argument is the name of the inner-most trigger or view that is " -"responsible for the access attempt or :const:`None` if this access attempt is directly " -"from input SQL code." -msgstr "" -"El primer argumento del *callback* significa que tipo de operación será autorizada. El " -"segundo y tercer argumento serán argumentos o :const:`None` dependiendo del primer " -"argumento. El cuarto argumento es el nombre de la base de datos (\"main\", \"temp\", " -"etc.) si aplica. El quinto argumento es el nombre del disparador más interno o vista que " -"es responsable por los intentos de acceso o :const:`None` si este intento de acceso es " -"directo desde el código SQL de entrada." +"The first argument to the callback signifies what kind of operation is to be " +"authorized. The second and third argument will be arguments or :const:`None` " +"depending on the first argument. The 4th argument is the name of the " +"database (\"main\", \"temp\", etc.) if applicable. The 5th argument is the " +"name of the inner-most trigger or view that is responsible for the access " +"attempt or :const:`None` if this access attempt is directly from input SQL " +"code." +msgstr "" +"El primer argumento del *callback* significa que tipo de operación será " +"autorizada. El segundo y tercer argumento serán argumentos o :const:`None` " +"dependiendo del primer argumento. El cuarto argumento es el nombre de la " +"base de datos (\"main\", \"temp\", etc.) si aplica. El quinto argumento es " +"el nombre del disparador más interno o vista que es responsable por los " +"intentos de acceso o :const:`None` si este intento de acceso es directo " +"desde el código SQL de entrada." #: ../Doc/library/sqlite3.rst:426 msgid "" -"Please consult the SQLite documentation about the possible values for the first argument " -"and the meaning of the second and third argument depending on the first one. All " -"necessary constants are available in the :mod:`sqlite3` module." +"Please consult the SQLite documentation about the possible values for the " +"first argument and the meaning of the second and third argument depending on " +"the first one. All necessary constants are available in the :mod:`sqlite3` " +"module." msgstr "" -"Por favor consulte la documentación de SQLite sobre los posibles valores para el primer " -"argumento y el significado del segundo y tercer argumento dependiendo del primero. Todas " -"las constantes necesarias están disponibles en el módulo :mod:`sqlite3`." +"Por favor consulte la documentación de SQLite sobre los posibles valores " +"para el primer argumento y el significado del segundo y tercer argumento " +"dependiendo del primero. Todas las constantes necesarias están disponibles " +"en el módulo :mod:`sqlite3`." #: ../Doc/library/sqlite3.rst:433 msgid "" -"This routine registers a callback. The callback is invoked for every *n* instructions of " -"the SQLite virtual machine. This is useful if you want to get called from SQLite during " -"long-running operations, for example to update a GUI." +"This routine registers a callback. The callback is invoked for every *n* " +"instructions of the SQLite virtual machine. This is useful if you want to " +"get called from SQLite during long-running operations, for example to update " +"a GUI." msgstr "" -"Esta rutina registra un *callback*. El *callback* es invocado para cada *n* instrucciones " -"de la máquina virtual SQLite. Esto es útil si se quiere tener llamado a SQLite durante " -"operaciones de larga duración, por ejemplo para actualizar una GUI." +"Esta rutina registra un *callback*. El *callback* es invocado para cada *n* " +"instrucciones de la máquina virtual SQLite. Esto es útil si se quiere tener " +"llamado a SQLite durante operaciones de larga duración, por ejemplo para " +"actualizar una GUI." #: ../Doc/library/sqlite3.rst:438 msgid "" -"If you want to clear any previously installed progress handler, call the method with :" -"const:`None` for *handler*." +"If you want to clear any previously installed progress handler, call the " +"method with :const:`None` for *handler*." msgstr "" -"Si se desea limpiar cualquier *progress handler* instalado previamente, llame el método " -"con :const:`None` para *handler*." +"Si se desea limpiar cualquier *progress handler* instalado previamente, " +"llame el método con :const:`None` para *handler*." #: ../Doc/library/sqlite3.rst:441 msgid "" -"Returning a non-zero value from the handler function will terminate the currently " -"executing query and cause it to raise an :exc:`OperationalError` exception." +"Returning a non-zero value from the handler function will terminate the " +"currently executing query and cause it to raise an :exc:`OperationalError` " +"exception." msgstr "" -"Retornando un valor diferente a 0 de la función gestora terminará la actual consulta en " -"ejecución y causará lanzar una excepción :exc:`OperationalError`." +"Retornando un valor diferente a 0 de la función gestora terminará la actual " +"consulta en ejecución y causará lanzar una excepción :exc:`OperationalError`." #: ../Doc/library/sqlite3.rst:448 msgid "" -"Registers *trace_callback* to be called for each SQL statement that is actually executed " -"by the SQLite backend." +"Registers *trace_callback* to be called for each SQL statement that is " +"actually executed by the SQLite backend." msgstr "" -"Registra *trace_callback* para ser llamado por cada sentencia SQL que realmente se " -"ejecute por el *backend* de SQLite." +"Registra *trace_callback* para ser llamado por cada sentencia SQL que " +"realmente se ejecute por el *backend* de SQLite." #: ../Doc/library/sqlite3.rst:451 msgid "" -"The only argument passed to the callback is the statement (as string) that is being " -"executed. The return value of the callback is ignored. Note that the backend does not " -"only run statements passed to the :meth:`Cursor.execute` methods. Other sources include " -"the transaction management of the Python module and the execution of triggers defined in " -"the current database." +"The only argument passed to the callback is the statement (as string) that " +"is being executed. The return value of the callback is ignored. Note that " +"the backend does not only run statements passed to the :meth:`Cursor." +"execute` methods. Other sources include the transaction management of the " +"Python module and the execution of triggers defined in the current database." msgstr "" -"El único argumento pasado al *callback* es la sentencia (como cadena de texto) que se " -"está ejecutando. El valor retornado del *callback* es ignorado. Nótese que el *backend* " -"no solo ejecuta la sentencia pasada a los métodos :meth:`Cursor.execute`. Otras fuentes " -"incluyen el gestión de la transacción del módulo de Python y la ejecución de los " -"disparadores definidos en la actual base de datos." +"El único argumento pasado al *callback* es la sentencia (como cadena de " +"texto) que se está ejecutando. El valor retornado del *callback* es " +"ignorado. Nótese que el *backend* no solo ejecuta la sentencia pasada a los " +"métodos :meth:`Cursor.execute`. Otras fuentes incluyen el gestión de la " +"transacción del módulo de Python y la ejecución de los disparadores " +"definidos en la actual base de datos." #: ../Doc/library/sqlite3.rst:457 -msgid "Passing :const:`None` as *trace_callback* will disable the trace callback." -msgstr "Pasando :const:`None` como *trace_callback* deshabilitara el *trace callback*." +msgid "" +"Passing :const:`None` as *trace_callback* will disable the trace callback." +msgstr "" +"Pasando :const:`None` como *trace_callback* deshabilitara el *trace " +"callback*." #: ../Doc/library/sqlite3.rst:464 msgid "" -"This routine allows/disallows the SQLite engine to load SQLite extensions from shared " -"libraries. SQLite extensions can define new functions, aggregates or whole new virtual " -"table implementations. One well-known extension is the fulltext-search extension " -"distributed with SQLite." +"This routine allows/disallows the SQLite engine to load SQLite extensions " +"from shared libraries. SQLite extensions can define new functions, " +"aggregates or whole new virtual table implementations. One well-known " +"extension is the fulltext-search extension distributed with SQLite." msgstr "" -"Esta rutina habilita/deshabilita el motor de SQLite para cargar extensiones SQLite desde " -"bibliotecas compartidas. Las extensiones SQLite pueden definir nuevas funciones, " -"agregaciones o una completa nueva implementación de tablas virtuales. Una bien conocida " -"extensión es *fulltext-search* distribuida con SQLite." +"Esta rutina habilita/deshabilita el motor de SQLite para cargar extensiones " +"SQLite desde bibliotecas compartidas. Las extensiones SQLite pueden definir " +"nuevas funciones, agregaciones o una completa nueva implementación de tablas " +"virtuales. Una bien conocida extensión es *fulltext-search* distribuida con " +"SQLite." #: ../Doc/library/sqlite3.rst:469 ../Doc/library/sqlite3.rst:481 msgid "Loadable extensions are disabled by default. See [#f1]_." -msgstr "Las extensiones cargables están deshabilitadas por defecto. Ver [#f1]_." +msgstr "" +"Las extensiones cargables están deshabilitadas por defecto. Ver [#f1]_." #: ../Doc/library/sqlite3.rst:477 msgid "" -"This routine loads a SQLite extension from a shared library. You have to enable " -"extension loading with :meth:`enable_load_extension` before you can use this routine." +"This routine loads a SQLite extension from a shared library. You have to " +"enable extension loading with :meth:`enable_load_extension` before you can " +"use this routine." msgstr "" -"Esta rutina carga una extensión SQLite de una biblioteca compartida. Se debe habilitar la " -"carga de extensiones con :meth:`enable_load_extension` antes de usar esta rutina." +"Esta rutina carga una extensión SQLite de una biblioteca compartida. Se debe " +"habilitar la carga de extensiones con :meth:`enable_load_extension` antes de " +"usar esta rutina." #: ../Doc/library/sqlite3.rst:487 msgid "" -"You can change this attribute to a callable that accepts the cursor and the original row " -"as a tuple and will return the real result row. This way, you can implement more " -"advanced ways of returning results, such as returning an object that can also access " -"columns by name." +"You can change this attribute to a callable that accepts the cursor and the " +"original row as a tuple and will return the real result row. This way, you " +"can implement more advanced ways of returning results, such as returning an " +"object that can also access columns by name." msgstr "" -"Se puede cambiar este atributo a un invocable que acepta el cursor y la fila original " -"como una tupla y retornará la fila con el resultado real. De esta forma, se puede " -"implementar más avanzadas formas de retornar resultados, tales como retornar un objeto " -"que puede también acceder a las columnas por su nombre." +"Se puede cambiar este atributo a un invocable que acepta el cursor y la fila " +"original como una tupla y retornará la fila con el resultado real. De esta " +"forma, se puede implementar más avanzadas formas de retornar resultados, " +"tales como retornar un objeto que puede también acceder a las columnas por " +"su nombre." #: ../Doc/library/sqlite3.rst:496 msgid "" -"If returning a tuple doesn't suffice and you want name-based access to columns, you " -"should consider setting :attr:`row_factory` to the highly-optimized :class:`sqlite3.Row` " -"type. :class:`Row` provides both index-based and case-insensitive name-based access to " -"columns with almost no memory overhead. It will probably be better than your own custom " -"dictionary-based approach or even a db_row based solution." -msgstr "" -"Si retornado una tupla no es suficiente y se quiere acceder a las columnas basadas en " -"nombre, se debe considerar configurar :attr:`row_factory` a la altamente optimizada tipo :" -"class:`sqlite3.Row`. :class:`Row` provee ambos accesos a columnas basada en índice y " -"tipado insensible con casi nada de memoria elevada. Será probablemente mejor que tú " -"propio enfoque de basado en diccionario personalizado o incluso mejor que una solución " -"basada en *db_row*." +"If returning a tuple doesn't suffice and you want name-based access to " +"columns, you should consider setting :attr:`row_factory` to the highly-" +"optimized :class:`sqlite3.Row` type. :class:`Row` provides both index-based " +"and case-insensitive name-based access to columns with almost no memory " +"overhead. It will probably be better than your own custom dictionary-based " +"approach or even a db_row based solution." +msgstr "" +"Si retornado una tupla no es suficiente y se quiere acceder a las columnas " +"basadas en nombre, se debe considerar configurar :attr:`row_factory` a la " +"altamente optimizada tipo :class:`sqlite3.Row`. :class:`Row` provee ambos " +"accesos a columnas basada en índice y tipado insensible con casi nada de " +"memoria elevada. Será probablemente mejor que tú propio enfoque de basado en " +"diccionario personalizado o incluso mejor que una solución basada en " +"*db_row*." #: ../Doc/library/sqlite3.rst:508 msgid "" -"Using this attribute you can control what objects are returned for the ``TEXT`` data " -"type. By default, this attribute is set to :class:`str` and the :mod:`sqlite3` module " -"will return Unicode objects for ``TEXT``. If you want to return bytestrings instead, you " -"can set it to :class:`bytes`." +"Using this attribute you can control what objects are returned for the " +"``TEXT`` data type. By default, this attribute is set to :class:`str` and " +"the :mod:`sqlite3` module will return Unicode objects for ``TEXT``. If you " +"want to return bytestrings instead, you can set it to :class:`bytes`." msgstr "" -"Usando este atributo se puede controlar que objetos son retornados por el tipo de dato " -"``TEXT``. Por defecto, este atributo es configurado a :class:`str` y el módulo :mod:" -"`sqlite3` retornará objetos Unicode para ``TEXT``. Si en cambio se quiere retornar " -"*bytestrings*, se debe configurar a :class:`bytes`." +"Usando este atributo se puede controlar que objetos son retornados por el " +"tipo de dato ``TEXT``. Por defecto, este atributo es configurado a :class:" +"`str` y el módulo :mod:`sqlite3` retornará objetos Unicode para ``TEXT``. Si " +"en cambio se quiere retornar *bytestrings*, se debe configurar a :class:" +"`bytes`." #: ../Doc/library/sqlite3.rst:513 msgid "" -"You can also set it to any other callable that accepts a single bytestring parameter and " -"returns the resulting object." +"You can also set it to any other callable that accepts a single bytestring " +"parameter and returns the resulting object." msgstr "" -"También se puede configurar a cualquier otro *callable* que acepte un único parámetro " -"*bytestring* y retorne el objeto resultante" +"También se puede configurar a cualquier otro *callable* que acepte un único " +"parámetro *bytestring* y retorne el objeto resultante" #: ../Doc/library/sqlite3.rst:516 msgid "See the following example code for illustration:" @@ -787,21 +866,24 @@ msgstr "Ver el siguiente ejemplo de código para ilustración:" #: ../Doc/library/sqlite3.rst:523 msgid "" -"Returns the total number of database rows that have been modified, inserted, or deleted " -"since the database connection was opened." +"Returns the total number of database rows that have been modified, inserted, " +"or deleted since the database connection was opened." msgstr "" -"Regresa el número total de filas de la base de datos que han sido modificadas, insertadas " -"o borradas desde que la conexión a la base de datos fue abierta." +"Regresa el número total de filas de la base de datos que han sido " +"modificadas, insertadas o borradas desde que la conexión a la base de datos " +"fue abierta." #: ../Doc/library/sqlite3.rst:529 msgid "" -"Returns an iterator to dump the database in an SQL text format. Useful when saving an in-" -"memory database for later restoration. This function provides the same capabilities as " -"the :kbd:`.dump` command in the :program:`sqlite3` shell." +"Returns an iterator to dump the database in an SQL text format. Useful when " +"saving an in-memory database for later restoration. This function provides " +"the same capabilities as the :kbd:`.dump` command in the :program:`sqlite3` " +"shell." msgstr "" -"Regresa un iterador para volcar la base de datos en un texto de formato SQL. Es útil " -"cuando guardamos una base de datos en memoria para posterior restauración. Esta función " -"provee las mismas capacidades que el comando :kbd:`dump` en el *shell* :program:`sqlite3`." +"Regresa un iterador para volcar la base de datos en un texto de formato SQL. " +"Es útil cuando guardamos una base de datos en memoria para posterior " +"restauración. Esta función provee las mismas capacidades que el comando :kbd:" +"`dump` en el *shell* :program:`sqlite3`." #: ../Doc/library/sqlite3.rst:534 msgid "Example::" @@ -809,59 +891,62 @@ msgstr "Ejemplo::" #: ../Doc/library/sqlite3.rst:548 msgid "" -"This method makes a backup of a SQLite database even while it's being accessed by other " -"clients, or concurrently by the same connection. The copy will be written into the " -"mandatory argument *target*, that must be another :class:`Connection` instance." +"This method makes a backup of a SQLite database even while it's being " +"accessed by other clients, or concurrently by the same connection. The copy " +"will be written into the mandatory argument *target*, that must be another :" +"class:`Connection` instance." msgstr "" -"Este método crea un respaldo de una base de datos SQLite incluso mientras está siendo " -"accedida por otros clientes, o concurrente por la misma conexión. La copia será escrita " -"dentro del argumento obligatorio *target*, que deberá ser otra instancia de :class:" -"`Connection`." +"Este método crea un respaldo de una base de datos SQLite incluso mientras " +"está siendo accedida por otros clientes, o concurrente por la misma " +"conexión. La copia será escrita dentro del argumento obligatorio *target*, " +"que deberá ser otra instancia de :class:`Connection`." #: ../Doc/library/sqlite3.rst:553 msgid "" -"By default, or when *pages* is either ``0`` or a negative integer, the entire database is " -"copied in a single step; otherwise the method performs a loop copying up to *pages* pages " -"at a time." +"By default, or when *pages* is either ``0`` or a negative integer, the " +"entire database is copied in a single step; otherwise the method performs a " +"loop copying up to *pages* pages at a time." msgstr "" -"Por defecto, o cuando *pages* es ``0`` o un entero negativo, la base de datos completa es " -"copiada en un solo paso; de otra forma el método realiza un bucle copiando hasta el " -"número de *pages* a la vez." +"Por defecto, o cuando *pages* es ``0`` o un entero negativo, la base de " +"datos completa es copiada en un solo paso; de otra forma el método realiza " +"un bucle copiando hasta el número de *pages* a la vez." #: ../Doc/library/sqlite3.rst:557 msgid "" -"If *progress* is specified, it must either be ``None`` or a callable object that will be " -"executed at each iteration with three integer arguments, respectively the *status* of the " -"last iteration, the *remaining* number of pages still to be copied and the *total* number " -"of pages." +"If *progress* is specified, it must either be ``None`` or a callable object " +"that will be executed at each iteration with three integer arguments, " +"respectively the *status* of the last iteration, the *remaining* number of " +"pages still to be copied and the *total* number of pages." msgstr "" -"Si *progress* es especificado, deberá ser ``None`` o un objeto *callable* que será " -"ejecutado en cada iteración con los tres argumentos enteros, respectivamente el estado " -"*status* de la última iteración, el restante *remaining* numero de páginas presentes para " -"ser copiadas y el número total *total* de páginas." +"Si *progress* es especificado, deberá ser ``None`` o un objeto *callable* " +"que será ejecutado en cada iteración con los tres argumentos enteros, " +"respectivamente el estado *status* de la última iteración, el restante " +"*remaining* numero de páginas presentes para ser copiadas y el número total " +"*total* de páginas." #: ../Doc/library/sqlite3.rst:562 msgid "" -"The *name* argument specifies the database name that will be copied: it must be a string " -"containing either ``\"main\"``, the default, to indicate the main database, ``\"temp\"`` " -"to indicate the temporary database or the name specified after the ``AS`` keyword in an " -"``ATTACH DATABASE`` statement for an attached database." +"The *name* argument specifies the database name that will be copied: it must " +"be a string containing either ``\"main\"``, the default, to indicate the " +"main database, ``\"temp\"`` to indicate the temporary database or the name " +"specified after the ``AS`` keyword in an ``ATTACH DATABASE`` statement for " +"an attached database." msgstr "" -"El argumento *name* especifica el nombre de la base de datos que será copiada: deberá ser " -"una cadena de texto que contenga el por defecto ``\"main\"``, que indica la base de datos " -"principal, ``\"temp\"`` que indica la base de datos temporal o el nombre especificado " -"después de la palabra clave ``AS`` en una sentencia ``ATTACH DATABASE`` para una base de " -"datos adjunta." +"El argumento *name* especifica el nombre de la base de datos que será " +"copiada: deberá ser una cadena de texto que contenga el por defecto ``\"main" +"\"``, que indica la base de datos principal, ``\"temp\"`` que indica la base " +"de datos temporal o el nombre especificado después de la palabra clave " +"``AS`` en una sentencia ``ATTACH DATABASE`` para una base de datos adjunta." #: ../Doc/library/sqlite3.rst:568 msgid "" -"The *sleep* argument specifies the number of seconds to sleep by between successive " -"attempts to backup remaining pages, can be specified either as an integer or a floating " -"point value." +"The *sleep* argument specifies the number of seconds to sleep by between " +"successive attempts to backup remaining pages, can be specified either as an " +"integer or a floating point value." msgstr "" -"El argumento *sleep* especifica el número de segundos a dormir entre sucesivos intentos " -"de respaldar páginas restantes, puede ser especificado como un entero o un valor de punto " -"flotante." +"El argumento *sleep* especifica el número de segundos a dormir entre " +"sucesivos intentos de respaldar páginas restantes, puede ser especificado " +"como un entero o un valor de punto flotante." #: ../Doc/library/sqlite3.rst:572 msgid "Example 1, copy an existing database into another::" @@ -869,7 +954,8 @@ msgstr "Ejemplo 1, copiar una base de datos existente en otra::" #: ../Doc/library/sqlite3.rst:586 msgid "Example 2, copy an existing database into a transient copy::" -msgstr "Ejemplo 2: copiar una base de datos existente en una copia transitoria::" +msgstr "" +"Ejemplo 2: copiar una base de datos existente en una copia transitoria::" #: ../Doc/library/sqlite3.rst:594 msgid "Availability: SQLite 3.6.11 or higher" @@ -881,18 +967,20 @@ msgstr "Objetos Cursor" #: ../Doc/library/sqlite3.rst:606 msgid "A :class:`Cursor` instance has the following attributes and methods." -msgstr "Una instancia de :class:`Cursor` tiene los siguientes atributos y métodos." +msgstr "" +"Una instancia de :class:`Cursor` tiene los siguientes atributos y métodos." #: ../Doc/library/sqlite3.rst:613 msgid "" -"Executes an SQL statement. The SQL statement may be parameterized (i. e. placeholders " -"instead of SQL literals). The :mod:`sqlite3` module supports two kinds of placeholders: " -"question marks (qmark style) and named placeholders (named style)." +"Executes an SQL statement. The SQL statement may be parameterized (i. e. " +"placeholders instead of SQL literals). The :mod:`sqlite3` module supports " +"two kinds of placeholders: question marks (qmark style) and named " +"placeholders (named style)." msgstr "" -"Ejecuta una sentencia SQL. La sentencia SQL puede estar parametrizada (es decir " -"marcadores en lugar de literales SQL). El módulo :mod:`sqlite3` soporta dos tipos de " -"marcadores: signos de interrogación (estilo *qmark*) y marcadores nombrados (estilo " -"*nombrado*)." +"Ejecuta una sentencia SQL. La sentencia SQL puede estar parametrizada (es " +"decir marcadores en lugar de literales SQL). El módulo :mod:`sqlite3` " +"soporta dos tipos de marcadores: signos de interrogación (estilo *qmark*) y " +"marcadores nombrados (estilo *nombrado*)." #: ../Doc/library/sqlite3.rst:618 msgid "Here's an example of both styles:" @@ -900,19 +988,21 @@ msgstr "Acá esta un ejemplo con los dos estilos:" #: ../Doc/library/sqlite3.rst:622 msgid "" -":meth:`execute` will only execute a single SQL statement. If you try to execute more than " -"one statement with it, it will raise a :exc:`.Warning`. Use :meth:`executescript` if you " -"want to execute multiple SQL statements with one call." +":meth:`execute` will only execute a single SQL statement. If you try to " +"execute more than one statement with it, it will raise a :exc:`.Warning`. " +"Use :meth:`executescript` if you want to execute multiple SQL statements " +"with one call." msgstr "" -":meth:`execute` solo ejecutará una única sentencia SQL. Si se trata de ejecutar más de " -"una sentencia con el, lanzará un :exc:`.Warning`. Usar :meth:`executescript` si se quiere " -"ejecutar múltiples sentencias SQL con una llamada." +":meth:`execute` solo ejecutará una única sentencia SQL. Si se trata de " +"ejecutar más de una sentencia con el, lanzará un :exc:`.Warning`. Usar :meth:" +"`executescript` si se quiere ejecutar múltiples sentencias SQL con una " +"llamada." #: ../Doc/library/sqlite3.rst:630 msgid "" -"Executes an SQL command against all parameter sequences or mappings found in the sequence " -"*seq_of_parameters*. The :mod:`sqlite3` module also allows using an :term:`iterator` " -"yielding parameters instead of a sequence." +"Executes an SQL command against all parameter sequences or mappings found in " +"the sequence *seq_of_parameters*. The :mod:`sqlite3` module also allows " +"using an :term:`iterator` yielding parameters instead of a sequence." msgstr "" #: ../Doc/library/sqlite3.rst:636 @@ -921,9 +1011,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:643 msgid "" -"This is a nonstandard convenience method for executing multiple SQL statements at once. " -"It issues a ``COMMIT`` statement first, then executes the SQL script it gets as a " -"parameter." +"This is a nonstandard convenience method for executing multiple SQL " +"statements at once. It issues a ``COMMIT`` statement first, then executes " +"the SQL script it gets as a parameter." msgstr "" #: ../Doc/library/sqlite3.rst:647 @@ -932,38 +1022,38 @@ msgstr "" #: ../Doc/library/sqlite3.rst:656 msgid "" -"Fetches the next row of a query result set, returning a single sequence, or :const:`None` " -"when no more data is available." +"Fetches the next row of a query result set, returning a single sequence, or :" +"const:`None` when no more data is available." msgstr "" #: ../Doc/library/sqlite3.rst:662 msgid "" -"Fetches the next set of rows of a query result, returning a list. An empty list is " -"returned when no more rows are available." +"Fetches the next set of rows of a query result, returning a list. An empty " +"list is returned when no more rows are available." msgstr "" #: ../Doc/library/sqlite3.rst:665 msgid "" -"The number of rows to fetch per call is specified by the *size* parameter. If it is not " -"given, the cursor's arraysize determines the number of rows to be fetched. The method " -"should try to fetch as many rows as indicated by the size parameter. If this is not " -"possible due to the specified number of rows not being available, fewer rows may be " -"returned." +"The number of rows to fetch per call is specified by the *size* parameter. " +"If it is not given, the cursor's arraysize determines the number of rows to " +"be fetched. The method should try to fetch as many rows as indicated by the " +"size parameter. If this is not possible due to the specified number of rows " +"not being available, fewer rows may be returned." msgstr "" #: ../Doc/library/sqlite3.rst:671 msgid "" -"Note there are performance considerations involved with the *size* parameter. For optimal " -"performance, it is usually best to use the arraysize attribute. If the *size* parameter " -"is used, then it is best for it to retain the same value from one :meth:`fetchmany` call " -"to the next." +"Note there are performance considerations involved with the *size* " +"parameter. For optimal performance, it is usually best to use the arraysize " +"attribute. If the *size* parameter is used, then it is best for it to retain " +"the same value from one :meth:`fetchmany` call to the next." msgstr "" #: ../Doc/library/sqlite3.rst:678 msgid "" -"Fetches all (remaining) rows of a query result, returning a list. Note that the cursor's " -"arraysize attribute can affect the performance of this operation. An empty list is " -"returned when no rows are available." +"Fetches all (remaining) rows of a query result, returning a list. Note that " +"the cursor's arraysize attribute can affect the performance of this " +"operation. An empty list is returned when no rows are available." msgstr "" #: ../Doc/library/sqlite3.rst:684 @@ -972,49 +1062,52 @@ msgstr "" #: ../Doc/library/sqlite3.rst:686 msgid "" -"The cursor will be unusable from this point forward; a :exc:`ProgrammingError` exception " -"will be raised if any operation is attempted with the cursor." +"The cursor will be unusable from this point forward; a :exc:" +"`ProgrammingError` exception will be raised if any operation is attempted " +"with the cursor." msgstr "" #: ../Doc/library/sqlite3.rst:691 msgid "" -"Although the :class:`Cursor` class of the :mod:`sqlite3` module implements this " -"attribute, the database engine's own support for the determination of \"rows affected\"/" -"\"rows selected\" is quirky." +"Although the :class:`Cursor` class of the :mod:`sqlite3` module implements " +"this attribute, the database engine's own support for the determination of " +"\"rows affected\"/\"rows selected\" is quirky." msgstr "" #: ../Doc/library/sqlite3.rst:695 msgid "" -"For :meth:`executemany` statements, the number of modifications are summed up into :attr:" -"`rowcount`." +"For :meth:`executemany` statements, the number of modifications are summed " +"up into :attr:`rowcount`." msgstr "" #: ../Doc/library/sqlite3.rst:698 msgid "" -"As required by the Python DB API Spec, the :attr:`rowcount` attribute \"is -1 in case no " -"``executeXX()`` has been performed on the cursor or the rowcount of the last operation is " -"not determinable by the interface\". This includes ``SELECT`` statements because we " -"cannot determine the number of rows a query produced until all rows were fetched." +"As required by the Python DB API Spec, the :attr:`rowcount` attribute \"is " +"-1 in case no ``executeXX()`` has been performed on the cursor or the " +"rowcount of the last operation is not determinable by the interface\". This " +"includes ``SELECT`` statements because we cannot determine the number of " +"rows a query produced until all rows were fetched." msgstr "" #: ../Doc/library/sqlite3.rst:704 msgid "" -"With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make a ``DELETE " -"FROM table`` without any condition." +"With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make " +"a ``DELETE FROM table`` without any condition." msgstr "" #: ../Doc/library/sqlite3.rst:709 msgid "" -"This read-only attribute provides the rowid of the last modified row. It is only set if " -"you issued an ``INSERT`` or a ``REPLACE`` statement using the :meth:`execute` method. " -"For operations other than ``INSERT`` or ``REPLACE`` or when :meth:`executemany` is " -"called, :attr:`lastrowid` is set to :const:`None`." +"This read-only attribute provides the rowid of the last modified row. It is " +"only set if you issued an ``INSERT`` or a ``REPLACE`` statement using the :" +"meth:`execute` method. For operations other than ``INSERT`` or ``REPLACE`` " +"or when :meth:`executemany` is called, :attr:`lastrowid` is set to :const:" +"`None`." msgstr "" #: ../Doc/library/sqlite3.rst:715 msgid "" -"If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous successful rowid " -"is returned." +"If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous " +"successful rowid is returned." msgstr "" #: ../Doc/library/sqlite3.rst:718 @@ -1023,15 +1116,16 @@ msgstr "" #: ../Doc/library/sqlite3.rst:723 msgid "" -"Read/write attribute that controls the number of rows returned by :meth:`fetchmany`. The " -"default value is 1 which means a single row would be fetched per call." +"Read/write attribute that controls the number of rows returned by :meth:" +"`fetchmany`. The default value is 1 which means a single row would be " +"fetched per call." msgstr "" #: ../Doc/library/sqlite3.rst:728 msgid "" -"This read-only attribute provides the column names of the last query. To remain " -"compatible with the Python DB API, it returns a 7-tuple for each column where the last " -"six items of each tuple are :const:`None`." +"This read-only attribute provides the column names of the last query. To " +"remain compatible with the Python DB API, it returns a 7-tuple for each " +"column where the last six items of each tuple are :const:`None`." msgstr "" #: ../Doc/library/sqlite3.rst:732 @@ -1040,9 +1134,10 @@ msgstr "" #: ../Doc/library/sqlite3.rst:736 msgid "" -"This read-only attribute provides the SQLite database :class:`Connection` used by the :" -"class:`Cursor` object. A :class:`Cursor` object created by calling :meth:`con.cursor() " -"` will have a :attr:`connection` attribute that refers to *con*::" +"This read-only attribute provides the SQLite database :class:`Connection` " +"used by the :class:`Cursor` object. A :class:`Cursor` object created by " +"calling :meth:`con.cursor() ` will have a :attr:" +"`connection` attribute that refers to *con*::" msgstr "" #: ../Doc/library/sqlite3.rst:749 @@ -1051,26 +1146,27 @@ msgstr "" #: ../Doc/library/sqlite3.rst:753 msgid "" -"A :class:`Row` instance serves as a highly optimized :attr:`~Connection.row_factory` for :" -"class:`Connection` objects. It tries to mimic a tuple in most of its features." +"A :class:`Row` instance serves as a highly optimized :attr:`~Connection." +"row_factory` for :class:`Connection` objects. It tries to mimic a tuple in " +"most of its features." msgstr "" #: ../Doc/library/sqlite3.rst:757 msgid "" -"It supports mapping access by column name and index, iteration, representation, equality " -"testing and :func:`len`." +"It supports mapping access by column name and index, iteration, " +"representation, equality testing and :func:`len`." msgstr "" #: ../Doc/library/sqlite3.rst:760 msgid "" -"If two :class:`Row` objects have exactly the same columns and their members are equal, " -"they compare equal." +"If two :class:`Row` objects have exactly the same columns and their members " +"are equal, they compare equal." msgstr "" #: ../Doc/library/sqlite3.rst:765 msgid "" -"This method returns a list of column names. Immediately after a query, it is the first " -"member of each tuple in :attr:`Cursor.description`." +"This method returns a list of column names. Immediately after a query, it is " +"the first member of each tuple in :attr:`Cursor.description`." msgstr "" #: ../Doc/library/sqlite3.rst:768 @@ -1095,8 +1191,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:823 msgid "" -"The base class of the other exceptions in this module. It is a subclass of :exc:" -"`Exception`." +"The base class of the other exceptions in this module. It is a subclass of :" +"exc:`Exception`." msgstr "" #: ../Doc/library/sqlite3.rst:828 @@ -1105,31 +1201,31 @@ msgstr "" #: ../Doc/library/sqlite3.rst:832 msgid "" -"Exception raised when the relational integrity of the database is affected, e.g. a " -"foreign key check fails. It is a subclass of :exc:`DatabaseError`." +"Exception raised when the relational integrity of the database is affected, " +"e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:837 msgid "" -"Exception raised for programming errors, e.g. table not found or already exists, syntax " -"error in the SQL statement, wrong number of parameters specified, etc. It is a subclass " -"of :exc:`DatabaseError`." +"Exception raised for programming errors, e.g. table not found or already " +"exists, syntax error in the SQL statement, wrong number of parameters " +"specified, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:843 msgid "" -"Exception raised for errors that are related to the database's operation and not " -"necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, " -"the data source name is not found, a transaction could not be processed, etc. It is a " -"subclass of :exc:`DatabaseError`." +"Exception raised for errors that are related to the database's operation and " +"not necessarily under the control of the programmer, e.g. an unexpected " +"disconnect occurs, the data source name is not found, a transaction could " +"not be processed, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:850 msgid "" -"Exception raised in case a method or database API was used which is not supported by the " -"database, e.g. calling the :meth:`~Connection.rollback` method on a connection that does " -"not support transaction or has transactions turned off. It is a subclass of :exc:" -"`DatabaseError`." +"Exception raised in case a method or database API was used which is not " +"supported by the database, e.g. calling the :meth:`~Connection.rollback` " +"method on a connection that does not support transaction or has transactions " +"turned off. It is a subclass of :exc:`DatabaseError`." msgstr "" #: ../Doc/library/sqlite3.rst:859 @@ -1142,12 +1238,13 @@ msgstr "" #: ../Doc/library/sqlite3.rst:865 msgid "" -"SQLite natively supports the following types: ``NULL``, ``INTEGER``, ``REAL``, ``TEXT``, " -"``BLOB``." +"SQLite natively supports the following types: ``NULL``, ``INTEGER``, " +"``REAL``, ``TEXT``, ``BLOB``." msgstr "" #: ../Doc/library/sqlite3.rst:868 -msgid "The following Python types can thus be sent to SQLite without any problem:" +msgid "" +"The following Python types can thus be sent to SQLite without any problem:" msgstr "" #: ../Doc/library/sqlite3.rst:871 ../Doc/library/sqlite3.rst:888 @@ -1208,9 +1305,10 @@ msgstr "" #: ../Doc/library/sqlite3.rst:902 msgid "" -"The type system of the :mod:`sqlite3` module is extensible in two ways: you can store " -"additional Python types in a SQLite database via object adaptation, and you can let the :" -"mod:`sqlite3` module convert SQLite types to different Python types via converters." +"The type system of the :mod:`sqlite3` module is extensible in two ways: you " +"can store additional Python types in a SQLite database via object " +"adaptation, and you can let the :mod:`sqlite3` module convert SQLite types " +"to different Python types via converters." msgstr "" #: ../Doc/library/sqlite3.rst:909 @@ -1219,15 +1317,16 @@ msgstr "" #: ../Doc/library/sqlite3.rst:911 msgid "" -"As described before, SQLite supports only a limited set of types natively. To use other " -"Python types with SQLite, you must **adapt** them to one of the sqlite3 module's " -"supported types for SQLite: one of NoneType, int, float, str, bytes." +"As described before, SQLite supports only a limited set of types natively. " +"To use other Python types with SQLite, you must **adapt** them to one of the " +"sqlite3 module's supported types for SQLite: one of NoneType, int, float, " +"str, bytes." msgstr "" #: ../Doc/library/sqlite3.rst:916 msgid "" -"There are two ways to enable the :mod:`sqlite3` module to adapt a custom Python type to " -"one of the supported ones." +"There are two ways to enable the :mod:`sqlite3` module to adapt a custom " +"Python type to one of the supported ones." msgstr "" #: ../Doc/library/sqlite3.rst:921 @@ -1236,17 +1335,18 @@ msgstr "" #: ../Doc/library/sqlite3.rst:923 msgid "" -"This is a good approach if you write the class yourself. Let's suppose you have a class " -"like this::" +"This is a good approach if you write the class yourself. Let's suppose you " +"have a class like this::" msgstr "" #: ../Doc/library/sqlite3.rst:930 msgid "" -"Now you want to store the point in a single SQLite column. First you'll have to choose " -"one of the supported types first to be used for representing the point. Let's just use " -"str and separate the coordinates using a semicolon. Then you need to give your class a " -"method ``__conform__(self, protocol)`` which must return the converted value. The " -"parameter *protocol* will be :class:`PrepareProtocol`." +"Now you want to store the point in a single SQLite column. First you'll " +"have to choose one of the supported types first to be used for representing " +"the point. Let's just use str and separate the coordinates using a " +"semicolon. Then you need to give your class a method ``__conform__(self, " +"protocol)`` which must return the converted value. The parameter *protocol* " +"will be :class:`PrepareProtocol`." msgstr "" #: ../Doc/library/sqlite3.rst:940 @@ -1255,15 +1355,17 @@ msgstr "" #: ../Doc/library/sqlite3.rst:942 msgid "" -"The other possibility is to create a function that converts the type to the string " -"representation and register the function with :meth:`register_adapter`." +"The other possibility is to create a function that converts the type to the " +"string representation and register the function with :meth:" +"`register_adapter`." msgstr "" #: ../Doc/library/sqlite3.rst:947 msgid "" -"The :mod:`sqlite3` module has two default adapters for Python's built-in :class:`datetime." -"date` and :class:`datetime.datetime` types. Now let's suppose we want to store :class:" -"`datetime.datetime` objects not in ISO representation, but as a Unix timestamp." +"The :mod:`sqlite3` module has two default adapters for Python's built-in :" +"class:`datetime.date` and :class:`datetime.datetime` types. Now let's " +"suppose we want to store :class:`datetime.datetime` objects not in ISO " +"representation, but as a Unix timestamp." msgstr "" #: ../Doc/library/sqlite3.rst:956 @@ -1272,8 +1374,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:958 msgid "" -"Writing an adapter lets you send custom Python types to SQLite. But to make it really " -"useful we need to make the Python to SQLite to Python roundtrip work." +"Writing an adapter lets you send custom Python types to SQLite. But to make " +"it really useful we need to make the Python to SQLite to Python roundtrip " +"work." msgstr "" #: ../Doc/library/sqlite3.rst:961 @@ -1282,26 +1385,26 @@ msgstr "" #: ../Doc/library/sqlite3.rst:963 msgid "" -"Let's go back to the :class:`Point` class. We stored the x and y coordinates separated " -"via semicolons as strings in SQLite." +"Let's go back to the :class:`Point` class. We stored the x and y coordinates " +"separated via semicolons as strings in SQLite." msgstr "" #: ../Doc/library/sqlite3.rst:966 msgid "" -"First, we'll define a converter function that accepts the string as a parameter and " -"constructs a :class:`Point` object from it." +"First, we'll define a converter function that accepts the string as a " +"parameter and constructs a :class:`Point` object from it." msgstr "" #: ../Doc/library/sqlite3.rst:971 msgid "" -"Converter functions **always** get called with a :class:`bytes` object, no matter under " -"which data type you sent the value to SQLite." +"Converter functions **always** get called with a :class:`bytes` object, no " +"matter under which data type you sent the value to SQLite." msgstr "" #: ../Doc/library/sqlite3.rst:980 msgid "" -"Now you need to make the :mod:`sqlite3` module know that what you select from the " -"database is actually a point. There are two ways of doing this:" +"Now you need to make the :mod:`sqlite3` module know that what you select " +"from the database is actually a point. There are two ways of doing this:" msgstr "" #: ../Doc/library/sqlite3.rst:983 @@ -1314,8 +1417,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:987 msgid "" -"Both ways are described in section :ref:`sqlite3-module-contents`, in the entries for the " -"constants :const:`PARSE_DECLTYPES` and :const:`PARSE_COLNAMES`." +"Both ways are described in section :ref:`sqlite3-module-contents`, in the " +"entries for the constants :const:`PARSE_DECLTYPES` and :const:" +"`PARSE_COLNAMES`." msgstr "" #: ../Doc/library/sqlite3.rst:990 @@ -1328,21 +1432,22 @@ msgstr "" #: ../Doc/library/sqlite3.rst:998 msgid "" -"There are default adapters for the date and datetime types in the datetime module. They " -"will be sent as ISO dates/ISO timestamps to SQLite." +"There are default adapters for the date and datetime types in the datetime " +"module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" #: ../Doc/library/sqlite3.rst:1001 msgid "" -"The default converters are registered under the name \"date\" for :class:`datetime.date` " -"and under the name \"timestamp\" for :class:`datetime.datetime`." +"The default converters are registered under the name \"date\" for :class:" +"`datetime.date` and under the name \"timestamp\" for :class:`datetime." +"datetime`." msgstr "" #: ../Doc/library/sqlite3.rst:1005 msgid "" -"This way, you can use date/timestamps from Python without any additional fiddling in most " -"cases. The format of the adapters is also compatible with the experimental SQLite date/" -"time functions." +"This way, you can use date/timestamps from Python without any additional " +"fiddling in most cases. The format of the adapters is also compatible with " +"the experimental SQLite date/time functions." msgstr "" #: ../Doc/library/sqlite3.rst:1009 @@ -1351,8 +1456,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1013 msgid "" -"If a timestamp stored in SQLite has a fractional part longer than 6 numbers, its value " -"will be truncated to microsecond precision by the timestamp converter." +"If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " +"its value will be truncated to microsecond precision by the timestamp " +"converter." msgstr "" #: ../Doc/library/sqlite3.rst:1021 @@ -1361,47 +1467,49 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1023 msgid "" -"The underlying ``sqlite3`` library operates in ``autocommit`` mode by default, but the " -"Python :mod:`sqlite3` module by default does not." +"The underlying ``sqlite3`` library operates in ``autocommit`` mode by " +"default, but the Python :mod:`sqlite3` module by default does not." msgstr "" #: ../Doc/library/sqlite3.rst:1026 msgid "" -"``autocommit`` mode means that statements that modify the database take effect " -"immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables ``autocommit`` mode, and a " -"``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that ends the outermost transaction, turns " -"``autocommit`` mode back on." +"``autocommit`` mode means that statements that modify the database take " +"effect immediately. A ``BEGIN`` or ``SAVEPOINT`` statement disables " +"``autocommit`` mode, and a ``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that " +"ends the outermost transaction, turns ``autocommit`` mode back on." msgstr "" #: ../Doc/library/sqlite3.rst:1031 msgid "" -"The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement implicitly " -"before a Data Modification Language (DML) statement (i.e. ``INSERT``/``UPDATE``/" -"``DELETE``/``REPLACE``)." +"The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement " +"implicitly before a Data Modification Language (DML) statement (i.e. " +"``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." msgstr "" #: ../Doc/library/sqlite3.rst:1035 msgid "" -"You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly executes via " -"the *isolation_level* parameter to the :func:`connect` call, or via the :attr:" -"`isolation_level` property of connections. If you specify no *isolation_level*, a plain " -"``BEGIN`` is used, which is equivalent to specifying ``DEFERRED``. Other possible values " -"are ``IMMEDIATE`` and ``EXCLUSIVE``." +"You can control which kind of ``BEGIN`` statements :mod:`sqlite3` implicitly " +"executes via the *isolation_level* parameter to the :func:`connect` call, or " +"via the :attr:`isolation_level` property of connections. If you specify no " +"*isolation_level*, a plain ``BEGIN`` is used, which is equivalent to " +"specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and " +"``EXCLUSIVE``." msgstr "" #: ../Doc/library/sqlite3.rst:1042 msgid "" -"You can disable the :mod:`sqlite3` module's implicit transaction management by setting :" -"attr:`isolation_level` to ``None``. This will leave the underlying ``sqlite3`` library " -"operating in ``autocommit`` mode. You can then completely control the transaction state " -"by explicitly issuing ``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements " -"in your code." +"You can disable the :mod:`sqlite3` module's implicit transaction management " +"by setting :attr:`isolation_level` to ``None``. This will leave the " +"underlying ``sqlite3`` library operating in ``autocommit`` mode. You can " +"then completely control the transaction state by explicitly issuing " +"``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your " +"code." msgstr "" #: ../Doc/library/sqlite3.rst:1048 msgid "" -":mod:`sqlite3` used to implicitly commit an open transaction before DDL statements. This " -"is no longer the case." +":mod:`sqlite3` used to implicitly commit an open transaction before DDL " +"statements. This is no longer the case." msgstr "" #: ../Doc/library/sqlite3.rst:1054 @@ -1414,13 +1522,14 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1060 msgid "" -"Using the nonstandard :meth:`execute`, :meth:`executemany` and :meth:`executescript` " -"methods of the :class:`Connection` object, your code can be written more concisely " -"because you don't have to create the (often superfluous) :class:`Cursor` objects " -"explicitly. Instead, the :class:`Cursor` objects are created implicitly and these " -"shortcut methods return the cursor objects. This way, you can execute a ``SELECT`` " -"statement and iterate over it directly using only a single call on the :class:" -"`Connection` object." +"Using the nonstandard :meth:`execute`, :meth:`executemany` and :meth:" +"`executescript` methods of the :class:`Connection` object, your code can be " +"written more concisely because you don't have to create the (often " +"superfluous) :class:`Cursor` objects explicitly. Instead, the :class:" +"`Cursor` objects are created implicitly and these shortcut methods return " +"the cursor objects. This way, you can execute a ``SELECT`` statement and " +"iterate over it directly using only a single call on the :class:`Connection` " +"object." msgstr "" #: ../Doc/library/sqlite3.rst:1072 @@ -1429,14 +1538,14 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1074 msgid "" -"One useful feature of the :mod:`sqlite3` module is the built-in :class:`sqlite3.Row` " -"class designed to be used as a row factory." +"One useful feature of the :mod:`sqlite3` module is the built-in :class:" +"`sqlite3.Row` class designed to be used as a row factory." msgstr "" #: ../Doc/library/sqlite3.rst:1077 msgid "" -"Rows wrapped with this class can be accessed both by index (like tuples) and case-" -"insensitively by name:" +"Rows wrapped with this class can be accessed both by index (like tuples) and " +"case-insensitively by name:" msgstr "" #: ../Doc/library/sqlite3.rst:1084 @@ -1445,9 +1554,9 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1086 msgid "" -"Connection objects can be used as context managers that automatically commit or rollback " -"transactions. In the event of an exception, the transaction is rolled back; otherwise, " -"the transaction is committed:" +"Connection objects can be used as context managers that automatically commit " +"or rollback transactions. In the event of an exception, the transaction is " +"rolled back; otherwise, the transaction is committed:" msgstr "" #: ../Doc/library/sqlite3.rst:1095 @@ -1460,15 +1569,16 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1100 msgid "" -"Older SQLite versions had issues with sharing connections between threads. That's why the " -"Python module disallows sharing connections and cursors between threads. If you still try " -"to do so, you will get an exception at runtime." +"Older SQLite versions had issues with sharing connections between threads. " +"That's why the Python module disallows sharing connections and cursors " +"between threads. If you still try to do so, you will get an exception at " +"runtime." msgstr "" #: ../Doc/library/sqlite3.rst:1104 msgid "" -"The only exception is calling the :meth:`~Connection.interrupt` method, which only makes " -"sense to call from a different thread." +"The only exception is calling the :meth:`~Connection.interrupt` method, " +"which only makes sense to call from a different thread." msgstr "" #: ../Doc/library/sqlite3.rst:1108 @@ -1477,8 +1587,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1109 msgid "" -"The sqlite3 module is not built with loadable extension support by default, because some " -"platforms (notably Mac OS X) have SQLite libraries which are compiled without this " -"feature. To get loadable extension support, you must pass --enable-loadable-sqlite-" -"extensions to configure." +"The sqlite3 module is not built with loadable extension support by default, " +"because some platforms (notably Mac OS X) have SQLite libraries which are " +"compiled without this feature. To get loadable extension support, you must " +"pass --enable-loadable-sqlite-extensions to configure." msgstr "" From caa3611d82fbb3dd7c0a7634e7466fd4fa1e1667 Mon Sep 17 00:00:00 2001 From: Goerman Date: Tue, 6 Oct 2020 09:57:23 -0500 Subject: [PATCH 55/95] 60%: Objetos de la clase cursor: execute, executemany, executescript, fetchone, fetchmany, fetchall, close, rowcount, lastrowid, arraysize, description, connection --- library/sqlite3.po | 71 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 65 insertions(+), 6 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index dbc104702a..7c70b323cb 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-04 20:18-0500\n" +"PO-Revision-Date: 2020-10-06 09:54-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -858,7 +858,7 @@ msgid "" "parameter and returns the resulting object." msgstr "" "También se puede configurar a cualquier otro *callable* que acepte un único " -"parámetro *bytestring* y retorne el objeto resultante" +"parámetro *bytestring* y retorne el objeto resultante." #: ../Doc/library/sqlite3.rst:516 msgid "See the following example code for illustration:" @@ -1004,10 +1004,13 @@ msgid "" "the sequence *seq_of_parameters*. The :mod:`sqlite3` module also allows " "using an :term:`iterator` yielding parameters instead of a sequence." msgstr "" +"Ejecuta un comando SQL contra todas las secuencias de parámetros o mapeos " +"encontrados en la secuencia *seq_of_parameters*. El módulo también permite " +"usar un :term:`iterator` produciendo parámetros en lugar de una secuencia." #: ../Doc/library/sqlite3.rst:636 msgid "Here's a shorter example using a :term:`generator`:" -msgstr "" +msgstr "Acá un corto ejemplo usando un :term:`generator`:" #: ../Doc/library/sqlite3.rst:643 msgid "" @@ -1015,22 +1018,30 @@ msgid "" "statements at once. It issues a ``COMMIT`` statement first, then executes " "the SQL script it gets as a parameter." msgstr "" +"Este es un conveniente método no estándar para ejecutar múltiples sentencias " +"SQL de una vez. Emite una sentencia ``COMMIT`` primero, luego ejecuta el " +"script SQL obtenido como parámetro." #: ../Doc/library/sqlite3.rst:647 msgid "*sql_script* can be an instance of :class:`str`." -msgstr "" +msgstr "*sql_script* puede ser una instancia de :class:`str`." #: ../Doc/library/sqlite3.rst:656 msgid "" "Fetches the next row of a query result set, returning a single sequence, or :" "const:`None` when no more data is available." msgstr "" +"Obtiene la siguiente fila de un conjunto resultado, retorna una única " +"secuencia, o :const:`None` cuando no hay más datos disponibles." #: ../Doc/library/sqlite3.rst:662 msgid "" "Fetches the next set of rows of a query result, returning a list. An empty " "list is returned when no more rows are available." msgstr "" +"Obtiene el siguiente conjunto de filas del resultado de una consulta, " +"retornando una lista. Una lista vacía es retornada cuando no hay más filas " +"disponibles." #: ../Doc/library/sqlite3.rst:665 msgid "" @@ -1040,6 +1051,12 @@ msgid "" "size parameter. If this is not possible due to the specified number of rows " "not being available, fewer rows may be returned." msgstr "" +"El número de filas a obtener por llamado es especificado por el parámetro " +"*size*. Si no es suministrado, el *arraysize* del cursor determina el número " +"de filas a obtener. El método debería intentar obtener tantas filas como las " +"indicadas por el parámetro *size*. Si esto no es posible debido a que el " +"número especificado de filas no está disponible, entonces menos filas " +"deberán ser retornadas." #: ../Doc/library/sqlite3.rst:671 msgid "" @@ -1048,6 +1065,10 @@ msgid "" "attribute. If the *size* parameter is used, then it is best for it to retain " "the same value from one :meth:`fetchmany` call to the next." msgstr "" +"Nótese que hay consideraciones de desempeño involucradas con el parámetro " +"*size*. Para un optimo desempeño, es usualmente mejor usar el atributo " +"*arraysize*. Si el parámetro *size* es usado, entonces es mejor retener el " +"mismo valor de una llamada :meth:`fetchmany` a la siguiente." #: ../Doc/library/sqlite3.rst:678 msgid "" @@ -1055,10 +1076,13 @@ msgid "" "the cursor's arraysize attribute can affect the performance of this " "operation. An empty list is returned when no rows are available." msgstr "" +"Obtiene todas las filas (restantes) del resultado de una consulta. Nótese " +"que el atributo *arraysize* del cursor puede afectar el desempeño de esta " +"operación. Una lista vacía será retornada cuando no hay filas disponibles." #: ../Doc/library/sqlite3.rst:684 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." -msgstr "" +msgstr "Cierra el cursor ahora (en lugar que cuando ``__del__`` es llamado)" #: ../Doc/library/sqlite3.rst:686 msgid "" @@ -1066,6 +1090,9 @@ msgid "" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" +"El cursor no será usable de este punto en adelante; una exepción :exc:" +"`ProgrammingError` será lanzada si se intenta cualquier operación con el " +"cursor." #: ../Doc/library/sqlite3.rst:691 msgid "" @@ -1073,12 +1100,17 @@ msgid "" "this attribute, the database engine's own support for the determination of " "\"rows affected\"/\"rows selected\" is quirky." msgstr "" +"A pesar de que la clase :class:`Cursor` del módulo :mod:`sqlite3` implementa " +"este atributo, el propio soporte del motor de base de datos para la " +"determinación de \"filas afectadas\"/\"filas seleccionadas\" es raro." #: ../Doc/library/sqlite3.rst:695 msgid "" "For :meth:`executemany` statements, the number of modifications are summed " "up into :attr:`rowcount`." msgstr "" +"Para sentencias :meth:`executemany`, el número de modificaciones se resumen " +"en :attr:`rowcount`." #: ../Doc/library/sqlite3.rst:698 msgid "" @@ -1088,12 +1120,20 @@ msgid "" "includes ``SELECT`` statements because we cannot determine the number of " "rows a query produced until all rows were fetched." msgstr "" +"Cómo lo requiere la especificación Python DB API, el atributo :attr:" +"`rowcount` \"es -1 en caso de que ``executeXX()`` no haya sido ejecutada en " +"el cursor o en el *rowcount* de la última operación no haya sido determinada " +"por la interface\". Esto incluye sentencias ``SELECT`` porque no podemos " +"determinar el número de filas que una consulta produce hasta que todas las " +"filas sean obtenidas." #: ../Doc/library/sqlite3.rst:704 msgid "" "With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if you make " "a ``DELETE FROM table`` without any condition." msgstr "" +"Con versiones de SQLite anteriores a 3.6.5, :attr:`rowcount` es configurado " +"a 0 si se hace un ``DELETE FROM table`` sin ninguna condición." #: ../Doc/library/sqlite3.rst:709 msgid "" @@ -1103,16 +1143,23 @@ msgid "" "or when :meth:`executemany` is called, :attr:`lastrowid` is set to :const:" "`None`." msgstr "" +"Este atributo de solo lectura provee el *rowid* de la última fila " +"modificada. Solo se configura si se emite una sentencia ``INSERT`` o " +"``REPLACE`` usando el método :meth:`execute`. Para otras operaciones " +"diferentes a ``INSERT`` o ``REPLACE`` o cuando :meth:`executemany` es " +"llamado, attr:`lastrowid` es configurado a :const:`None`." #: ../Doc/library/sqlite3.rst:715 msgid "" "If the ``INSERT`` or ``REPLACE`` statement failed to insert the previous " "successful rowid is returned." msgstr "" +"Si la sentencia ``INSERT`` o ``REPLACE`` no se pudo insertar, se retorna el " +"anterior *rowid* exitoso." #: ../Doc/library/sqlite3.rst:718 msgid "Added support for the ``REPLACE`` statement." -msgstr "" +msgstr "Se agregó soporte para sentencias ``REPLACE``." #: ../Doc/library/sqlite3.rst:723 msgid "" @@ -1120,6 +1167,9 @@ msgid "" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" +"Atributo de lectura/escritura que controla el número de filas retornadas " +"por :meth:`fetchmany`. El valor por defecto es 1, lo cual significa que una " +"única fila será obtenida por llamada." #: ../Doc/library/sqlite3.rst:728 msgid "" @@ -1127,10 +1177,15 @@ msgid "" "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are :const:`None`." msgstr "" +"Este atributo de solo lectura provee el nombre de las columnas de la última " +"consulta. Para ser compatible con *Python DB API*, retorna una 7-tupla para " +"cada columna en donde los últimos seis ítems de cada tupla son :const:`None`." #: ../Doc/library/sqlite3.rst:732 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" +"También es configurado para sentencias ``SELECT`` sin ninguna fila " +"coincidente." #: ../Doc/library/sqlite3.rst:736 msgid "" @@ -1139,6 +1194,10 @@ msgid "" "calling :meth:`con.cursor() ` will have a :attr:" "`connection` attribute that refers to *con*::" msgstr "" +"Este atributo de solo lectura provee la :class:`Connection` de la base de " +"datos SQLite usada por el objeto :class:`Cursor`. Un objeto :class:`Cursor` " +"creado por la llamada de :meth:`con.cursor() ` tendrá un " +"atributo :attr:`connection` que se fiere a *con*::" #: ../Doc/library/sqlite3.rst:749 msgid "Row Objects" From d368fbc35afddb7d067154534ab76af4470675f3 Mon Sep 17 00:00:00 2001 From: Goerman Date: Tue, 6 Oct 2020 12:24:50 -0500 Subject: [PATCH 56/95] =?UTF-8?q?64%:=20Clase=20Row,=20m=C3=A9todo=20keys?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 7c70b323cb..98008cd087 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-06 09:54-0500\n" +"PO-Revision-Date: 2020-10-06 12:22-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1090,7 +1090,7 @@ msgid "" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -"El cursor no será usable de este punto en adelante; una exepción :exc:" +"El cursor no será usable de este punto en adelante; una excepción :exc:" "`ProgrammingError` será lanzada si se intenta cualquier operación con el " "cursor." @@ -1197,11 +1197,11 @@ msgstr "" "Este atributo de solo lectura provee la :class:`Connection` de la base de " "datos SQLite usada por el objeto :class:`Cursor`. Un objeto :class:`Cursor` " "creado por la llamada de :meth:`con.cursor() ` tendrá un " -"atributo :attr:`connection` que se fiere a *con*::" +"atributo :attr:`connection` que se refiere a *con*::" #: ../Doc/library/sqlite3.rst:749 msgid "Row Objects" -msgstr "" +msgstr "Objetos *Row*" #: ../Doc/library/sqlite3.rst:753 msgid "" @@ -1209,36 +1209,46 @@ msgid "" "row_factory` for :class:`Connection` objects. It tries to mimic a tuple in " "most of its features." msgstr "" +"Una instancia :class:`Row` sirve como una altamente optimizada :attr:" +"`~Connection.row_factory` para objetos :class:`Connection`. Esta trata de " +"imitar una tupla en su mayoría de características." #: ../Doc/library/sqlite3.rst:757 msgid "" "It supports mapping access by column name and index, iteration, " "representation, equality testing and :func:`len`." msgstr "" +"Soporta acceso mapeado por nombre de columna e índice, iteración, " +"representación, pruebas de igualdad y :func:`len`." #: ../Doc/library/sqlite3.rst:760 msgid "" "If two :class:`Row` objects have exactly the same columns and their members " "are equal, they compare equal." msgstr "" +"Si dos objetos :class:`Row` tienen exactamente las mismas columnas y sus " +"miembros son iguales, entonces se comparan a igual." #: ../Doc/library/sqlite3.rst:765 msgid "" "This method returns a list of column names. Immediately after a query, it is " "the first member of each tuple in :attr:`Cursor.description`." msgstr "" +"Este método retorna una lista con los nombre de columnas. Inmediatamente " +"después de una consulta, es el primer miembro de cada tupla en :attr:`Cursor." +"description`." #: ../Doc/library/sqlite3.rst:768 msgid "Added support of slicing." -msgstr "" +msgstr "Agrega soporte de segmentación." #: ../Doc/library/sqlite3.rst:771 msgid "Let's assume we initialize a table as in the example given above::" -msgstr "" +msgstr "Vamos a asumir que se inicializa una tabla como en el ejemplo dado::" #: ../Doc/library/sqlite3.rst:783 msgid "Now we plug :class:`Row` in::" -msgstr "" +msgstr "Ahora conectamos :class:`Row` en::" #: ../Doc/library/sqlite3.rst:815 msgid "Exceptions" From fe1680ced39a844dd97147832ebc2d77d68ac7d0 Mon Sep 17 00:00:00 2001 From: Goerman Date: Tue, 6 Oct 2020 19:39:15 -0500 Subject: [PATCH 57/95] 68%: Excepciones: Warning, Error, DatabaseError, IntegrityError, ProgrammingError, OperationalError, NotSupportedError --- library/sqlite3.po | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 98008cd087..f2f6170f5e 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-06 12:22-0500\n" +"PO-Revision-Date: 2020-10-06 19:36-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1005,8 +1005,9 @@ msgid "" "using an :term:`iterator` yielding parameters instead of a sequence." msgstr "" "Ejecuta un comando SQL contra todas las secuencias de parámetros o mapeos " -"encontrados en la secuencia *seq_of_parameters*. El módulo también permite " -"usar un :term:`iterator` produciendo parámetros en lugar de una secuencia." +"encontrados en la secuencia *seq_of_parameters*. El módulo :mod:`sqlite3` " +"también permite usar un :term:`iterator` produciendo parámetros en lugar de " +"una secuencia." #: ../Doc/library/sqlite3.rst:636 msgid "Here's a shorter example using a :term:`generator`:" @@ -1147,7 +1148,7 @@ msgstr "" "modificada. Solo se configura si se emite una sentencia ``INSERT`` o " "``REPLACE`` usando el método :meth:`execute`. Para otras operaciones " "diferentes a ``INSERT`` o ``REPLACE`` o cuando :meth:`executemany` es " -"llamado, attr:`lastrowid` es configurado a :const:`None`." +"llamado, :attr:`lastrowid` es configurado a :const:`None`." #: ../Doc/library/sqlite3.rst:715 msgid "" @@ -1252,27 +1253,33 @@ msgstr "Ahora conectamos :class:`Row` en::" #: ../Doc/library/sqlite3.rst:815 msgid "Exceptions" -msgstr "" +msgstr "Excepciones" #: ../Doc/library/sqlite3.rst:819 msgid "A subclass of :exc:`Exception`." -msgstr "" +msgstr "Una subclase de :exe:`Exception`." #: ../Doc/library/sqlite3.rst:823 msgid "" "The base class of the other exceptions in this module. It is a subclass of :" "exc:`Exception`." msgstr "" +"La clase base de otras excepciones en este módulo. Es una subclase de :exc:" +"`Exception`." #: ../Doc/library/sqlite3.rst:828 msgid "Exception raised for errors that are related to the database." msgstr "" +"Excepción lanzada para errores que están relacionados con la base de datos." #: ../Doc/library/sqlite3.rst:832 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" +"Excepción lanzada cuando la integridad de la base de datos es afectada, e.g. " +"la comprobación de una llave foránea falla. Es una subclase de :exc:" +"`DatabaseError`." #: ../Doc/library/sqlite3.rst:837 msgid "" @@ -1280,6 +1287,9 @@ msgid "" "exists, syntax error in the SQL statement, wrong number of parameters " "specified, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" +"Excepción lanzada por errores de programación, e.g. tabla no encontrada o ya " +"existente, error de sintaxis en la sentencia SQL, número equivocado de " +"parámetros especificados, etc. Es una subclase de :exc:`DatabaseError`." #: ../Doc/library/sqlite3.rst:843 msgid "" @@ -1288,6 +1298,11 @@ msgid "" "disconnect occurs, the data source name is not found, a transaction could " "not be processed, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" +"Excepción lanzada por errores relacionados por la operación de la base de " +"datos y no necesariamente bajo el control del programador, e.g. ocurre una " +"desconexión inesperada, el nombre de la fuente de datos no es encontrado, " +"una transacción no pudo ser procesada, etc. Es una subclase de :exc:" +"``DatabaseError`." #: ../Doc/library/sqlite3.rst:850 msgid "" @@ -1296,6 +1311,10 @@ msgid "" "method on a connection that does not support transaction or has transactions " "turned off. It is a subclass of :exc:`DatabaseError`." msgstr "" +"Excepción lanzada en caso de que un método o API de base de datos fuera " +"usada en una base de datos que no la soporta, e.g. llamando el método :meth:" +"`~Connection.rollback` en una conexión que no soporta la transacción o tiene " +"deshabilitada las transacciones. Es una subclase de :exc:`DatabaseError`." #: ../Doc/library/sqlite3.rst:859 msgid "SQLite and Python types" From b05e959f71f7123b9933bc55d3ae0794890d9210 Mon Sep 17 00:00:00 2001 From: Goerman Date: Tue, 6 Oct 2020 21:26:14 -0500 Subject: [PATCH 58/95] 77%: Tipos de Python y SQLite --- dictionaries/library_sqlite3.txt | 1 + library/sqlite3.po | 43 +++++++++++++++++++------------- 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/dictionaries/library_sqlite3.txt b/dictionaries/library_sqlite3.txt index e315b6d659..f6526cf573 100644 --- a/dictionaries/library_sqlite3.txt +++ b/dictionaries/library_sqlite3.txt @@ -1,3 +1,4 @@ prototipar Configurarla autorizador +desconexión diff --git a/library/sqlite3.po b/library/sqlite3.po index f2f6170f5e..cba2ffbaef 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-06 19:36-0500\n" +"PO-Revision-Date: 2020-10-06 21:24-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1302,7 +1302,7 @@ msgstr "" "datos y no necesariamente bajo el control del programador, e.g. ocurre una " "desconexión inesperada, el nombre de la fuente de datos no es encontrado, " "una transacción no pudo ser procesada, etc. Es una subclase de :exc:" -"``DatabaseError`." +"`DatabaseError`." #: ../Doc/library/sqlite3.rst:850 msgid "" @@ -1318,78 +1318,83 @@ msgstr "" #: ../Doc/library/sqlite3.rst:859 msgid "SQLite and Python types" -msgstr "" +msgstr "SQLite y tipos de Python" #: ../Doc/library/sqlite3.rst:863 msgid "Introduction" -msgstr "" +msgstr "Introducción" #: ../Doc/library/sqlite3.rst:865 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" +"SQLite soporta nativamente los siguientes tipos: ``NULL``, ``INTEGER``, " +"``REAL``, ``TEXT``, ``BLOB``." #: ../Doc/library/sqlite3.rst:868 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" +"Los siguientes tipos de Python se pueden enviar a SQLite sin problema alguno:" #: ../Doc/library/sqlite3.rst:871 ../Doc/library/sqlite3.rst:888 msgid "Python type" -msgstr "" +msgstr "Tipo de Python" #: ../Doc/library/sqlite3.rst:871 ../Doc/library/sqlite3.rst:888 msgid "SQLite type" -msgstr "" +msgstr "Tipo de SQLite" #: ../Doc/library/sqlite3.rst:873 ../Doc/library/sqlite3.rst:890 msgid ":const:`None`" -msgstr "" +msgstr ":const:`None`" #: ../Doc/library/sqlite3.rst:873 ../Doc/library/sqlite3.rst:890 msgid "``NULL``" -msgstr "" +msgstr "``NULL``" #: ../Doc/library/sqlite3.rst:875 ../Doc/library/sqlite3.rst:892 msgid ":class:`int`" -msgstr "" +msgstr ":class:`int`" #: ../Doc/library/sqlite3.rst:875 ../Doc/library/sqlite3.rst:892 msgid "``INTEGER``" -msgstr "" +msgstr "``INTEGER``" #: ../Doc/library/sqlite3.rst:877 ../Doc/library/sqlite3.rst:894 msgid ":class:`float`" -msgstr "" +msgstr ":class:`float`" #: ../Doc/library/sqlite3.rst:877 ../Doc/library/sqlite3.rst:894 msgid "``REAL``" -msgstr "" +msgstr "``REAL``" #: ../Doc/library/sqlite3.rst:879 msgid ":class:`str`" -msgstr "" +msgstr ":class:`str`" #: ../Doc/library/sqlite3.rst:879 ../Doc/library/sqlite3.rst:896 msgid "``TEXT``" -msgstr "" +msgstr "``TEXT``" #: ../Doc/library/sqlite3.rst:881 ../Doc/library/sqlite3.rst:899 msgid ":class:`bytes`" -msgstr "" +msgstr ":class:`bytes`" #: ../Doc/library/sqlite3.rst:881 ../Doc/library/sqlite3.rst:899 msgid "``BLOB``" -msgstr "" +msgstr "``BLOB``" #: ../Doc/library/sqlite3.rst:885 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" +"De esta forma es como los tipos SQLite son convertidos a tipos de Python por " +"defecto:" #: ../Doc/library/sqlite3.rst:896 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" -msgstr "" +msgstr "depende de :attr:`~Connection.text_factory`, por defecto :class:`str` " #: ../Doc/library/sqlite3.rst:902 msgid "" @@ -1398,6 +1403,10 @@ msgid "" "adaptation, and you can let the :mod:`sqlite3` module convert SQLite types " "to different Python types via converters." msgstr "" +"El sistema de tipos del módulo :mod:`sqlite3` es extensible en dos formas: " +"se puede almacenar tipos de Python adicionales en una base de datos SQLite " +"vía adaptación de objetos, y se puede permitir que el módulo :mod:`sqlite3` " +"convierta tipos SQLite a diferentes tipos de Python vía convertidores." #: ../Doc/library/sqlite3.rst:909 msgid "Using adapters to store additional Python types in SQLite databases" From 7a20a72dc99d62ce471111a233b90c930a0d3131 Mon Sep 17 00:00:00 2001 From: Goerman Date: Tue, 6 Oct 2020 22:08:39 -0500 Subject: [PATCH 59/95] 78%: Usando adaptadores para almacenar tipos adicionales de Python en SQLite --- library/sqlite3.po | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index cba2ffbaef..578cc7872e 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-06 21:24-0500\n" +"PO-Revision-Date: 2020-10-06 22:07-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1257,7 +1257,7 @@ msgstr "Excepciones" #: ../Doc/library/sqlite3.rst:819 msgid "A subclass of :exc:`Exception`." -msgstr "Una subclase de :exe:`Exception`." +msgstr "Una subclase de :exc:`Exception`." #: ../Doc/library/sqlite3.rst:823 msgid "" @@ -1329,7 +1329,7 @@ msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -"SQLite soporta nativamente los siguientes tipos: ``NULL``, ``INTEGER``, " +"SQLite soporta de forma nativa los siguientes tipos: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." #: ../Doc/library/sqlite3.rst:868 @@ -1411,6 +1411,8 @@ msgstr "" #: ../Doc/library/sqlite3.rst:909 msgid "Using adapters to store additional Python types in SQLite databases" msgstr "" +"Usando adaptadores para almacenar tipos adicionales de Python en bases de " +"datos SQLite" #: ../Doc/library/sqlite3.rst:911 msgid "" @@ -1419,12 +1421,19 @@ msgid "" "sqlite3 module's supported types for SQLite: one of NoneType, int, float, " "str, bytes." msgstr "" +"Como se describió anteriormente, SQLite soporta solamente un conjunto " +"limitado de tipos de forma nativa. Para usar otros tipos de Python con " +"SQLite, se deben **adaptar** a uno de los tipos de datos soportados por el " +"módulo sqlite3 para SQLite: uno de *NoneType*, entero, flotante, cadena de " +"texto o *bytes*." #: ../Doc/library/sqlite3.rst:916 msgid "" "There are two ways to enable the :mod:`sqlite3` module to adapt a custom " "Python type to one of the supported ones." msgstr "" +"Hay dos formas de habilitar el módulo :mod:`sqlite3` para adaptar un tipo " +"personalizado de Python a alguno de los admitidos." #: ../Doc/library/sqlite3.rst:921 msgid "Letting your object adapt itself" From 6618d0f5a9b3fad0918fadf29ff9ba2cb46b74d9 Mon Sep 17 00:00:00 2001 From: Goerman Date: Wed, 7 Oct 2020 16:15:35 -0500 Subject: [PATCH 60/95] 80%: Adaptadores auto adaptables --- library/sqlite3.po | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 578cc7872e..f83029053b 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-06 22:07-0500\n" +"PO-Revision-Date: 2020-10-07 16:14-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1437,13 +1437,15 @@ msgstr "" #: ../Doc/library/sqlite3.rst:921 msgid "Letting your object adapt itself" -msgstr "" +msgstr "Permitiéndole al objeto auto adaptarse" #: ../Doc/library/sqlite3.rst:923 msgid "" "This is a good approach if you write the class yourself. Let's suppose you " "have a class like this::" msgstr "" +"Este es un buen enfoque si uno mismo escríbe la clase. Vamos a suponer que " +"se tiene una clase como esta::" #: ../Doc/library/sqlite3.rst:930 msgid "" @@ -1454,6 +1456,12 @@ msgid "" "protocol)`` which must return the converted value. The parameter *protocol* " "will be :class:`PrepareProtocol`." msgstr "" +"Ahora se quiere almacenar el punto en una columna SQLite. Primero se debe " +"elegir un tipo de los soportados para representar el punto. Se va a usar " +"cadena de texto separando las coordenadas usando un punto y coma. Luego se " +"necesita proveer a la clase el método ``__conform__(self, protocol)`` el " +"cuál deberá retornar el valor convertido. El parámetro *protocol* será :" +"class:`PrepareProtocol`." #: ../Doc/library/sqlite3.rst:940 msgid "Registering an adapter callable" From 30bec25153c848b6ac17e8ba85508260e0ad8053 Mon Sep 17 00:00:00 2001 From: Goerman Date: Fri, 16 Oct 2020 19:37:02 -0500 Subject: [PATCH 61/95] 93%: Controlando transacciones --- library/sqlite3.po | 81 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 69 insertions(+), 12 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index f83029053b..84220177fd 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-07 16:14-0500\n" +"PO-Revision-Date: 2020-10-16 19:36-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1394,7 +1394,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:896 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" -msgstr "depende de :attr:`~Connection.text_factory`, por defecto :class:`str` " +msgstr "depende de :attr:`~Connection.text_factory`, por defecto :class:`str`" #: ../Doc/library/sqlite3.rst:902 msgid "" @@ -1444,7 +1444,7 @@ msgid "" "This is a good approach if you write the class yourself. Let's suppose you " "have a class like this::" msgstr "" -"Este es un buen enfoque si uno mismo escríbe la clase. Vamos a suponer que " +"Este es un buen enfoque si uno mismo escribe la clase. Vamos a suponer que " "se tiene una clase como esta::" #: ../Doc/library/sqlite3.rst:930 @@ -1465,7 +1465,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:940 msgid "Registering an adapter callable" -msgstr "" +msgstr "Registrando un adaptador invocable" #: ../Doc/library/sqlite3.rst:942 msgid "" @@ -1473,6 +1473,9 @@ msgid "" "string representation and register the function with :meth:" "`register_adapter`." msgstr "" +"La otra posibilidad es crear una función que convierta el tipo a " +"representación de cadena de texto y registre la función con :meth:" +"`register_adapter`." #: ../Doc/library/sqlite3.rst:947 msgid "" @@ -1481,10 +1484,14 @@ msgid "" "suppose we want to store :class:`datetime.datetime` objects not in ISO " "representation, but as a Unix timestamp." msgstr "" +"El módulo :mod:`sqlite3` tiene dos adaptadores por defecto para Python " +"integrado :class:`datetime.date` y tipos :class:`datetime.datetime`. Ahora " +"vamos a suponer que queremos almacenar objetos :class:`datetime.datetime` no " +"en representación ISO, sino como una marca de tiempo Unix." #: ../Doc/library/sqlite3.rst:956 msgid "Converting SQLite values to custom Python types" -msgstr "" +msgstr "Convertir valores SQLite a tipos de Python personalizados" #: ../Doc/library/sqlite3.rst:958 msgid "" @@ -1492,42 +1499,54 @@ msgid "" "it really useful we need to make the Python to SQLite to Python roundtrip " "work." msgstr "" +"Escribiendo un adaptador que permita enviar tipos personalizados de Python a " +"SQLite. Pero para hacer esto realmente útil, tenemos que hace el flujo " +"Python a SQLite a Python." #: ../Doc/library/sqlite3.rst:961 msgid "Enter converters." -msgstr "" +msgstr "Ingresar convertidores." #: ../Doc/library/sqlite3.rst:963 msgid "" "Let's go back to the :class:`Point` class. We stored the x and y coordinates " "separated via semicolons as strings in SQLite." msgstr "" +"Regresemos a la clase :class:`Point`. Se almacena las coordenadas x y y de " +"forma separada por punto y coma como una cadena de texto en SQLite." #: ../Doc/library/sqlite3.rst:966 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`Point` object from it." msgstr "" +"Primero, se define una función convertidora que acepta la cadena de texto " +"como un parámetro y construye un objeto :class:`Point` de ahí." #: ../Doc/library/sqlite3.rst:971 msgid "" "Converter functions **always** get called with a :class:`bytes` object, no " "matter under which data type you sent the value to SQLite." msgstr "" +"Las funciones convertidoras **always** se llamaran con un objeto :class:" +"`bytes`, no importa bajo que tipo de dato se envío el valor a SQLite." #: ../Doc/library/sqlite3.rst:980 msgid "" "Now you need to make the :mod:`sqlite3` module know that what you select " "from the database is actually a point. There are two ways of doing this:" msgstr "" +"Ahora se necesita hacer que el módulo :mod:`sqlite3` conozca que lo que tu " +"seleccionaste de la base de datos es de hecho un punto. Hay dos formas de " +"hacer esto:" #: ../Doc/library/sqlite3.rst:983 msgid "Implicitly via the declared type" -msgstr "" +msgstr "Implícito vía el tipo declarado" #: ../Doc/library/sqlite3.rst:985 msgid "Explicitly via the column name" -msgstr "" +msgstr "Explícito vía el nombre de la columna" #: ../Doc/library/sqlite3.rst:987 msgid "" @@ -1535,20 +1554,25 @@ msgid "" "entries for the constants :const:`PARSE_DECLTYPES` and :const:" "`PARSE_COLNAMES`." msgstr "" +"Ambas formas están descritas en la sección :ref:`sqlite3-module-contents`, " +"en las entradas para las constantes :const:`PARSE_DECLTYPES` y :const:" +"`PARSE_COLNAMES`." #: ../Doc/library/sqlite3.rst:990 msgid "The following example illustrates both approaches." -msgstr "" +msgstr "El siguiente ejemplo ilustra ambos enfoques." #: ../Doc/library/sqlite3.rst:996 msgid "Default adapters and converters" -msgstr "" +msgstr "Adaptadores y convertidores por defecto" #: ../Doc/library/sqlite3.rst:998 msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" +"Hay adaptadores por defecto para los tipos *date* y *datetime* en el módulo " +"*datetime* Ellos serán enviados como *dates* ISO / *timestamps* ISO a SQLite." #: ../Doc/library/sqlite3.rst:1001 msgid "" @@ -1556,6 +1580,9 @@ msgid "" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" +"Los convertidores por default están registrados bajo el nombre \"date\" " +"para :class:`datetime.date` y bajo el mismo nombre para \"timestamp\" para :" +"class:`datetime.datetime`." #: ../Doc/library/sqlite3.rst:1005 msgid "" @@ -1563,10 +1590,13 @@ msgid "" "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" +"De esta forma, se puede usar *date*/*timestamps* para Python sin adicional " +"ajuste en la mayoría de los casos. El formato de los adaptadores también es " +"compatible con las funciones experimentales de SQLite *date*/*time*." #: ../Doc/library/sqlite3.rst:1009 msgid "The following example demonstrates this." -msgstr "" +msgstr "El siguiente ejemplo demuestra esto." #: ../Doc/library/sqlite3.rst:1013 msgid "" @@ -1574,16 +1604,21 @@ msgid "" "its value will be truncated to microsecond precision by the timestamp " "converter." msgstr "" +"Si un *timestamp* almacenado en SQLite tiene una parte fraccional mayor a 6 " +"números, este valor será truncado a microsegundos de precisión por el " +"convertidor de *timestamp*." #: ../Doc/library/sqlite3.rst:1021 msgid "Controlling Transactions" -msgstr "" +msgstr "Controlando transacciones" #: ../Doc/library/sqlite3.rst:1023 msgid "" "The underlying ``sqlite3`` library operates in ``autocommit`` mode by " "default, but the Python :mod:`sqlite3` module by default does not." msgstr "" +"La librería subyacente ``sqlite3`` por defecto opera en modo ``autocommit``, " +"pero el módulo de Python :mod:`sqlite3` no." #: ../Doc/library/sqlite3.rst:1026 msgid "" @@ -1592,6 +1627,11 @@ msgid "" "``autocommit`` mode, and a ``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that " "ends the outermost transaction, turns ``autocommit`` mode back on." msgstr "" +"El modo ``autocommit`` significa que la sentencias que modifican la base de " +"datos toman efecto de forma inmediata. Una sentencia ``BEGIN`` o " +"``SAVEPOINT`` deshabilitan el modo ``autocommit``, y un ``COMMIT``, un " +"``ROLLBACK``, o un ``RELEASE`` que terminan la transacción más externa, " +"habilitan de nuevo el modo ``autocommit``." #: ../Doc/library/sqlite3.rst:1031 msgid "" @@ -1599,6 +1639,9 @@ msgid "" "implicitly before a Data Modification Language (DML) statement (i.e. " "``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." msgstr "" +"El módulo de Python :mod:`sqlite3` por defecto emite una sentencia ``BEGIN`` " +"implícita antes de una sentencia tipo Lenguaje Manipulación de Datos (DML) " +"(es decir ``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." #: ../Doc/library/sqlite3.rst:1035 msgid "" @@ -1609,6 +1652,12 @@ msgid "" "specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and " "``EXCLUSIVE``." msgstr "" +"Se puede controlar en que tipo de sentencias ``BEGIN`` :mod:`sqlite3` " +"implícitamente ejecuta vía el parámetro *insolation_level* a la función de " +"llamada :func:`connect`, o vía las propiedades de conexión :attr:" +"`isolation_level`. Si no se especifica *isolation_level*, se usa un plano " +"``BEGIN``, el cuál es equivalente a especificar ``DEFERRED``. Otros posibles " +"valores son ``IMMEDIATE`` and ``EXCLUSIVE``." #: ../Doc/library/sqlite3.rst:1042 msgid "" @@ -1619,12 +1668,20 @@ msgid "" "``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your " "code." msgstr "" +"Se puede deshabilitar el gestión implícita de transacciones del módulo :mod:" +"`sqlite3` con la configuración :attr:`isolation_level` a ``None``. Esto " +"dejará la subyacente biblioteca operando en modo ``autocommit``. Se puede " +"controlar completamente le estado de la transacción emitiendo explícitamente " +"sentencias ``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, y ``RELEASE`` en el " +"código." #: ../Doc/library/sqlite3.rst:1048 msgid "" ":mod:`sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" +":mod:`sqlite3` utilizaba implícitamente *commit* en transacciones antes de " +"sentencias DDL. Este ya no es el caso." #: ../Doc/library/sqlite3.rst:1054 msgid "Using :mod:`sqlite3` efficiently" From 48cb6a1bc073080e2bc1cac227a2da7625df54c8 Mon Sep 17 00:00:00 2001 From: Goerman Date: Fri, 16 Oct 2020 20:07:55 -0500 Subject: [PATCH 62/95] =?UTF-8?q?94%:=20Usando=20m=C3=A9todos=20atajo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 84220177fd..62807e7ff6 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-16 19:36-0500\n" +"PO-Revision-Date: 2020-10-16 20:07-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1520,7 +1520,7 @@ msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`Point` object from it." msgstr "" -"Primero, se define una función convertidora que acepta la cadena de texto " +"Primero, se define una función de conversión que acepta la cadena de texto " "como un parámetro y construye un objeto :class:`Point` de ahí." #: ../Doc/library/sqlite3.rst:971 @@ -1528,7 +1528,7 @@ msgid "" "Converter functions **always** get called with a :class:`bytes` object, no " "matter under which data type you sent the value to SQLite." msgstr "" -"Las funciones convertidoras **always** se llamaran con un objeto :class:" +"Las funciones de conversión **always** se llamaran con un objeto :class:" "`bytes`, no importa bajo que tipo de dato se envío el valor a SQLite." #: ../Doc/library/sqlite3.rst:980 @@ -1685,11 +1685,11 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1054 msgid "Using :mod:`sqlite3` efficiently" -msgstr "" +msgstr "Usando :mod:`sqlite3` eficientemente" #: ../Doc/library/sqlite3.rst:1058 msgid "Using shortcut methods" -msgstr "" +msgstr "Usando métodos atajo" #: ../Doc/library/sqlite3.rst:1060 msgid "" @@ -1702,6 +1702,12 @@ msgid "" "iterate over it directly using only a single call on the :class:`Connection` " "object." msgstr "" +"Usando los métodos no estándar :meth:`execute`, :meth:`executemany` and :" +"meth:`executescript` del objeto :class:`Connection`, el código puede ser " +"escrito más consistentemente porqué no se tiene que crear explícitamente los " +"(a menudo superfluos) objetos :class:`Cursor`. De esta forma, se puede " +"ejecutar una sentencia ``SELECT`` e iterar directamente sobre él, solamente " +"usando una única llamada al objeto :class:`Connection`." #: ../Doc/library/sqlite3.rst:1072 msgid "Accessing columns by name instead of by index" From cecab43563b004585a3cbdec14947038865b4373 Mon Sep 17 00:00:00 2001 From: Goerman Date: Fri, 16 Oct 2020 20:34:26 -0500 Subject: [PATCH 63/95] =?UTF-8?q?96%:=20Accediendo=20a=20las=20columnas=20?= =?UTF-8?q?por=20nombre=20enlugar=20de=20=C3=ADndice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 62807e7ff6..e6248c6231 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-16 20:07-0500\n" +"PO-Revision-Date: 2020-10-16 20:32-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1702,28 +1702,34 @@ msgid "" "iterate over it directly using only a single call on the :class:`Connection` " "object." msgstr "" -"Usando los métodos no estándar :meth:`execute`, :meth:`executemany` and :" -"meth:`executescript` del objeto :class:`Connection`, el código puede ser " -"escrito más consistentemente porqué no se tiene que crear explícitamente los " -"(a menudo superfluos) objetos :class:`Cursor`. De esta forma, se puede " -"ejecutar una sentencia ``SELECT`` e iterar directamente sobre él, solamente " -"usando una única llamada al objeto :class:`Connection`." +"Usando los métodos no estándar :meth:`execute`, :meth:`executemany` y :meth:" +"`executescript` del objeto :class:`Connection`, el código puede ser escrito " +"más consistentemente porqué no se tiene que crear explícitamente los (a " +"menudo superfluos) objetos :class:`Cursor`. En lugar, los objetos de la :" +"class:`Cursor` son creados implícitamente y estos métodos atajo retornan los " +"objetos *cursor*. De esta forma, se puede ejecutar una sentencia ``SELECT`` " +"e iterar directamente sobre él, solamente usando una única llamada al " +"objeto :class:`Connection`." #: ../Doc/library/sqlite3.rst:1072 msgid "Accessing columns by name instead of by index" -msgstr "" +msgstr "Accediendo a las columnas por el nombre en lugar del índice" #: ../Doc/library/sqlite3.rst:1074 msgid "" "One useful feature of the :mod:`sqlite3` module is the built-in :class:" "`sqlite3.Row` class designed to be used as a row factory." msgstr "" +"Una característica útil del módulo :mod:`sqlite3` es la clase incluida :" +"class:`sqlite3.Row` diseñada para ser usada como una fabrica de filas." #: ../Doc/library/sqlite3.rst:1077 msgid "" "Rows wrapped with this class can be accessed both by index (like tuples) and " "case-insensitively by name:" msgstr "" +"Filas envueltas con esta clase pueden ser accedidas tanto por índice (al " +"igual que tuplas) como por nombre insensible a mayúsculas o minúsculas:" #: ../Doc/library/sqlite3.rst:1084 msgid "Using the connection as a context manager" From 6dcaef2bb562e0727170e8f064a6c771ed3ab0c0 Mon Sep 17 00:00:00 2001 From: Goerman Date: Sat, 17 Oct 2020 07:38:12 -0500 Subject: [PATCH 64/95] 100%: Problemas comunes --- library/sqlite3.po | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index e6248c6231..94f5b2f181 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-16 20:32-0500\n" +"PO-Revision-Date: 2020-10-17 07:36-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -1733,7 +1733,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1084 msgid "Using the connection as a context manager" -msgstr "" +msgstr "Usando la conexión como un administrador de contexto" #: ../Doc/library/sqlite3.rst:1086 msgid "" @@ -1741,14 +1741,18 @@ msgid "" "or rollback transactions. In the event of an exception, the transaction is " "rolled back; otherwise, the transaction is committed:" msgstr "" +"Objetos de conexión pueden ser usados como administradores de contexto que " +"automáticamente *commit* o *rollback* transacciones. En el evento de una " +"excepción, la transacción es retrocedida; de otra forma, la transacción es " +"confirmada:" #: ../Doc/library/sqlite3.rst:1095 msgid "Common issues" -msgstr "" +msgstr "Problemas comunes" #: ../Doc/library/sqlite3.rst:1098 msgid "Multithreading" -msgstr "" +msgstr "Multihilo" #: ../Doc/library/sqlite3.rst:1100 msgid "" @@ -1757,16 +1761,22 @@ msgid "" "between threads. If you still try to do so, you will get an exception at " "runtime." msgstr "" +"Versiones antiguas de SQLite tiene problemas compartiendo conexiones entre " +"hilos. Por esto el módulo de Python deshabilito compartir conexiones y " +"cursores entre hilos. Si se quiere intentar esto, se obtendrá una excepción " +"en tiempo de ejecución." #: ../Doc/library/sqlite3.rst:1104 msgid "" "The only exception is calling the :meth:`~Connection.interrupt` method, " "which only makes sense to call from a different thread." msgstr "" +"La única excepción es llamando el método :meth:`~Connection.interrupt`, el " +"cuál solamente hace sentido llamarlo desde un hilo diferente." #: ../Doc/library/sqlite3.rst:1108 msgid "Footnotes" -msgstr "" +msgstr "Notas al pie" #: ../Doc/library/sqlite3.rst:1109 msgid "" @@ -1775,3 +1785,8 @@ msgid "" "compiled without this feature. To get loadable extension support, you must " "pass --enable-loadable-sqlite-extensions to configure." msgstr "" +"El módulo sqlite3 no está compilado con una extensión cargable por defecto, " +"porqué algunas plataformas (notablemente Mac OS X) tienen bibliotecas SQLite " +"compiladas sin esta característica. Para obtener soporte de extensión " +"configurable, se debe pasar --enable-loadable-sqlite-extension para " +"configurar." From ee2654cd1705be2aa3a015e8aae4d46dcf0e14a0 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 18 Oct 2020 18:36:57 -0500 Subject: [PATCH 65/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 94f5b2f181..86e97e1091 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -40,7 +40,7 @@ msgid "" "PostgreSQL or Oracle." msgstr "" "SQLite es una biblioteca de C que provee una base de datos ligera basada en " -"disco, esta no requiere un proceso de servidor separado y permite acceder a " +"disco que no requiere un proceso de servidor separado y permite acceder a " "la base de datos usando una variación no estándar del lenguaje de consulta " "SQL. Algunas aplicaciones pueden usar SQLite para almacenamiento interno. " "También es posible prototipar una aplicación usando SQLite y luego " From ad74ee81030b424fbb3e98ee0ee1912a7a65730e Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 18 Oct 2020 18:47:34 -0500 Subject: [PATCH 66/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 86e97e1091..f6858fecf0 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -98,7 +98,7 @@ msgid "" msgstr "" "Usualmente, las operaciones SQL necesitarán usar valores de variables de " "Python. No se debe ensamblar la consulta usando operaciones de cadena de " -"Python porque es inseguro; haciendo el programa vulnerable a ataques de " +"Python porque hacerlo es inseguro; vuelve el programa vulnerable a ataques de " "inyección SQL (ver este divertido ejemplo de lo que puede salir mal: https://" "xkcd.com/327/ )" From 55263e8b4133cc253275aea725acdf8d896f7fda Mon Sep 17 00:00:00 2001 From: G0erman Date: Sun, 18 Oct 2020 19:04:33 -0500 Subject: [PATCH 67/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index f6858fecf0..6fd9bc78d4 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -131,7 +131,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:89 msgid "This example uses the iterator form::" -msgstr "Este ejemplo usa la forma con el iterador:" +msgstr "Este ejemplo usa la forma con el iterador::" #: ../Doc/library/sqlite3.rst:104 msgid "https://github.com/ghaering/pysqlite" From d219bd33a6e2c1e985d4374bcdd015be77d0568e Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 18:33:26 -0500 Subject: [PATCH 68/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 6fd9bc78d4..b56766f7a7 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1499,7 +1499,7 @@ msgid "" "it really useful we need to make the Python to SQLite to Python roundtrip " "work." msgstr "" -"Escribiendo un adaptador que permita enviar tipos personalizados de Python a " +"Escribir un adaptador permite enviar escritos personalizados de Python a " "SQLite. Pero para hacer esto realmente útil, tenemos que hace el flujo " "Python a SQLite a Python." From 1e10dec383cc09012422e3a3eb5c04c41a931ca8 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 18:35:33 -0500 Subject: [PATCH 69/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index b56766f7a7..569216a9a5 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1474,7 +1474,7 @@ msgid "" "`register_adapter`." msgstr "" "La otra posibilidad es crear una función que convierta el tipo a " -"representación de cadena de texto y registre la función con :meth:" +"representación de cadena de texto y registrar la función con :meth:" "`register_adapter`." #: ../Doc/library/sqlite3.rst:947 From 9005f1cc3fee1cf772c6dd204b014909cada6167 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 18:36:29 -0500 Subject: [PATCH 70/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 569216a9a5..30a35df20e 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1473,7 +1473,7 @@ msgid "" "string representation and register the function with :meth:" "`register_adapter`." msgstr "" -"La otra posibilidad es crear una función que convierta el tipo a " +"La otra posibilidad es crear una función que convierta el escrito a " "representación de cadena de texto y registrar la función con :meth:" "`register_adapter`." From 14849a37aa44eb543340d9a5b4a1eead5c256f06 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 18:39:05 -0500 Subject: [PATCH 71/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 30a35df20e..df13421f7a 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1512,7 +1512,7 @@ msgid "" "Let's go back to the :class:`Point` class. We stored the x and y coordinates " "separated via semicolons as strings in SQLite." msgstr "" -"Regresemos a la clase :class:`Point`. Se almacena las coordenadas x y y de " +"Regresemos a la clase :class:`Point`. Se almacena las coordenadas x e y de " "forma separada por punto y coma como una cadena de texto en SQLite." #: ../Doc/library/sqlite3.rst:966 From 6fccf125ada986072a84653951779f0cde09bd35 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 18:40:17 -0500 Subject: [PATCH 72/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index df13421f7a..1b83ebeb29 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1528,7 +1528,7 @@ msgid "" "Converter functions **always** get called with a :class:`bytes` object, no " "matter under which data type you sent the value to SQLite." msgstr "" -"Las funciones de conversión **always** se llamaran con un objeto :class:" +"Las funciones de conversión **siempre** son llamadas con un objeto :class:" "`bytes`, no importa bajo que tipo de dato se envío el valor a SQLite." #: ../Doc/library/sqlite3.rst:980 From 8921584bbdcce1992d2d4a888e106a1a13b6bc5a Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 18:41:36 -0500 Subject: [PATCH 73/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 1b83ebeb29..97d7f47e0c 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1542,7 +1542,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:983 msgid "Implicitly via the declared type" -msgstr "Implícito vía el tipo declarado" +msgstr "Implícitamente vía el tipo declarado" #: ../Doc/library/sqlite3.rst:985 msgid "Explicitly via the column name" From b698936bdf24255ffc6fdddd0baa34f632ef082b Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 18:47:45 -0500 Subject: [PATCH 74/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 97d7f47e0c..3afd28b7ae 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1546,7 +1546,7 @@ msgstr "Implícitamente vía el tipo declarado" #: ../Doc/library/sqlite3.rst:985 msgid "Explicitly via the column name" -msgstr "Explícito vía el nombre de la columna" +msgstr "Explícitamente vía el nombre de la columna" #: ../Doc/library/sqlite3.rst:987 msgid "" From 3fcc69b439c2501f45af251c0f6ef961bac38ca4 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:18:49 -0500 Subject: [PATCH 75/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 3afd28b7ae..8274f9771d 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1529,7 +1529,7 @@ msgid "" "matter under which data type you sent the value to SQLite." msgstr "" "Las funciones de conversión **siempre** son llamadas con un objeto :class:" -"`bytes`, no importa bajo que tipo de dato se envío el valor a SQLite." +"`bytes`, no importa bajo qué tipo de dato se envió el valor a SQLite." #: ../Doc/library/sqlite3.rst:980 msgid "" From 6d6762c9ea858c3536ffd87845f1eaf7c3b902fd Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:33:26 -0500 Subject: [PATCH 76/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 8274f9771d..14a2c0ae0f 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1572,7 +1572,7 @@ msgid "" "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" "Hay adaptadores por defecto para los tipos *date* y *datetime* en el módulo " -"*datetime* Ellos serán enviados como *dates* ISO / *timestamps* ISO a SQLite." +"*datetime*. Éstos serán enviados como *dates* ISO / *timestamps* ISO a SQLite." #: ../Doc/library/sqlite3.rst:1001 msgid "" From cb07fa6da7ea43240b313bb9e82c7032a6adbf3a Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:46:38 -0500 Subject: [PATCH 77/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 14a2c0ae0f..d66b69608d 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1580,7 +1580,7 @@ msgid "" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" -"Los convertidores por default están registrados bajo el nombre \"date\" " +"Los convertidores por defecto están registrados bajo el nombre \"date\" " "para :class:`datetime.date` y bajo el mismo nombre para \"timestamp\" para :" "class:`datetime.datetime`." From 60a9214a978eea9ca1ea0e36724d1d15900d9ce4 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:47:23 -0500 Subject: [PATCH 78/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index d66b69608d..3e1e55ebe0 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1590,7 +1590,7 @@ msgid "" "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -"De esta forma, se puede usar *date*/*timestamps* para Python sin adicional " +"De esta forma, se puede usar *date*/*timestamps* para Python sin ajuste" "ajuste en la mayoría de los casos. El formato de los adaptadores también es " "compatible con las funciones experimentales de SQLite *date*/*time*." From 107a8ab1cf593a4b774c6d8ec514871f3d1a9e75 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:47:51 -0500 Subject: [PATCH 79/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 3e1e55ebe0..75de9688ec 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1591,7 +1591,7 @@ msgid "" "the experimental SQLite date/time functions." msgstr "" "De esta forma, se puede usar *date*/*timestamps* para Python sin ajuste" -"ajuste en la mayoría de los casos. El formato de los adaptadores también es " +"adicional en la mayoría de los casos. El formato de los adaptadores también es " "compatible con las funciones experimentales de SQLite *date*/*time*." #: ../Doc/library/sqlite3.rst:1009 From 6d7e49cb03cff7d54c7725a2e5cf53c4e16b1761 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:54:45 -0500 Subject: [PATCH 80/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 75de9688ec..33e837e9dd 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1605,7 +1605,7 @@ msgid "" "converter." msgstr "" "Si un *timestamp* almacenado en SQLite tiene una parte fraccional mayor a 6 " -"números, este valor será truncado a microsegundos de precisión por el " +"números, este valor será truncado a precisión de microsegundos por el " "convertidor de *timestamp*." #: ../Doc/library/sqlite3.rst:1021 From b05bab10645e7870a64597b1481dbb3d6f972082 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:56:05 -0500 Subject: [PATCH 81/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 33e837e9dd..e560700ad1 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1610,7 +1610,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:1021 msgid "Controlling Transactions" -msgstr "Controlando transacciones" +msgstr "Controlando Transacciones" #: ../Doc/library/sqlite3.rst:1023 msgid "" From 464f9a72bdf0be1862053c4b1d85511aee4cb8f1 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 21:56:40 -0500 Subject: [PATCH 82/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index e560700ad1..9ff477841d 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1668,7 +1668,7 @@ msgid "" "``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your " "code." msgstr "" -"Se puede deshabilitar el gestión implícita de transacciones del módulo :mod:" +"Se puede deshabilitar la gestión implícita de transacciones del módulo :mod:" "`sqlite3` con la configuración :attr:`isolation_level` a ``None``. Esto " "dejará la subyacente biblioteca operando en modo ``autocommit``. Se puede " "controlar completamente le estado de la transacción emitiendo explícitamente " From 666ce49805dca48d84acd9e0f92e88b1dbde457b Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 22:17:49 -0500 Subject: [PATCH 83/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 9ff477841d..e0de9413f1 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1671,7 +1671,7 @@ msgstr "" "Se puede deshabilitar la gestión implícita de transacciones del módulo :mod:" "`sqlite3` con la configuración :attr:`isolation_level` a ``None``. Esto " "dejará la subyacente biblioteca operando en modo ``autocommit``. Se puede " -"controlar completamente le estado de la transacción emitiendo explícitamente " +"controlar completamente el estado de la transacción emitiendo explícitamente " "sentencias ``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, y ``RELEASE`` en el " "código." From 146be31a017b32e0103d1c22d5d3fc1084c0faf1 Mon Sep 17 00:00:00 2001 From: G0erman Date: Mon, 19 Oct 2020 22:29:53 -0500 Subject: [PATCH 84/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index e0de9413f1..5982e53dc9 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1652,7 +1652,7 @@ msgid "" "specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and " "``EXCLUSIVE``." msgstr "" -"Se puede controlar en que tipo de sentencias ``BEGIN`` :mod:`sqlite3` " +"Se puede controlar en qué tipo de sentencias ``BEGIN`` :mod:`sqlite3` " "implícitamente ejecuta vía el parámetro *insolation_level* a la función de " "llamada :func:`connect`, o vía las propiedades de conexión :attr:" "`isolation_level`. Si no se especifica *isolation_level*, se usa un plano " From 26be357741de098bf011593afd45ef691c4e67d6 Mon Sep 17 00:00:00 2001 From: G0erman Date: Tue, 20 Oct 2020 13:59:02 -0500 Subject: [PATCH 85/95] Apply suggestions from code review Sugerencias atentidas al 100%. Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 5982e53dc9..7fccd38bb6 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -1617,7 +1617,7 @@ msgid "" "The underlying ``sqlite3`` library operates in ``autocommit`` mode by " "default, but the Python :mod:`sqlite3` module by default does not." msgstr "" -"La librería subyacente ``sqlite3`` por defecto opera en modo ``autocommit``, " +"La librería subyacente ``sqlite3`` opera en modo ``autocommit`` por defecto, " "pero el módulo de Python :mod:`sqlite3` no." #: ../Doc/library/sqlite3.rst:1026 @@ -1639,7 +1639,7 @@ msgid "" "implicitly before a Data Modification Language (DML) statement (i.e. " "``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." msgstr "" -"El módulo de Python :mod:`sqlite3` por defecto emite una sentencia ``BEGIN`` " +"El módulo de Python :mod:`sqlite3` emite por defecto una sentencia ``BEGIN`` " "implícita antes de una sentencia tipo Lenguaje Manipulación de Datos (DML) " "(es decir ``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." @@ -1680,7 +1680,7 @@ msgid "" ":mod:`sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" -":mod:`sqlite3` utilizaba implícitamente *commit* en transacciones antes de " +":mod:`sqlite3` solía realizar commit en transacciones implícitamente antes de " "sentencias DDL. Este ya no es el caso." #: ../Doc/library/sqlite3.rst:1054 @@ -1704,10 +1704,10 @@ msgid "" msgstr "" "Usando los métodos no estándar :meth:`execute`, :meth:`executemany` y :meth:" "`executescript` del objeto :class:`Connection`, el código puede ser escrito " -"más consistentemente porqué no se tiene que crear explícitamente los (a " -"menudo superfluos) objetos :class:`Cursor`. En lugar, los objetos de la :" +"más consistentemente porque no se tienen que crear explícitamente los (a " +"menudo superfluos) objetos :class:`Cursor`. En cambio, los objetos de :" "class:`Cursor` son creados implícitamente y estos métodos atajo retornan los " -"objetos *cursor*. De esta forma, se puede ejecutar una sentencia ``SELECT`` " +"objetos cursor. De esta forma, se puede ejecutar una sentencia ``SELECT`` " "e iterar directamente sobre él, solamente usando una única llamada al " "objeto :class:`Connection`." @@ -1721,7 +1721,7 @@ msgid "" "`sqlite3.Row` class designed to be used as a row factory." msgstr "" "Una característica útil del módulo :mod:`sqlite3` es la clase incluida :" -"class:`sqlite3.Row` diseñada para ser usada como una fabrica de filas." +"class:`sqlite3.Row` diseñada para ser usada como una fábrica de filas." #: ../Doc/library/sqlite3.rst:1077 msgid "" @@ -1741,8 +1741,8 @@ msgid "" "or rollback transactions. In the event of an exception, the transaction is " "rolled back; otherwise, the transaction is committed:" msgstr "" -"Objetos de conexión pueden ser usados como administradores de contexto que " -"automáticamente *commit* o *rollback* transacciones. En el evento de una " +"Los objetos de conexión pueden ser usados como administradores de contexto que " +"automáticamente transacciones commit o rollback. En el evento de una " "excepción, la transacción es retrocedida; de otra forma, la transacción es " "confirmada:" @@ -1761,8 +1761,8 @@ msgid "" "between threads. If you still try to do so, you will get an exception at " "runtime." msgstr "" -"Versiones antiguas de SQLite tiene problemas compartiendo conexiones entre " -"hilos. Por esto el módulo de Python deshabilito compartir conexiones y " +"Versiones antiguas de SQLite tienen problemas compartiendo conexiones entre " +"hilos. Es por ello que el módulo de Python no permite compartir conexiones y " "cursores entre hilos. Si se quiere intentar esto, se obtendrá una excepción " "en tiempo de ejecución." @@ -1772,7 +1772,7 @@ msgid "" "which only makes sense to call from a different thread." msgstr "" "La única excepción es llamando el método :meth:`~Connection.interrupt`, el " -"cuál solamente hace sentido llamarlo desde un hilo diferente." +"cual solamente tiene sentido llamarlo desde un hilo diferente." #: ../Doc/library/sqlite3.rst:1108 msgid "Footnotes" From e94ec4c745ecf6157b474c6b1b401c6e7fdebd80 Mon Sep 17 00:00:00 2001 From: Goerman Date: Tue, 20 Oct 2020 14:10:01 -0500 Subject: [PATCH 86/95] Se agrega palabra commit --- dictionaries/library_sqlite3.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dictionaries/library_sqlite3.txt b/dictionaries/library_sqlite3.txt index f6526cf573..87659a9dc9 100644 --- a/dictionaries/library_sqlite3.txt +++ b/dictionaries/library_sqlite3.txt @@ -2,3 +2,4 @@ prototipar Configurarla autorizador desconexión +commit From 364848e7cfc83c3bd3f111a56060be231b81f2f6 Mon Sep 17 00:00:00 2001 From: Goerman Date: Tue, 20 Oct 2020 16:59:36 -0500 Subject: [PATCH 87/95] Solucionar problema powrap en Windows --- library/sqlite3.po | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 7fccd38bb6..e6ff351baa 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-17 07:36-0500\n" +"PO-Revision-Date: 2020-10-20 14:11-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -40,11 +40,11 @@ msgid "" "PostgreSQL or Oracle." msgstr "" "SQLite es una biblioteca de C que provee una base de datos ligera basada en " -"disco que no requiere un proceso de servidor separado y permite acceder a " -"la base de datos usando una variación no estándar del lenguaje de consulta " -"SQL. Algunas aplicaciones pueden usar SQLite para almacenamiento interno. " -"También es posible prototipar una aplicación usando SQLite y luego " -"transferir el código a una base de datos más grande como PostgreSQL u Oracle." +"disco que no requiere un proceso de servidor separado y permite acceder a la " +"base de datos usando una variación no estándar del lenguaje de consulta SQL. " +"Algunas aplicaciones pueden usar SQLite para almacenamiento interno. También " +"es posible prototipar una aplicación usando SQLite y luego transferir el " +"código a una base de datos más grande como PostgreSQL u Oracle." #: ../Doc/library/sqlite3.rst:20 msgid "" @@ -98,9 +98,9 @@ msgid "" msgstr "" "Usualmente, las operaciones SQL necesitarán usar valores de variables de " "Python. No se debe ensamblar la consulta usando operaciones de cadena de " -"Python porque hacerlo es inseguro; vuelve el programa vulnerable a ataques de " -"inyección SQL (ver este divertido ejemplo de lo que puede salir mal: https://" -"xkcd.com/327/ )" +"Python porque hacerlo es inseguro; vuelve el programa vulnerable a ataques " +"de inyección SQL (ver este divertido ejemplo de lo que puede salir mal: " +"https://xkcd.com/327/ )" #: ../Doc/library/sqlite3.rst:62 #, python-format @@ -1572,7 +1572,8 @@ msgid "" "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" "Hay adaptadores por defecto para los tipos *date* y *datetime* en el módulo " -"*datetime*. Éstos serán enviados como *dates* ISO / *timestamps* ISO a SQLite." +"*datetime*. Éstos serán enviados como *dates* ISO / *timestamps* ISO a " +"SQLite." #: ../Doc/library/sqlite3.rst:1001 msgid "" @@ -1590,9 +1591,9 @@ msgid "" "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -"De esta forma, se puede usar *date*/*timestamps* para Python sin ajuste" -"adicional en la mayoría de los casos. El formato de los adaptadores también es " -"compatible con las funciones experimentales de SQLite *date*/*time*." +"De esta forma, se puede usar *date*/*timestamps* para Python sin ajuste " +"adicional en la mayoría de los casos. El formato de los adaptadores también " +"es compatible con las funciones experimentales de SQLite *date*/*time*." #: ../Doc/library/sqlite3.rst:1009 msgid "The following example demonstrates this." @@ -1680,8 +1681,8 @@ msgid "" ":mod:`sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." msgstr "" -":mod:`sqlite3` solía realizar commit en transacciones implícitamente antes de " -"sentencias DDL. Este ya no es el caso." +":mod:`sqlite3` solía realizar commit en transacciones implícitamente antes " +"de sentencias DDL. Este ya no es el caso." #: ../Doc/library/sqlite3.rst:1054 msgid "Using :mod:`sqlite3` efficiently" @@ -1705,11 +1706,11 @@ msgstr "" "Usando los métodos no estándar :meth:`execute`, :meth:`executemany` y :meth:" "`executescript` del objeto :class:`Connection`, el código puede ser escrito " "más consistentemente porque no se tienen que crear explícitamente los (a " -"menudo superfluos) objetos :class:`Cursor`. En cambio, los objetos de :" -"class:`Cursor` son creados implícitamente y estos métodos atajo retornan los " -"objetos cursor. De esta forma, se puede ejecutar una sentencia ``SELECT`` " -"e iterar directamente sobre él, solamente usando una única llamada al " -"objeto :class:`Connection`." +"menudo superfluos) objetos :class:`Cursor`. En cambio, los objetos de :class:" +"`Cursor` son creados implícitamente y estos métodos atajo retornan los " +"objetos cursor. De esta forma, se puede ejecutar una sentencia ``SELECT`` e " +"iterar directamente sobre él, solamente usando una única llamada al objeto :" +"class:`Connection`." #: ../Doc/library/sqlite3.rst:1072 msgid "Accessing columns by name instead of by index" @@ -1741,8 +1742,8 @@ msgid "" "or rollback transactions. In the event of an exception, the transaction is " "rolled back; otherwise, the transaction is committed:" msgstr "" -"Los objetos de conexión pueden ser usados como administradores de contexto que " -"automáticamente transacciones commit o rollback. En el evento de una " +"Los objetos de conexión pueden ser usados como administradores de contexto " +"que automáticamente transacciones commit o rollback. En el evento de una " "excepción, la transacción es retrocedida; de otra forma, la transacción es " "confirmada:" From 9655f1bdfc8a7d94c0199cdf5f510501ef96ada9 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 24 Oct 2020 18:28:31 -0500 Subject: [PATCH 88/95] Apply suggestions from code review Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index e6ff351baa..428985c06e 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -332,7 +332,7 @@ msgstr "" "Por defecto, *check_same_thread* es :const:`True` y únicamente el hilo " "creado puede utilizar la conexión. Si se configura :const:`False`, la " "conexión retornada podrá ser compartida con múltiples hilos. Cuando se " -"utiliza múltiples hilos con la misma conexión, las operaciones de escritura " +"utilizan múltiples hilos con la misma conexión, las operaciones de escritura " "deberán ser serializadas por el usuario para evitar corrupción de datos." #: ../Doc/library/sqlite3.rst:207 @@ -345,7 +345,7 @@ msgstr "" "Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:" "`Connection` para la llamada de conexión. Sin embargo se puede crear una " "subclase de :class:`Connection` y hacer que :func:`connect` use su clase en " -"lugar de proveer su clase en el parámetro *factory*." +"lugar de proveer la suya en el parámetro *factory*." #: ../Doc/library/sqlite3.rst:212 msgid "Consult the section :ref:`sqlite3-types` of this manual for details." @@ -359,7 +359,7 @@ msgid "" "that are cached for the connection, you can set the *cached_statements* " "parameter. The currently implemented default is to cache 100 statements." msgstr "" -"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un " +"El módulo :mod:`sqlite3` internamente usa cache de declaraciones para evitar un " "análisis SQL costoso. Si se desea especificar el número de sentencias que " "estarán en memoria caché para la conexión, se puede configurar el parámetro " "*cached_statements*. Por defecto están configurado para 100 sentencias en " @@ -371,7 +371,7 @@ msgid "" "specify options. For example, to open a database in read-only mode you can " "use::" msgstr "" -"Si *uri* es *True*, la *database* se interpreta como una *URI*. Esto permite " +"Si *uri* es verdadero, la *database* se interpreta como una *URI*. Esto permite " "especificar opciones. Por ejemplo, para abrir la base de datos en modo solo " "lectura puedes usar::" @@ -381,8 +381,8 @@ msgid "" "can be found in the `SQLite URI documentation `_." msgstr "" -"Más información sobre esta característica, incluida una lista de opciones " -"organizadas, se encuentran en `SQLite URI documentation `_." #: ../Doc/library/sqlite3.rst:229 @@ -512,7 +512,7 @@ msgid "" "other database connections. If you wonder why you don't see the data you've " "written to the database, please check you didn't forget to call this method." msgstr "" -"Este método *commits* la actual transacción. Si no se llama este método, " +"Este método asigna la transacción actual. Si no se llama este método, " "cualquier cosa hecha desde la última llamada de ``commit()`` no es visible " "para otras conexiones de bases de datos. Si se pregunta el porqué no se ven " "los datos que escribiste, por favor verifica que no olvidaste llamar este " @@ -532,7 +532,7 @@ msgid "" "call :meth:`commit`. If you just close your database connection without " "calling :meth:`commit` first, your changes will be lost!" msgstr "" -"Este método cierra la conexión a base de datos. Nótese que este no llama " +"Este método cierra la conexión a la base de datos. Nótese que éste no llama " "automáticamente :meth:`commit`. Si se cierra la conexión a la base de datos " "sin llamar primero :meth:`commit`, los cambios se perderán!" @@ -564,7 +564,7 @@ msgid "" msgstr "" "Este es un atajo no estándar que crea un objeto cursor llamando el método :" "meth:`~Connection.cursor`, llama su método :meth:`~Cursor.executescript` con " -"el *SQL_script*, y retorna el cursor." +"el *sql_script*, y retorna el cursor." #: ../Doc/library/sqlite3.rst:345 msgid "" From 600d6591a07095a43a522279124af0a74f71cdf2 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 24 Oct 2020 18:29:58 -0500 Subject: [PATCH 89/95] Update library/sqlite3.po Co-authored-by: agf-nohchil <61362029+iam-agf@users.noreply.github.com> --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 428985c06e..b91ae69c26 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -502,7 +502,7 @@ msgid "" "or its subclasses." msgstr "" "El método cursor acepta un único parámetro opcional *factory*. Si es " -"agregado, este debe ser un invocable que retorna una instancia de :class:" +"agregado, éste debe ser un invocable que retorna una instancia de :class:" "`Cursor` o sus subclases." #: ../Doc/library/sqlite3.rst:306 From c780054ec0becf0e933e5c2c90322cdcf11b7ea8 Mon Sep 17 00:00:00 2001 From: Goerman Date: Thu, 29 Oct 2020 21:55:20 -0500 Subject: [PATCH 90/95] =?UTF-8?q?Corregir=20powrap=20-=20100%=20terminado?= =?UTF-8?q?=20con=20revisi=C3=B3n=20par=20completa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index b91ae69c26..c896895641 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,14 +11,14 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-20 14:11-0500\n" +"PO-Revision-Date: 2020-10-29 21:44-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"Last-Translator: \n" +"Last-Translator: German David Ramírez Figueroa \n" "Language: es\n" "X-Generator: Poedit 2.4.1\n" @@ -359,8 +359,8 @@ msgid "" "that are cached for the connection, you can set the *cached_statements* " "parameter. The currently implemented default is to cache 100 statements." msgstr "" -"El módulo :mod:`sqlite3` internamente usa cache de declaraciones para evitar un " -"análisis SQL costoso. Si se desea especificar el número de sentencias que " +"El módulo :mod:`sqlite3` internamente usa cache de declaraciones para evitar " +"un análisis SQL costoso. Si se desea especificar el número de sentencias que " "estarán en memoria caché para la conexión, se puede configurar el parámetro " "*cached_statements*. Por defecto están configurado para 100 sentencias en " "memoria caché." @@ -371,9 +371,9 @@ msgid "" "specify options. For example, to open a database in read-only mode you can " "use::" msgstr "" -"Si *uri* es verdadero, la *database* se interpreta como una *URI*. Esto permite " -"especificar opciones. Por ejemplo, para abrir la base de datos en modo solo " -"lectura puedes usar::" +"Si *uri* es verdadero, la *database* se interpreta como una *URI*. Esto " +"permite especificar opciones. Por ejemplo, para abrir la base de datos en " +"modo solo lectura puedes usar::" #: ../Doc/library/sqlite3.rst:225 msgid "" @@ -382,8 +382,8 @@ msgid "" "html>`_." msgstr "" "Más información sobre esta característica, incluyendo una lista de opciones " -"reconocidas, pueden encontrarse en `la documentación de SQLite URI`_." +"reconocidas, pueden encontrarse en `la documentación de SQLite URI`_." #: ../Doc/library/sqlite3.rst:229 msgid "" From ddb2f63572884da553339b72aadf132ea0e8c3aa Mon Sep 17 00:00:00 2001 From: Goerman Date: Thu, 29 Oct 2020 22:27:45 -0500 Subject: [PATCH 91/95] =?UTF-8?q?Travis=20me=20marca=20error=20en=20esa=20?= =?UTF-8?q?l=C3=ADnea,=20pero=20no=20veo=20el=20error=20:/=20cpython/Doc/l?= =?UTF-8?q?ibrary/sqlite3.rst:225:=20WARNING:=20inconsistent=20references?= =?UTF-8?q?=20in=20translated=20message.=20original:=20[],=20translated:?= =?UTF-8?q?=20['=5F']?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index c896895641..baefafe3ca 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-29 21:44-0500\n" +"PO-Revision-Date: 2020-10-29 22:26-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -382,7 +382,7 @@ msgid "" "html>`_." msgstr "" "Más información sobre esta característica, incluyendo una lista de opciones " -"reconocidas, pueden encontrarse en `la documentación de SQLite URI`_." #: ../Doc/library/sqlite3.rst:229 From b93877609bb239793c2a31addc410e58239a3272 Mon Sep 17 00:00:00 2001 From: Goerman Date: Thu, 29 Oct 2020 22:32:24 -0500 Subject: [PATCH 92/95] =?UTF-8?q?Travis=20me=20marca=20error=20en=20esa=20?= =?UTF-8?q?l=C3=ADnea,=20pero=20no=20veo=20el=20error=20:/=20cpython/Doc/l?= =?UTF-8?q?ibrary/sqlite3.rst:225:=20WARNING:=20inconsistent=20references?= =?UTF-8?q?=20in=20translated=20message.=20original:=20[],=20translated:?= =?UTF-8?q?=20['=5F']?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/sqlite3.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index baefafe3ca..1904337243 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-05-05 12:54+0200\n" -"PO-Revision-Date: 2020-10-29 22:26-0500\n" +"PO-Revision-Date: 2020-10-29 22:31-0500\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" From 75b2aa7c0ac17a82942870766c8befad4029fea3 Mon Sep 17 00:00:00 2001 From: G0erman Date: Fri, 13 Nov 2020 18:42:20 -0500 Subject: [PATCH 93/95] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Se atienden sugerencias. Co-authored-by: Cristián Maureira-Fredes --- library/sqlite3.po | 65 +++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 33 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 1904337243..1627c9935a 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -28,7 +28,7 @@ msgstr ":mod:`sqlite3` --- DB-API 2.0 interfaz para bases de datos SQLite" #: ../Doc/library/sqlite3.rst:9 msgid "**Source code:** :source:`Lib/sqlite3/`" -msgstr "**Source code:** :source:`Lib/sqlite3/`" +msgstr "**Código fuente:** :source:`Lib/sqlite3/`" #: ../Doc/library/sqlite3.rst:13 msgid "" @@ -224,7 +224,7 @@ msgid "" "registered for that type there." msgstr "" "Configurarla hace que el módulo :mod:`sqlite3` analice el tipo declarado " -"para cada columna que devuelve. Este convertirá la primera palabra del tipo " +"para cada columna que retorna. Este convertirá la primera palabra del tipo " "declarado, i. e. para *\"integer primary key\"*, será convertido a *\"integer" "\"*, o para \"*number(10)*\" será convertido a \"*number*\". Entonces para " "esa columna, revisará el diccionario de conversiones y usará la función de " @@ -243,10 +243,10 @@ msgid "" "preceeding space: the column name would simply be \"Expiration date\"." msgstr "" "Configurar esto hace que la interfaz de SQLite analice el nombre para cada " -"columna que devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' " +"columna que retorna, buscara una cadena de caracteres [mytype], y decidirá cual 'mytype' " "es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " "diccionario de conversiones y luego usar la función de conversión encontrada " -"allí y devolver el valor. El nombre de la columna encontrada en :attr:" +"allí y retornar el valor. El nombre de la columna encontrada en :attr:" "`Cursor.description` no incluye el tipo, en otras palabras, si se usa algo " "como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces analizará " "todo lo demás hasta el primer ``'['`` para el nombre de la columna y " @@ -637,7 +637,7 @@ msgid "" "first is ordered higher than the second. Note that this controls sorting " "(ORDER BY in SQL) so your comparisons don't affect other SQL operations." msgstr "" -"Crea una *collation* con el *name* y *callable* especificado. El invocable " +"Crea una collation con el *name* y *callable* especificado. El invocable " "será pasado con dos cadenas de texto como argumentos. Se retornará -1 si el " "primero esta ordenado menor que el segundo, 0 si están ordenados igual y 1 " "si el primero está ordenado mayor que el segundo. Nótese que esto controla " @@ -663,7 +663,7 @@ msgstr "" msgid "" "To remove a collation, call ``create_collation`` with ``None`` as callable::" msgstr "" -"Para remover una *collation*, llama ``create_collation`` con ``None`` como " +"Para remover una collation, llama ``create_collation`` con ``None`` como " "invocable::" #: ../Doc/library/sqlite3.rst:405 @@ -685,9 +685,9 @@ msgid "" "the column should be treated as a NULL value. These constants are available " "in the :mod:`sqlite3` module." msgstr "" -"Esta rutina registra un *callback*. El *callback* es invocado para cada " +"Esta rutina registra un callback. El callback es invocado para cada " "intento de acceso a un columna de una tabla en la base de datos. El " -"*callback* deberá retornar :const:`SQLITE_OK` si el acceso esta permitido, :" +"callback deberá retornar :const:`SQLITE_OK` si el acceso esta permitido, :" "const:`SQLITE_DENY` si la completa declaración SQL deberá ser abortada con " "un error y :const:`SQLITE_IGNORE` si la columna deberá ser tratada como un " "valor NULL. Estas constantes están disponibles en el módulo :mod:`sqlite3`." @@ -702,7 +702,7 @@ msgid "" "attempt or :const:`None` if this access attempt is directly from input SQL " "code." msgstr "" -"El primer argumento del *callback* significa que tipo de operación será " +"El primer argumento del callback significa que tipo de operación será " "autorizada. El segundo y tercer argumento serán argumentos o :const:`None` " "dependiendo del primer argumento. El cuarto argumento es el nombre de la " "base de datos (\"main\", \"temp\", etc.) si aplica. El quinto argumento es " @@ -767,9 +767,9 @@ msgid "" "execute` methods. Other sources include the transaction management of the " "Python module and the execution of triggers defined in the current database." msgstr "" -"El único argumento pasado al *callback* es la sentencia (como cadena de " +"El único argumento pasado al callback es la sentencia (como cadena de " "texto) que se está ejecutando. El valor retornado del *callback* es " -"ignorado. Nótese que el *backend* no solo ejecuta la sentencia pasada a los " +"ignorado. Nótese que el backend no solo ejecuta la sentencia pasada a los " "métodos :meth:`Cursor.execute`. Otras fuentes incluyen el gestión de la " "transacción del módulo de Python y la ejecución de los disparadores " "definidos en la actual base de datos." @@ -835,7 +835,7 @@ msgstr "" "basadas en nombre, se debe considerar configurar :attr:`row_factory` a la " "altamente optimizada tipo :class:`sqlite3.Row`. :class:`Row` provee ambos " "accesos a columnas basada en índice y tipado insensible con casi nada de " -"memoria elevada. Será probablemente mejor que tú propio enfoque de basado en " +"sobrecoste de memoria. Será probablemente mejor que tú propio enfoque de basado en " "diccionario personalizado o incluso mejor que una solución basada en " "*db_row*." @@ -979,8 +979,8 @@ msgid "" msgstr "" "Ejecuta una sentencia SQL. La sentencia SQL puede estar parametrizada (es " "decir marcadores en lugar de literales SQL). El módulo :mod:`sqlite3` " -"soporta dos tipos de marcadores: signos de interrogación (estilo *qmark*) y " -"marcadores nombrados (estilo *nombrado*)." +"soporta dos tipos de marcadores: signos de interrogación (estilo qmark) y " +"marcadores nombrados (estilo nombrado)." #: ../Doc/library/sqlite3.rst:618 msgid "Here's an example of both styles:" @@ -1053,9 +1053,9 @@ msgid "" "not being available, fewer rows may be returned." msgstr "" "El número de filas a obtener por llamado es especificado por el parámetro " -"*size*. Si no es suministrado, el *arraysize* del cursor determina el número " +"*size*. Si no es suministrado, el arraysize del cursor determina el número " "de filas a obtener. El método debería intentar obtener tantas filas como las " -"indicadas por el parámetro *size*. Si esto no es posible debido a que el " +"indicadas por el parámetro size. Si esto no es posible debido a que el " "número especificado de filas no está disponible, entonces menos filas " "deberán ser retornadas." @@ -1078,7 +1078,7 @@ msgid "" "operation. An empty list is returned when no rows are available." msgstr "" "Obtiene todas las filas (restantes) del resultado de una consulta. Nótese " -"que el atributo *arraysize* del cursor puede afectar el desempeño de esta " +"que el atributo arraysize del cursor puede afectar el desempeño de esta " "operación. Una lista vacía será retornada cuando no hay filas disponibles." #: ../Doc/library/sqlite3.rst:684 @@ -1144,7 +1144,7 @@ msgid "" "or when :meth:`executemany` is called, :attr:`lastrowid` is set to :const:" "`None`." msgstr "" -"Este atributo de solo lectura provee el *rowid* de la última fila " +"Este atributo de solo lectura provee el rowid de la última fila " "modificada. Solo se configura si se emite una sentencia ``INSERT`` o " "``REPLACE`` usando el método :meth:`execute`. Para otras operaciones " "diferentes a ``INSERT`` o ``REPLACE`` o cuando :meth:`executemany` es " @@ -1156,7 +1156,7 @@ msgid "" "successful rowid is returned." msgstr "" "Si la sentencia ``INSERT`` o ``REPLACE`` no se pudo insertar, se retorna el " -"anterior *rowid* exitoso." +"anterior rowid exitoso." #: ../Doc/library/sqlite3.rst:718 msgid "Added support for the ``REPLACE`` statement." @@ -1179,7 +1179,7 @@ msgid "" "column where the last six items of each tuple are :const:`None`." msgstr "" "Este atributo de solo lectura provee el nombre de las columnas de la última " -"consulta. Para ser compatible con *Python DB API*, retorna una 7-tupla para " +"consulta. Para ser compatible con Python DB API, retorna una 7-tupla para " "cada columna en donde los últimos seis ítems de cada tupla son :const:`None`." #: ../Doc/library/sqlite3.rst:732 @@ -1202,7 +1202,7 @@ msgstr "" #: ../Doc/library/sqlite3.rst:749 msgid "Row Objects" -msgstr "Objetos *Row*" +msgstr "Objetos Fila (*Row*)" #: ../Doc/library/sqlite3.rst:753 msgid "" @@ -1277,7 +1277,7 @@ msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -"Excepción lanzada cuando la integridad de la base de datos es afectada, e.g. " +"Excepción lanzada cuando la integridad de la base de datos es afectada, por ejemplo " "la comprobación de una llave foránea falla. Es una subclase de :exc:" "`DatabaseError`." @@ -1299,7 +1299,7 @@ msgid "" "not be processed, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" "Excepción lanzada por errores relacionados por la operación de la base de " -"datos y no necesariamente bajo el control del programador, e.g. ocurre una " +"datos y no necesariamente bajo el control del programador, por ejemplo ocurre una " "desconexión inesperada, el nombre de la fuente de datos no es encontrado, " "una transacción no pudo ser procesada, etc. Es una subclase de :exc:" "`DatabaseError`." @@ -1389,12 +1389,12 @@ msgstr "``BLOB``" #: ../Doc/library/sqlite3.rst:885 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -"De esta forma es como los tipos SQLite son convertidos a tipos de Python por " +"De esta forma es como los tipos de SQLite son convertidos a tipos de Python por " "defecto:" #: ../Doc/library/sqlite3.rst:896 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" -msgstr "depende de :attr:`~Connection.text_factory`, por defecto :class:`str`" +msgstr "depende de :attr:`~Connection.text_factory`, :class:`str` por defecto" #: ../Doc/library/sqlite3.rst:902 msgid "" @@ -1424,8 +1424,7 @@ msgstr "" "Como se describió anteriormente, SQLite soporta solamente un conjunto " "limitado de tipos de forma nativa. Para usar otros tipos de Python con " "SQLite, se deben **adaptar** a uno de los tipos de datos soportados por el " -"módulo sqlite3 para SQLite: uno de *NoneType*, entero, flotante, cadena de " -"texto o *bytes*." +"módulo sqlite3 para SQLite: uno de NoneType, int, float, str, bytes. " #: ../Doc/library/sqlite3.rst:916 msgid "" @@ -1484,8 +1483,8 @@ msgid "" "suppose we want to store :class:`datetime.datetime` objects not in ISO " "representation, but as a Unix timestamp." msgstr "" -"El módulo :mod:`sqlite3` tiene dos adaptadores por defecto para Python " -"integrado :class:`datetime.date` y tipos :class:`datetime.datetime`. Ahora " +"El módulo :mod:`sqlite3` tiene dos adaptadores por defecto para las funciones integradas de Python " +":class:`datetime.date` y tipos :class:`datetime.datetime`. Ahora " "vamos a suponer que queremos almacenar objetos :class:`datetime.datetime` no " "en representación ISO, sino como una marca de tiempo Unix." @@ -1571,8 +1570,8 @@ msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" -"Hay adaptadores por defecto para los tipos *date* y *datetime* en el módulo " -"*datetime*. Éstos serán enviados como *dates* ISO / *timestamps* ISO a " +"Hay adaptadores por defecto para los tipos date y datetime en el módulo " +"datetime. Éstos serán enviados como fechas/marcas de tiempo ISO a " "SQLite." #: ../Doc/library/sqlite3.rst:1001 @@ -1591,9 +1590,9 @@ msgid "" "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -"De esta forma, se puede usar *date*/*timestamps* para Python sin ajuste " +"De esta forma, se puede usar date/timestamps para Python sin ajuste " "adicional en la mayoría de los casos. El formato de los adaptadores también " -"es compatible con las funciones experimentales de SQLite *date*/*time*." +"es compatible con las funciones experimentales de SQLite date/time." #: ../Doc/library/sqlite3.rst:1009 msgid "The following example demonstrates this." From 6bc310351811fd0948e4fa1c58d014ab38ef4f51 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 14 Nov 2020 18:15:33 -0500 Subject: [PATCH 94/95] Se agregan palabras collation, backend, sobrecoste, arraysize, rowid y datetime --- dictionaries/library_sqlite3.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dictionaries/library_sqlite3.txt b/dictionaries/library_sqlite3.txt index 87659a9dc9..154c06a26d 100644 --- a/dictionaries/library_sqlite3.txt +++ b/dictionaries/library_sqlite3.txt @@ -3,3 +3,9 @@ Configurarla autorizador desconexión commit +collation +backend +sobrecoste +arraysize +rowid +datetime From b63c58bc206d093a4fe0e6264dc84aeb477dc398 Mon Sep 17 00:00:00 2001 From: G0erman Date: Sat, 14 Nov 2020 18:16:14 -0500 Subject: [PATCH 95/95] Se corrige formato de archivo powrap --- library/sqlite3.po | 84 +++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/library/sqlite3.po b/library/sqlite3.po index 1627c9935a..d54ddec834 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -243,15 +243,15 @@ msgid "" "preceeding space: the column name would simply be \"Expiration date\"." msgstr "" "Configurar esto hace que la interfaz de SQLite analice el nombre para cada " -"columna que retorna, buscara una cadena de caracteres [mytype], y decidirá cual 'mytype' " -"es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " -"diccionario de conversiones y luego usar la función de conversión encontrada " -"allí y retornar el valor. El nombre de la columna encontrada en :attr:" -"`Cursor.description` no incluye el tipo, en otras palabras, si se usa algo " -"como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces analizará " -"todo lo demás hasta el primer ``'['`` para el nombre de la columna y " -"eliminará el espacio anterior: el nombre de la columna sería: \"Expiration " -"date\"." +"columna que retorna, buscara una cadena de caracteres [mytype], y decidirá " +"cual 'mytype' es el tipo de la columna. Tratará de encontrar una entrada " +"'mytype' en el diccionario de conversiones y luego usar la función de " +"conversión encontrada allí y retornar el valor. El nombre de la columna " +"encontrada en :attr:`Cursor.description` no incluye el tipo, en otras " +"palabras, si se usa algo como ``'as ''Expiration date [datetime]\"'`` en el " +"SQL, entonces analizará todo lo demás hasta el primer ``'['`` para el nombre " +"de la columna y eliminará el espacio anterior: el nombre de la columna " +"sería: \"Expiration date\"." #: ../Doc/library/sqlite3.rst:176 msgid "" @@ -685,11 +685,11 @@ msgid "" "the column should be treated as a NULL value. These constants are available " "in the :mod:`sqlite3` module." msgstr "" -"Esta rutina registra un callback. El callback es invocado para cada " -"intento de acceso a un columna de una tabla en la base de datos. El " -"callback deberá retornar :const:`SQLITE_OK` si el acceso esta permitido, :" -"const:`SQLITE_DENY` si la completa declaración SQL deberá ser abortada con " -"un error y :const:`SQLITE_IGNORE` si la columna deberá ser tratada como un " +"Esta rutina registra un callback. El callback es invocado para cada intento " +"de acceso a un columna de una tabla en la base de datos. El callback deberá " +"retornar :const:`SQLITE_OK` si el acceso esta permitido, :const:" +"`SQLITE_DENY` si la completa declaración SQL deberá ser abortada con un " +"error y :const:`SQLITE_IGNORE` si la columna deberá ser tratada como un " "valor NULL. Estas constantes están disponibles en el módulo :mod:`sqlite3`." #: ../Doc/library/sqlite3.rst:419 @@ -767,12 +767,12 @@ msgid "" "execute` methods. Other sources include the transaction management of the " "Python module and the execution of triggers defined in the current database." msgstr "" -"El único argumento pasado al callback es la sentencia (como cadena de " -"texto) que se está ejecutando. El valor retornado del *callback* es " -"ignorado. Nótese que el backend no solo ejecuta la sentencia pasada a los " -"métodos :meth:`Cursor.execute`. Otras fuentes incluyen el gestión de la " -"transacción del módulo de Python y la ejecución de los disparadores " -"definidos en la actual base de datos." +"El único argumento pasado al callback es la sentencia (como cadena de texto) " +"que se está ejecutando. El valor retornado del *callback* es ignorado. " +"Nótese que el backend no solo ejecuta la sentencia pasada a los métodos :" +"meth:`Cursor.execute`. Otras fuentes incluyen el gestión de la transacción " +"del módulo de Python y la ejecución de los disparadores definidos en la " +"actual base de datos." #: ../Doc/library/sqlite3.rst:457 msgid "" @@ -835,9 +835,9 @@ msgstr "" "basadas en nombre, se debe considerar configurar :attr:`row_factory` a la " "altamente optimizada tipo :class:`sqlite3.Row`. :class:`Row` provee ambos " "accesos a columnas basada en índice y tipado insensible con casi nada de " -"sobrecoste de memoria. Será probablemente mejor que tú propio enfoque de basado en " -"diccionario personalizado o incluso mejor que una solución basada en " -"*db_row*." +"sobrecoste de memoria. Será probablemente mejor que tú propio enfoque de " +"basado en diccionario personalizado o incluso mejor que una solución basada " +"en *db_row*." #: ../Doc/library/sqlite3.rst:508 msgid "" @@ -1144,11 +1144,11 @@ msgid "" "or when :meth:`executemany` is called, :attr:`lastrowid` is set to :const:" "`None`." msgstr "" -"Este atributo de solo lectura provee el rowid de la última fila " -"modificada. Solo se configura si se emite una sentencia ``INSERT`` o " -"``REPLACE`` usando el método :meth:`execute`. Para otras operaciones " -"diferentes a ``INSERT`` o ``REPLACE`` o cuando :meth:`executemany` es " -"llamado, :attr:`lastrowid` es configurado a :const:`None`." +"Este atributo de solo lectura provee el rowid de la última fila modificada. " +"Solo se configura si se emite una sentencia ``INSERT`` o ``REPLACE`` usando " +"el método :meth:`execute`. Para otras operaciones diferentes a ``INSERT`` o " +"``REPLACE`` o cuando :meth:`executemany` es llamado, :attr:`lastrowid` es " +"configurado a :const:`None`." #: ../Doc/library/sqlite3.rst:715 msgid "" @@ -1277,8 +1277,8 @@ msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -"Excepción lanzada cuando la integridad de la base de datos es afectada, por ejemplo " -"la comprobación de una llave foránea falla. Es una subclase de :exc:" +"Excepción lanzada cuando la integridad de la base de datos es afectada, por " +"ejemplo la comprobación de una llave foránea falla. Es una subclase de :exc:" "`DatabaseError`." #: ../Doc/library/sqlite3.rst:837 @@ -1299,10 +1299,10 @@ msgid "" "not be processed, etc. It is a subclass of :exc:`DatabaseError`." msgstr "" "Excepción lanzada por errores relacionados por la operación de la base de " -"datos y no necesariamente bajo el control del programador, por ejemplo ocurre una " -"desconexión inesperada, el nombre de la fuente de datos no es encontrado, " -"una transacción no pudo ser procesada, etc. Es una subclase de :exc:" -"`DatabaseError`." +"datos y no necesariamente bajo el control del programador, por ejemplo " +"ocurre una desconexión inesperada, el nombre de la fuente de datos no es " +"encontrado, una transacción no pudo ser procesada, etc. Es una subclase de :" +"exc:`DatabaseError`." #: ../Doc/library/sqlite3.rst:850 msgid "" @@ -1389,8 +1389,8 @@ msgstr "``BLOB``" #: ../Doc/library/sqlite3.rst:885 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -"De esta forma es como los tipos de SQLite son convertidos a tipos de Python por " -"defecto:" +"De esta forma es como los tipos de SQLite son convertidos a tipos de Python " +"por defecto:" #: ../Doc/library/sqlite3.rst:896 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" @@ -1483,10 +1483,11 @@ msgid "" "suppose we want to store :class:`datetime.datetime` objects not in ISO " "representation, but as a Unix timestamp." msgstr "" -"El módulo :mod:`sqlite3` tiene dos adaptadores por defecto para las funciones integradas de Python " -":class:`datetime.date` y tipos :class:`datetime.datetime`. Ahora " -"vamos a suponer que queremos almacenar objetos :class:`datetime.datetime` no " -"en representación ISO, sino como una marca de tiempo Unix." +"El módulo :mod:`sqlite3` tiene dos adaptadores por defecto para las " +"funciones integradas de Python :class:`datetime.date` y tipos :class:" +"`datetime.datetime`. Ahora vamos a suponer que queremos almacenar objetos :" +"class:`datetime.datetime` no en representación ISO, sino como una marca de " +"tiempo Unix." #: ../Doc/library/sqlite3.rst:956 msgid "Converting SQLite values to custom Python types" @@ -1571,8 +1572,7 @@ msgid "" "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" "Hay adaptadores por defecto para los tipos date y datetime en el módulo " -"datetime. Éstos serán enviados como fechas/marcas de tiempo ISO a " -"SQLite." +"datetime. Éstos serán enviados como fechas/marcas de tiempo ISO a SQLite." #: ../Doc/library/sqlite3.rst:1001 msgid ""