444 Commits
Author SHA1 Message Date
Noa c7faae9b22 Bump all crate versions to 0.2.0 2023-01-11 00:14:28 -06:00
dependabot[bot] 2c696bca94 Bump bzip2 from 0.4.3 to 0.4.4
Bumps [bzip2](https://github.com/alexcrichton/bzip2-rs) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/alexcrichton/bzip2-rs/releases)
- [Commits](https://github.com/alexcrichton/bzip2-rs/commits/0.4.4)

---
updated-dependencies:
- dependency-name: bzip2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 22:31:07 +00:00
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
Jeong YunWon 23c7b92aff Move (c)format basic implementations to rustpython-common 2023-01-02 20:21:36 +09:00
Bijan Naimi 19e5590824 added quiet arg and stdin pipe check 2022-12-30 17:53:20 -08:00
Noa 185dd4a795 Split derive-impl and derive 2022-12-19 18:48:17 -06:00
Noa 38a735af3b Tidy up -derive, make use of let-else 2022-12-19 18:48:17 -06:00
yt2b f23ea5eb09 Add bitflags 2022-11-27 23:30:52 +09:00
Discord9 290e8e077b depend: update crossbeam-utils 2022-11-24 12:17:50 +08:00
Charlie Marsh ebeb0904d4 Use rustc-hash 2022-11-20 15:30:19 -05:00
Charlie Marsh 3de87f9828 Implement some minor performance optimizations 2022-11-20 13:33:20 -05:00
Devon Hollowood beeb0441ef Allow log2() to work on large integers 2022-10-22 14:55:14 -07:00
Jeong YunWon ac2532822b Merge pull request #4184 from afonso360/cranelift-version
Update JIT Cranelift version
2022-10-03 12:12:41 +09:00
Ethan Post c2a5acb40c Implements 6 os/posix constants missing for macos (#4110) 2022-09-26 15:48:48 +09:00
Afonso Bordado a91e15aaf4 Update JIT Cranelift version 2022-09-24 18:36:42 +01:00
Jeong YunWon d32cd53948 Move pylib dependency out of vm 2022-09-03 17:10:26 +09:00
Jeong YunWon 8c9c2820b7 use thiserror 2022-08-23 05:08:24 +09:00
Jeong YunWon 55061c7b6a new_syntax_error working without full compiler
Fix #4100
2022-08-23 05:08:24 +09:00
Jeong YunWon d876673546 Move out CompileError to core as generic form 2022-08-23 01:30:00 +09:00
Jeong YunWon 9ecbff8b98 Integrate ParseError to compiler-core::Error 2022-08-22 16:28:08 +09:00
Jeong YunWon fc6d614bf4 rustpython-bytecode -> rustpython-compiler-core 2022-08-22 08:42:20 +09:00
Jeong YunWon 4d0d9ff1a1 Refactor symboltables and _ast to use codegen when possible 2022-08-22 08:42:20 +09:00
Jeong YunWon 86118d5276 drop compiler dependencies from stdlib 2022-08-22 04:43:03 +09:00
Jeong YunWon fb5ac9e79b reorganize compiler crates 2022-08-22 04:42:42 +09:00
Charlie Marsh bea97cd254 Implement CPython-like implicit string concatenation in parser (#4097) 2022-08-21 13:49:00 +09:00
Jeong YunWon 6e2411ea57 Update unicode_names to 0.5.1 to fix crash 2022-08-19 15:24:56 +09:00
Jeong YunWon 5c58b320c9 Merge pull request #4103 from coolreader18/no-nullablesocket
Remove nullable_socket impl now that socket2::Socket has a niche
2022-08-19 13:06:57 +09:00
Noa ead2a392cc Update nix and rustyline 2022-08-18 20:02:17 -05:00
Jeong YunWon 53b344866f Implement new features for updated python asdl 2022-08-19 04:52:45 +09:00
Jeong YunWon 719b0edf46 lalrpop binary / feature dual support 2022-08-18 19:09:22 +09:00
Jeong YunWon fe3f67f836 upgrade lalrpop to 0.19.8 2022-08-18 17:17:12 +09:00
Jeong YunWon 2655ef53fe Merge pull request #4076 from qingshi163/sre041
Refactor to update sre-engine to 0.4.1
2022-08-18 06:43:49 +09:00
Jeong YunWon d39a3df5c7 pin crossbeam-utils for 0.8.9 to avoid build error 2022-08-18 05:51:10 +09:00
Kangzhi Shi b5fa915708 refactor to update sre-engine to 0.4.1 2022-08-18 03:50:37 +09:00
Kangzhi Shi ed30c5d84d refactor to update sre-engine to 0.4.0 2022-08-18 03:49:10 +09:00
Jeong YunWon bc29c83e77 Add proper cargo:rerun-if-changed for pylib-crate 2022-08-18 02:27:20 +09:00
Jeong YunWon b39c03512e nt._path_splitroot 2022-08-16 07:24:46 +09:00
Jeong YunWon a363b05340 PySetterValue for descr_set and setattro 2022-08-08 04:31:14 +09:00
Jeong YunWon 711acaaf05 Support getset deleter 2022-08-08 04:31:14 +09:00
Kangzhi Shi 8bdbc99216 refactor to bump sre-engine to v0.3.0 2022-08-07 15:48:37 +09:00
hyerim 42290b103e Add: _uuid module (#3974) 2022-08-07 15:27:53 +09:00
borisandJeong YunWon 7204ab7ea8 implement _bz2
Co-Authored-By: Jeong YunWon <jeong@youknowone.org>
2022-08-05 03:53:59 +09:00
Sion Kang bb52ed774e Feat: grp module (#3967) 2022-08-04 15:44:40 +09:00
Kangzhi Shi eeac5fe2d3 bump sre-engine to 0.2.1 2022-07-29 19:53:40 +09:00
Jeong YunWon abc7586662 bump up sre-engine to 0.2.0 2022-07-27 05:14:56 +09:00
Kangzhi Shi d7842d1e8e pass htmlparser tests 2022-07-25 22:07:26 +02:00
dependabot[bot] e54a208c40 Bump openssl-src from 111.20.0+1.1.1o to 111.22.0+1.1.1q
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.20.0+1.1.1o to 111.22.0+1.1.1q.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 20:17:43 +00:00
dependabot[bot] a55c604262 Bump openssl-src from 111.18.0+1.1.1n to 111.20.0+1.1.1o
Bumps [openssl-src](https://github.com/alexcrichton/openssl-src-rs) from 111.18.0+1.1.1n to 111.20.0+1.1.1o.
- [Release notes](https://github.com/alexcrichton/openssl-src-rs/releases)
- [Commits](https://github.com/alexcrichton/openssl-src-rs/commits)

---
updated-dependencies:
- dependency-name: openssl-src
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 15:18:49 +00:00
Dennis Zhuang d4f001fa21 Basic mmap module 2022-06-15 01:38:27 +09:00
Jeong YunWon cc4583ef50 mmap skeleton 2022-06-14 17:12:51 +09:00