Commit Graph
39 Commits
Author SHA1 Message Date
Shahar Naveh 4bf32a04f4 Apply some clipy lints (#6045) 2025-07-30 12:16:02 +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 a9331bb34d Fix warnings for rust 1.85 2025-02-20 14:58:59 -06:00
Noa b7db23bbae Fix warnings for Rust 1.84 2025-01-11 18:48:27 +09:00
Jeong, YunWon 4135da42ac Fix clippy (#5083)
* Fix clippy

* Fix nightly clippy
2023-10-06 03:17:03 +09:00
Jeong YunWon 494c7bda58 method calls to take &PyObject 2023-03-22 22:09:14 +09:00
Jeong YunWon ab1de2942c type.__name__ & getattr optimization 2023-03-20 19:00:01 +09:00
Jeong Yunwon fb52694e41 PyAttributes key is PyStrInterned 2022-05-23 09:03:13 +09:00
Jeong Yunwon f8234aee84 GetAttro take reference 2022-04-26 21:56:27 +09:00
Jeong Yunwon cc8735a6e2 Fixi wasm32 build for workspace 2022-04-18 21:32:08 +09:00
Jeong Yunwon 625f8675ae Introduce AsPyObject to replace IdProtocol 2022-04-17 10:32:01 +09:00
Jeong Yunwon 6357a1acbe clean up imports and useless allow attributes 2022-04-15 23:58:20 +09:00
Kangzhi Shi ca4e8f50e8 refactor ItemProtocol -> Object Protocol 2021-11-27 13:00:37 +02:00
Noa e42a3ca48e Big overhaul part 1 - replace PyRc with manual RefCount + WeakRefList 2021-11-15 16:08:45 -06:00
jfh a3771518de Fix warnings for wasi check. 2021-10-27 21:06:48 +03:00
Jeong YunWon d4feb2a6c5 incref -> to_owned 2021-10-21 17:29:34 +09:00
Noa 8dd18d97be PyObjectRef -> &PyObj, &PyRef<T> -> &Py<T> 2021-10-21 16:49:01 +09:00
jfh 7bc10da154 Relocate vm.get_attribute to obj.get_attr. 2021-10-17 10:30:21 +03:00
Jeong YunWon ffef73c1d7 split Arg{Callble,Iterable} from pyobject.rs 2021-09-22 21:01:44 +09:00
Jeong YunWon a5309a7888 Rename Py{Callable, Iterable} to Arg{..}
which were not a python object but just argument helper
2021-09-22 20:58:26 +09:00
jfh f889add815 Fix panic (debug), no indend (release) in REPL. 2021-08-24 08:39:55 +03: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 89ef71a83a Fix tab completion for classes 2021-04-11 17:38:44 -05:00
Noah 25ecd7c38b Upgrade dependencies 2021-03-25 08:06:56 -05:00
Eric van der Toorn 29a69b8958 update rustyline 2021-03-16 12:45:06 +01:00
Noah 92b8e59158 Fast locals part 2 2020-12-05 16:36:00 -06:00
Noah 2f232ecbe3 Implement string interning for variable names 2020-11-09 15:51:57 -06:00
Jeong YunWon ca9326f95d expose bulitins items on builtins module and hide submodules 2020-10-12 11:43:24 +09:00
Jeong YunWon 9e6dfca9e9 Fix build with new builtins path 2020-10-11 21:16:16 +09:00
Jeong YunWon b0445396f4 compactize invoke args 2020-10-11 09:38:06 +09:00
Jeong YunWon f81ad04ce3 PyString -> PyStr 2020-09-26 00:20:02 +09:00
Jeong YunWon ab37e455f3 BorrowValue for PyString 2020-08-09 14:14:55 +09:00
Noah 645314b215 Move readline.rs into the vm crate 2020-02-29 12:02:36 -06:00
Jeong YunWon 1bac582921 &str::to_string -> &str::to_owned for literals 2020-02-05 22:55:33 +09:00
coolreader18 ddf5c9aade Compile for redox 2020-01-14 19:07:05 -06:00
coolreader18 1edf7c85aa Cleanup some stuff related to the repl 2019-10-14 20:20:13 +00:00
coolreader18 e7a6b79023 Allow indenting by pressing tab 2019-10-08 21:32:02 -05:00
coolreader18 2220ed7e81 Abstract over the readline implementation 2019-10-08 21:32:02 -05:00