Commit Graph
222 Commits
Author SHA1 Message Date
Noa a86126419c Fix remaining tests 2025-03-25 19:05:12 -05:00
Noa cc6f3d3051 Make TextIOWrapper wtf8-compatible 2025-03-25 19:05:12 -05:00
Noa 3945d3b2fe Make format wtf8-compatible 2025-03-25 19:05:12 -05:00
Noa ba1b5811ee Update encoding to use wtf8 2025-03-25 19:05:11 -05:00
Noa 7f4582bb23 Make cformat wtf8-compatible 2025-03-25 19:05:11 -05:00
Noa cace112b1a Allow surrogates in str 2025-03-25 19:05:11 -05:00
Noa e3a1031081 Refactor cformat in prep for wtf8 2025-03-26 08:36:16 +09:00
Noa c585678ec9 Merge format and literal back into this repo (and update malachite) (#5618)
* Merge format and literal back into this repo

* Update format and literal to work

* Update malachite

* Remove RustPython/Parser from Cargo.toml
2025-03-23 09:27:13 +09:00
Ashwin Naren d2bf31724f fix clippy 2025-03-05 13:49:37 -06:00
Ashwin Naren b4929d258d formatting 2025-03-05 13:49:37 -06:00
Ashwin Naren 33940726a8 upgrade to windows-sys 0.59.0 2025-03-05 13:49:37 -06:00
Noa 6daee1b00e Warn on elided_lifetimes_in_paths 2025-03-01 13:49:33 +09:00
Ashwin Naren b870b0e1b5 2024 edition formatting
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-02-26 11:48:22 -08:00
Noa 864e8598f8 Enable rust2024-incompatible pat and keyword-ident lints 2025-02-25 00:32:02 -06:00
Noa 0a8b0406f5 Enable missing_unsafe_on_extern lint 2025-02-24 21:25:23 -06:00
Noa 1c3b198a17 Enable unsafe_op_in_unsafe_fn lint 2025-02-24 21:25:23 -06:00
Noa a9331bb34d Fix warnings for rust 1.85 2025-02-20 14:58:59 -06:00
Hanif AriffinandJeong YunWon 65dcf1ce1c Updating test_math.py to CPython 3.12.9 (#5507)
* Fixed implementation against CPython 3.12.9 Lib/test/test_math.py tests
---------

Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2025-02-20 11:21:12 +09:00
Noa fa2acd7cde Update rand to 0.9 2025-02-18 17:07:26 +09:00
Ashwin Naren 7e1568a1ff Revert "windows-rs upgrade to 0.59"
This reverts commit 547530724e.
2025-02-17 14:15:57 -06:00
Ashwin Naren 6788010f7d windows-rs upgrade to 0.59 2025-02-17 14:15:57 -06:00
Ashwin Naren a46ce8ec3a Mark version 3.13.0 (#5495)
* bump to 3.13.1
* fix some tests
* strip left whitespace from doc
* remove specific difflib test that was causing issues
* fix test_enum

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-02-13 14:11:01 +09:00
Noa b7db23bbae Fix warnings for Rust 1.84 2025-01-11 18:48:27 +09:00
Jeong, YunWon a5e6ade9cb Merge pull request #5454 from coolreader18/rust-1.83
Bump MSRV to 1.83
2025-01-07 13:13:42 +09:00
Noa 8c7bfb3e1a Fix redox 2025-01-06 13:09:49 -06:00
Noa 8ac7e34be2 Updates for Rust 1.83 2024-12-03 17:05:24 -06:00
Noa adc05e663f Merge pull request #5443 from coolreader18/incremental-newline-decoder
Implement IncrementalNewlineDecoder in rust
2024-12-03 16:28:00 -06:00
Myeongseon Choi fffd0f5465 new clippy lint update Rust v1.83.0 2024-11-29 09:53:54 +09:00
Noa fbd0c7a99e Implement IncrementalNewlineDecoder in rust 2024-11-14 23:06:53 -06:00
Noa c883f0ad8a Updates for Rust 1.82 2024-10-17 16:32:47 -05:00
Noa eae60113af Update some stuff for inline const & associated type bounds 2024-10-17 16:32:17 -05:00
Noa 37dc28a69d Update deps (#5417)
* Upgrade nix

* Update deps

* Upgrade pyo3, winreg

* Fix errors from upgrading
2024-09-27 13:11:00 +09:00
Jeong YunWon 2919df1df5 Mark rust-version 1.78 2024-08-08 23:20:17 +09:00
Jeong YunWon 8673169ee7 0.4.0 2024-08-07 08:38:21 +09:00
James Clarke 08c9a4d86b Added lints and deny.toml 2024-06-25 03:59:40 +01:00
Snowapril bca90f191c Fix missing_transmute_annotations, legacy_numeric_constants added in Rust 1.79.0 clippy (#5339) 2024-06-16 20:26:22 +09:00
Jeong YunWon e5bf72e897 contextvars 2024-05-07 22:43:21 +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 f0f4633346 Fix nightly clippy 2024-04-18 03:37:29 +09:00
Jeong YunWon 8816cd41d5 0.3.1 2024-04-10 17:39:57 +09:00
Daniel Chiquito 90724b32ec Implement new clippy lints (#5208)
* Implement new clippy lints

clippy was just updated and has a few minor issues with the code base.

* Forgotten lint hidden behind feature
2024-03-22 10:25:53 +09:00
Daniel Chiquito bf461cdebc Use CPython hash algorithm for frozenset
The original hash algorithm just XOR'd all the hashes of the elements of
the set, which is problematic. The CPython algorithm is required to pass
the tests.

- Replace `PyFrozenSet::hash` with CPython's algorithm
- Remove unused `hash_iter_unorded` functions
- Add `frozenset` benchmark
- Enable tests
- Lower performance expectations on effectiveness test
- Adjust `slot::hash_wrapper` so that it doesn't rehash the computed
  hash value in the process of converting PyInt to PyHash.
2024-02-09 21:02:40 -05:00
Jeong YunWon a309cb5d2c Fix 1.75 clippy warnings 2023-12-30 11:48:40 +09:00
Noa 068249196f Use new 1.74 features (#5118) 2023-11-17 13:01:05 +09:00
Steve Shi b8f22e2967 bump malachite to 0.4.4 (#5069) 2023-11-07 22:43:49 -08:00
Jeong YunWon 1208416b92 0.3.0 release 2023-09-06 18:49:55 +09: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
Jeong YunWon dc569e9921 Refactoring 2023-05-10 19:35:27 +09:00