Commit Graph
515 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 3286e683e6 win32_xstat (#5247)
* win32_xstat

* vm::windows

* Add file_id
2024-04-21 22:02:09 +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 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, YunWon 3f691de7a3 Update chrono (#5220) 2024-04-09 04:13:39 +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 f5fbb5b06f replace sre-engine to rustpython-sre_engine 2024-03-22 14:59:19 +09:00
Kangzhi Shi d9375b9fe1 impl re.template(),
template_compile template_expand subx
2024-03-22 14:59:19 +09:00
Kangzhi Shi 1e3d57817c Replace re_test.py from CPython 3.12 and mark failed tests 2024-03-22 14:59:09 +09:00
Jeong YunWon 12601d0b44 integrate sre_engine crate to workspace 2024-03-18 17:24:49 +09:00
Daniel Chiquito 9693ad9b11 Replace rust-cpython with pyo3 in benchmarks
The benchmarks have been broken since Python 3.10 deprecated the API
they were using to parse and execute CPython baselines. Since then
rust-cpython has been deprecated in favor of pyo3.

- Replace `cpython` and `python3-sys` with `pyo3`.
- Add `html_report` feature to `criterion`, it will be required in a
  future release.
- Remove `anyhow`. It was unused and cargo cleaned it up automatically.
2024-02-09 15:15:22 -05:00
Daniel Chiquito 36b9219e32 Bump ahash from 0.8.3 to 0.8.7
When building the project for the Miri CI step, the latest nightly
version apparently conflicts with the older `ahash` 0.8.3. Updating to
0.8.7 fixed the build for me locally.
2024-02-07 18:40:28 -05: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 7236109d75 Merge pull request #5144 from youknowone/clippy
Fix 1.75 clippy warnings
2023-12-30 13:16:10 +09:00
Jeong YunWon 506c8a633e Fix redox and nightly 2023-12-30 12:53:57 +09:00
Jeong, YunWon 756088e7fb more winapi to windows-sys 2023-12-29 00:40:04 +09:00
Jeong, YunWon 4729ca3af0 Drop winapi from rustpython-vm 2023-12-28 23:44:47 +09:00
Jeong, YunWon adf0788895 bump up windows{-sys} 2023-12-28 22:28:33 +09:00
Michał Moskal 459cad8407 update indexmap to 1.9.3 (#5128) 2023-12-28 13:08:08 +09:00
Jeong YunWon 727f97fd48 Fix malachite-bigint version 2023-12-28 01:50:02 +09:00
NakanoMiku fe617431f4 Update test__locale.py and test_atexit.py from CPython v3.12 (#5114)
* Update test__locale.py from CPython v3.12

* Update Cargo.lock

* Update test_atexit.py from CPython v3.12
2023-11-08 22:39:56 -08:00
Jeong, YunWon 987d50c092 port to windows-rs (#5080)
* Fix OpenSSL in windows CI

* bump windows-rs

* prepare windows-sys 0.48

* CloseHandle

* DuplicateHandle

* CreatePipe

* GetFileType

* GetExitCodeProcess

* TerminateProcess

* GetStdHandle

* GetCurrentProcess

* DeleteProcThreadAttributeList

* WaitForSingleObject

* CreateProcessW

* InitializeProcThreadAttributeList

* UpdateProcThreadAttribute

* clean up helpers
2023-10-07 03:01:42 +09:00
Jeong, YunWon 23bf5c42ca bump up and sync dependencies with rustpython-parser (#5075) 2023-10-04 23:42:07 +09:00
Jelmer Vernooij 9031a0ac9f bump lz4_flex dependency to 0.11 (#5067) 2023-09-27 17:43:17 +09:00
Jelmer Vernooij 39169de63a bump is-macro to 0.3 (#5066) 2023-09-23 01:06:47 +09:00
Jeong YunWon 1208416b92 0.3.0 release 2023-09-06 18:49:55 +09:00
Jeong YunWon e5cea3ad37 Update parser to 0.3.0 2023-09-05 17:18:39 +09:00
Zanie Blue bdb0c8f645 Add parser support for PEP 695 (#5026)
* Add generated content for PEP 695 ASDL

* Bump RustPython/Parser to https://github.com/RustPython/Parser/commit/704eb40108239a8faf9bd1d4217e8dad0ac7edb3

* Add stubs for type aliases and parameters
2023-07-20 13:54:07 +09:00
Jeong, YunWon c28cb3941f prettier *.js + fix miri build (#5028)
* prettier *.js

* bump up proc-macro2
2023-07-19 23:43:26 +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
Jeong, YunWon 3d2c51962b Update parser (#5012) 2023-06-18 02:38:42 +09: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
Jeong, YunWon 7a3f965396 new ast layout for arguments (#4978) 2023-06-02 17:07:34 +09:00
Jeong, YunWon ff7055749c Update parser to specialize ConversionFlag (#4976) 2023-05-17 10:47:56 +09:00
Jeong, YunWon 5d3e12fca4 Reduce parser size and Avoid copying elements when parsing (#4974)
https://github.com/RustPython/Parser/pull/35
2023-05-16 01:35:50 +09:00
Jeong, YunWon f5fc30ae63 Move range to each Node (#4969) 2023-05-15 17:00:23 +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
Jeong YunWon a43a8c546e Revert a few .as_str() calls by adding it to ast 2023-05-11 04:43:57 +09:00
Jeong YunWon 4064c84cb4 ast::Identifier and ast::Int 2023-05-10 20:31:35 +09:00
Jeong YunWon dc569e9921 Refactoring 2023-05-10 19:35:27 +09:00
Jeong YunWon f1b261b4f8 Adapt byte-offset location 2023-05-10 04:13:30 +09:00
Jeong YunWon 0af106c85c Refactor ast to hold data as seperated type 2023-05-07 19:31:31 +09:00
Jeong YunWon bac1cdc55f Remove compiler_core::CompileError 2023-05-06 18:22:25 +09:00
Jeong YunWon f2cfa5f0a7 Split parser to new repository
https://github.com/RustPython/Parser/commit/6b60f85cc4ca248af9b787697c41be2adb7a3ec8
2023-05-06 14:38:11 +09:00
Jeong YunWon ff5076b12c rustpython-literal 2023-05-05 21:49:12 +09:00