Commit Graph
65 Commits
Author SHA1 Message Date
Jeong YunWon 993ea8923c Rename members 2025-06-27 12:32:59 +09:00
Shahar Naveh 1ae07813ee Remove redundent to_owned() and to_string() calls (#5836)
* Remove redundent String conversion for errors

* cargo fmt
2025-06-25 23:42:26 +09:00
Noa 0b35946972 Make FromArgs default field take an expression, not a string literal 2025-03-31 11:48:06 +09:00
Jeong YunWon 372e683063 disable cspell from files with a bunch of OS jargons 2025-03-27 01:47:17 +09:00
Ashwin Naren b870b0e1b5 2024 edition formatting
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-02-26 11:48:22 -08:00
Ashwin Naren d7a72b5755 add constants and implement functions
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-02-24 16:16:34 +09:00
Ashwin Naren 517ffed401 fix clippy lint
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-02-17 14:15:57 -06:00
Ashwin Naren 630c1ff8d1 simple part of the bump
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
2025-02-17 14:15:57 -06: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
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 4729ca3af0 Drop winapi from rustpython-vm 2023-12-28 23:44:47 +09:00
Jeong, YunWon cccfb08835 replace winbase winnt to windows-sys 2023-12-28 22:40:49 +09:00
Jeong YunWon 19224505e8 module objects' type as PyModule 2023-04-20 20:48:57 +09:00
Jeong YunWon 12c96d06e4 Remove useless and_then 2023-03-18 22:10:25 +09:00
Padraic Fanning 268bbd8414 Fix new (v1.66) Clippy warnings on Windows 2022-12-17 13:12:12 -05:00
Dimitris Fasarakis Hilliard 9d303a21d6 Fix errors from update to rust 1.65 2022-11-04 20:57:27 +02:00
Jeong YunWon 185e0cb62d clippy is platform-dependent 2022-10-15 15:53:39 +09:00
Jeong Yunwon f5ed346716 Fix clippy warnings 2022-08-16 07:36:25 +09:00
Jeong Yunwon 055c5cfb97 pyimpl -> pyclass 2022-08-05 01:18:10 +09:00
Jeong Yunwon 66b6a06997 PyValue -> PyPayload 2022-04-23 05:20:31 +09:00
Jeong Yunwon e356d51af1 move ToPy* to convert 2022-04-18 07:17:24 +09:00
Jeong Yunwon f6d70c8176 Into{PyObject,PyException,Pyresult} -> To{..}
The naming convention was wrong
2022-04-18 06:04:47 +09:00
Jeong Yunwon 6357a1acbe clean up imports and useless allow attributes 2022-04-15 23:58:20 +09:00
Noa 09e9ea91e7 TryFrom, TryInto, FromIterator are in prelude now 2021-10-21 17:04:19 -05:00
Jeong YunWon 25e715e300 winreg uses #[pymodule] 2021-10-15 02:38:13 +09:00
Jeong YunWon 806c81b628 winreg constants to #[pymodule] 2021-10-15 02:38:13 +09:00
Jeong YunWon 05dca7a7c8 ctx.new_list returns PyLsitRef 2021-10-12 01:22:36 +09:00
Jeong YunWon a42d547a3f new_{utf8_str, ascii_literal} -> new_str again 2021-10-11 21:28:14 +09:00
Jeong YunWon 379cf2db6f new_bytes return PyRef 2021-10-11 16:10:01 +09:00
Jeong YunWon 741cfea565 vm.ctx.new_int returns PyInt 2021-10-11 01:05:38 +09:00
Jeong YunWon 92de3619fa move IntoPy{Object, Exception, Result} to vm::function
which are used to define function arguments - those functions are mostly placed in the crate
2021-10-06 19:10:16 +09:00
jfh 121655826a pyarg(any) implies positional_or_keyword 2021-09-29 15:43:09 +03:00
Jeong YunWon 5e2a61ee99 Fix windows build warnings 2021-09-25 03:20:49 +09:00
Jeong YunWon 0d09bc7285 derive(PyValue) not to depend on local context 2021-09-24 20:41:11 +09:00
snowapril df5b386b4b resolve clippy warnings in window
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-09-22 23:35:20 +09:00
Jeong YunWon 96c9d9ec16 Group use for vm stuff to prevent reorder for rustpython_stdlib 2021-09-22 12:08:17 +09:00
Dean Li 88e869a4da impl #[derive(PyValue)] for static_type 2021-09-21 21:35:48 +08:00
Jeong YunWon 48dc5c96b6 PyStrKind 2021-09-16 03:35:44 +09:00
Noah 3d9812e748 Remove remaining borrow_value() uses 2021-05-20 10:30:42 -05:00
Noah 99104faaf7 Re-export pyobject::* from the root of the crate 2021-05-20 10:24:07 -05:00
Noah 76f8ed5299 Fix clippy warnings for 1.51 2021-03-26 17:54:22 -05:00
Noah 9105c44bc1 Add more winreg functions 2020-11-02 12:42:43 -06:00
Jeong YunWon 4add0220ae PyValue::class() returns ref 2020-10-20 02:29:20 +09:00
Jeong YunWon 34a2038e17 Use StaticType::static_class() rather than vm.class 2020-10-20 01:47:53 +09:00
Jeong YunWon 9e6dfca9e9 Fix build with new builtins path 2020-10-11 21:16:16 +09:00
Noah dbbdd75b31 Rename rustpython_common::{cell -> lock} 2020-09-26 23:39:10 -05:00
Jeong YunWon 59db19d1ea PyClass -> PyType 2020-09-26 07:32:38 +09:00
Jeong YunWon f81ad04ce3 PyString -> PyStr 2020-09-26 00:20:02 +09:00
Noah ca5f2da9e9 Make more builtin functions be named 2020-09-21 10:32:25 -05:00