Files
RustPython/Lib
Steve Shi 765933136c Implement Sqlite3 Module (#4260)
* add supporting for PyAtomic<PyObject>

* create sqlite module

* add dependency sqlite3-sys

* add module constants

* import sqlite3 from cpython

* adjust lib

* add module structure

* impl Connection.cursor

* add module exceptions

* impl lstrip_sql

* impl statement new

* wip cursor.execute

* wip cursor

* wip error to exception

* add SqliteRaw and SqliteStatementRaw

* impl statement parameters binding

* wip cursor.execute

* add test_sqlite

* impl closeable connection

* impl closeable cursor

* impl cursor.executemany

* impl cursor.executescript

* impl cursor.fetch*

* impl connection.backup

* stage 1

* add support connection.backup with progress

* fix backup deadlock

* support changable isolation_level

* impl converter

* impl adapter

* impl text_factory and blob

* impl create_function

* impl create_function 2

* fix empty statement

* impl blob support

* impl create_aggregate

* impl create_aggregate 2

* refactor create_*

* impl enable_callback_traceback

* impl create_collation

* refactor create_* with CallbackData

* fix text and blob use SQLITE_TRANSIENT

* fix str to SQLITE_TEXT

* impl thread check

* impl Connection Factory

* impl busy timeout

* shift sqlite3-sys -> libsqlite3-sys

* refactor CallbackData

* impl create_window_function

* refactor callback functions

* add module attr converters

* fix nullable isolation_level

* add module attr adapters

* fix nullable adapt proto

* impl set_authorizer

* impl trace_callback

* impl set_progress_handler

* impl cancellable sqlite function*

* impl attributes for Connection

* fix some failed tests

* impl Row

* impl Blob methods

* impl Blob subscript & ass_subscript

* pass tests

* rebase

* no sqlite for wasm

* use ThreadId instead u64

* no libsqlite3-sys for wasm

* fix into_cstring for all platform

* fixup

* rebase

* fix windows into_bytes

* disable sqlite for android

* fixup
2023-01-07 22:03:24 +02:00
..
2022-07-22 13:16:12 +09:00
2022-07-24 16:40:51 +09:00
2022-08-21 15:23:51 +09:00
2022-08-18 03:22:20 +09:00
2023-01-07 22:03:24 +02:00
2023-01-07 22:03:24 +02:00
2022-11-05 21:36:25 +02:00
2022-08-07 16:31:38 +09:00
2022-07-19 01:35:32 +09:00
2022-08-15 01:08:58 +09:00
2021-10-17 21:55:28 -05:00
2021-01-23 01:10:52 -05:00
2021-03-14 12:49:59 -05:00
2022-08-17 02:16:51 +09:00
2022-07-24 15:23:52 +09:00
2022-04-27 18:58:16 -04:00
2021-12-05 17:06:34 +09:00
2022-07-02 18:48:25 -04:00
2020-08-09 16:33:24 +09:00
2020-08-09 16:33:24 +09:00
2022-04-26 21:08:27 -04:00
2022-05-23 10:33:17 +09:00
2022-08-05 03:54:21 +09:00
2022-08-23 20:38:48 +09:00
2020-08-11 16:38:35 -03:00
2022-02-18 21:36:24 -05:00
2021-01-29 18:10:15 -05:00
2021-01-25 17:08:04 -06:00
2022-09-09 11:51:36 +09:00
2021-11-28 22:33:59 +01:00
2021-08-23 08:54:12 +09:00
2022-01-23 21:50:36 -06:00
2022-08-15 04:54:01 +09:00
2022-08-16 10:08:03 +09:00
2022-08-15 05:25:42 +09:00
2019-07-19 22:38:09 -05:00
2022-08-15 05:25:42 +09:00
2022-08-15 05:25:42 +09:00
2020-01-12 22:57:19 -06:00
2021-08-11 21:29:22 +09:00
2022-08-15 16:09:32 +09:00
2022-08-23 20:38:48 +09:00
2022-08-15 05:25:42 +09:00
2022-08-15 04:24:58 +09:00
2022-02-12 20:49:36 -05:00
2022-08-16 07:24:50 +09:00
2022-10-04 10:53:57 +09:00
2020-05-03 18:13:09 -05:00
2022-08-15 04:54:01 +09:00
2020-08-11 16:38:35 -03:00
2022-08-15 02:36:46 +09:00
2022-08-15 03:44:09 +09:00
2022-08-23 20:37:24 +09:00
2022-08-15 02:36:46 +09:00
2020-03-01 14:36:01 -06:00
2022-08-15 01:44:46 +09:00
2022-02-06 14:56:39 +09:00
2019-07-16 19:13:07 -05:00
2022-08-15 01:08:58 +09:00
2022-08-15 01:08:58 +09:00
2022-08-15 01:08:58 +09:00
2021-06-07 21:12:22 -04:00
2022-01-17 11:14:43 -05:00
2020-10-27 22:14:07 -05:00
2021-01-27 15:20:52 -06:00
2022-10-18 03:26:29 +09:00
2022-07-25 07:11:18 +09:00
2021-01-27 15:20:52 -06:00
2022-08-15 00:34:06 +09:00
2021-01-31 19:26:44 -05:00
2022-02-13 19:05:39 -05:00
2019-06-22 13:13:34 +02:00
2022-08-09 05:49:56 +09:00
2022-08-23 20:38:48 +09:00
2021-04-11 17:38:44 -05:00
2022-08-11 07:21:09 +09:00
2019-06-29 14:44:39 +02:00
2022-08-09 04:12:40 +09:00

Standard Library for RustPython

This directory contains all of the Python files that make up the standard library for RustPython.

Most of these files are copied over from the CPython repository (the 3.7 branch), with slight modifications to allow them to work under RustPython. The current goal is to complete the standard library with as few modifications as possible. Current modifications are just temporary workarounds for bugs/missing feature within the RustPython implementation.

The first big module we are targeting is unittest, so we can leverage the CPython test suite.