Commit Graph
56 Commits
Author SHA1 Message Date
NoaandJeong YunWon 84099514e6 Implement socket.socket.sendmsg (#5205)
* Implement socket.socket.sendmsg

* debugger-friendly newlines

* Fix control_buf error on macOS

---------

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2024-04-22 11:21:10 +09:00
Jeong, YunWon d57287b89b Fix OSError.winerror and errno/winerror converions 2024-04-19 04:56:25 +09:00
Jeong, YunWon 79e7015a32 CreateJunction 2024-04-19 03:00:33 +09:00
Lee DogeonandJeong, YunWon 60993b9d23 Bump shutil to 3.12.3 (#5228)
* Bump shutil to 3.12.3

* Implement windows platform target `is_junction` with junction library

* Add _winapi.NeedCurrentDirectoryForExePath

---------

Co-authored-by: Jeong, YunWon <jeong@youknowone.org>
2024-04-17 01:33:14 +09:00
Jeong YunWon ccf650d4ca Fix rustpython-vm --no-default-features build 2024-04-10 19:15:22 +09:00
Jeong YunWon 8816cd41d5 0.3.1 2024-04-10 17:39:57 +09:00
Jeong YunWon a0b6c36928 Update indexmap 2024-04-09 11:17:25 +09:00
Jeong, YunWonandognevnydemon 5a5ac35f36 Update a few deps (#5217)
Co-authored-by: ognevnydemon <maksapple2306@gmail.com>
2024-04-09 02:12:15 +09:00
Jeong, YunWon 9cc571be95 Fix windows stdlib build 2024-01-09 20:53:58 +09:00
Noa 602015fca1 Update nix and socket2 2024-01-09 20:53:58 +09:00
Jeong, YunWon 32f662ae80 Bump openssl from 0.10.55 to 0.10.62 2023-12-30 17:14:08 +09:00
Jeong, YunWon 756088e7fb more winapi to windows-sys 2023-12-29 00:40:04 +09:00
Jeong, YunWon fc91cd8bc7 clean up winapi features (#5141) 2023-12-28 21:51:26 +09:00
Tae-Geun Kim b4b71e5a11 Bump puruspe to 0.2 (#5112) 2023-11-07 22:37:06 -08:00
Jeong YunWon 1208416b92 0.3.0 release 2023-09-06 18:49:55 +09:00
dependabot[bot] 179de9fb67 Bump openssl from 0.10.48 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.48 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.48...openssl-v0.10.55)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-21 22:55:38 +00:00
DimitrisJim 8db7edb6d9 Bump xml-rs 2023-06-08 13:14:34 +03:00
Steve Shi de0d323ad3 change dependency from num-bigint to malachite-bigint (#4952) 2023-06-08 14:28:39 +09:00
Micha Reiser 7a6000d181 Use format and cformat from rustpython-literal (#4968)
* Use `format` and `cformat` from `rustpython-literal`

* Remove unused dependencies, use `rustpython-format`
2023-05-13 02:58:02 +09:00
Andrey Maltsev 514014f4fc add compare digest 2023-04-23 21:50:15 +09:00
dependabot[bot] 993c892ad9 Bump openssl from 0.10.45 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-25 01:44:37 +00:00
Noa 725dac204f Fix redox 2023-03-18 21:17:23 -05:00
minh.pham2000 19193cd2a4 Add locale implementation for windows 2023-03-13 23:19:52 +09:00
Jeong YunWon 1ca57407d3 Use git version of unicode_names2 to avoid alias search failure 2023-02-28 20:00:47 +09:00
Charles Hubain b5f54f1624 Integrated hmac.py and test_hmac.py:
* fix typing issue on digest update function
* implemented copy for PyHasher object
* fixed two test_hashlib.py expected failure as a side-effect
2023-02-21 11:35:09 +09:00
Zhiyan Xiao 3b8d670c81 Add unicodedata.east_asian_width (#4523) 2023-02-20 01:38:02 +09:00
Jeong YunWon e22d91b8c4 bump up openssl and libffi 2023-02-09 15:52:45 +09:00
Jeong YunWon 42a22c280d use workspace dependencies 2023-02-06 15:30:38 +09:00
Noa c7faae9b22 Bump all crate versions to 0.2.0 2023-01-11 00:14:28 -06: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
Dimitris Fasarakis Hilliard a6bb9da6fe Bump openssl 2022-12-05 03:15:35 +02:00
Discord9 e53693b3b3 depend: move once_cell to common depend 2022-11-24 12:38:42 +08:00
Discord9 290e8e077b depend: update crossbeam-utils 2022-11-24 12:17:50 +08:00
Devon Hollowood beeb0441ef Allow log2() to work on large integers 2022-10-22 14:55:14 -07:00
Ethan Post c2a5acb40c Implements 6 os/posix constants missing for macos (#4110) 2022-09-26 15:48:48 +09:00
Jeong YunWon 6eeaf976a2 sort Cargo.toml dependencies 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
Noa ead2a392cc Update nix and rustyline 2022-08-18 20:02:17 -05:00
Jeong YunWon 1dce933556 Merge pull request #4091 from youknowone/pin-crossbeam-utils
pin crossbeam-utils for 0.8.9 to avoid build error
2022-08-18 06:43:22 +09:00
Jeong YunWon d39a3df5c7 pin crossbeam-utils for 0.8.9 to avoid build error 2022-08-18 05:51:10 +09:00
Jeong YunWon 93d18bc0c0 rework pylib to generate all frozen libs 2022-08-18 05:44:10 +09:00
hyerim 42290b103e Add: _uuid module (#3974) 2022-08-07 15:27:53 +09:00
Jeong YunWon da9c98675b optional bz2 2022-08-05 04:00:51 +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
Jeong YunWon 573b495def Fix iOS build 2022-07-28 08:49:00 +09: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
Jeong Yunwon cee4814074 add stdlib to rustpython_wasm and remove threading from vm default 2022-05-28 14:27:03 +09:00