298 Commits
Author SHA1 Message Date
Bijan Naimi 134355e1e6 Improved the fix for the continuing problem in the shell (#4406) 2023-01-05 10:12:29 +09:00
Bijan Naimi b96f13f15f fixed formatting issues again 2023-01-01 17:20:27 -08:00
Bijan Naimi a6411b4bff fixed formatting issues 2023-01-01 17:11:44 -08:00
Bijan Naimi 817ed3d4e2 changed the shell logic for handling indents 2023-01-01 15:41:51 -08:00
Bijan Naimi 4afcf76b62 fixed formatting problems 2022-12-30 18:33:29 -08:00
Bijan Naimi 19e5590824 added quiet arg and stdin pipe check 2022-12-30 17:53:20 -08:00
Jeong YunWon d935fbc445 Fix nightly clippy warnings 2022-12-05 12:18:16 +09:00
Dimitris Fasarakis Hilliard d07547860b Fix issues with flame-it. 2022-11-23 18:57:53 +02:00
Jeong YunWon 8df1f07df9 InterpreterConfig 2022-09-05 17:56:11 +09:00
Jeong YunWon 597ad013b2 Fix pylib dependency for binary 2022-09-05 17:55:26 +09:00
Jeong YunWon e8b9b4b4de move path "" to vm.initialize 2022-09-05 10:38:40 +09:00
Jeong YunWon d32cd53948 Move pylib dependency out of vm 2022-09-03 17:10:26 +09:00
Jeong YunWon 07e339a7fb Create vm::compiler to handle CompileError variations 2022-08-23 01:43:19 +09:00
Jeong YunWon d876673546 Move out CompileError to core as generic form 2022-08-23 01:30:00 +09:00
Jeong YunWon 9aacd144ca Integrate CompileError to compiler-core::BaseError 2022-08-22 23:18:41 +09:00
Jeong YunWon 31f95eeb1e integrate CodegenError to compiler-core::Error 2022-08-22 18:43:03 +09:00
Jeong YunWon 58f5122b3d codegen::{CompileError -> CodegenError} 2022-08-22 08:42:20 +09:00
Noa ead2a392cc Update nix and rustyline 2022-08-18 20:02:17 -05:00
Jeong YunWon 42eb6554f0 impl _imp.check_hash_based_pycs 2022-08-15 16:09:32 +09:00
Jeong YunWon f7a0c5fa19 --install-pip default to ensurepip 2022-08-14 06:13:01 +09:00
joohongpark 9cac7a36dd replace exit with Exitcode (#3956) 2022-08-04 15:46:17 +09:00
Jeong Yunwon 9b2a9d2377 TypeZoo uses &'static Py<PyType> 2022-05-27 10:35:01 +09:00
Jeong Yunwon 9db69d628f {Type,Exception}Zoo holds static ref 2022-05-27 10:23:33 +09:00
Jeong Yunwon fb52694e41 PyAttributes key is PyStrInterned 2022-05-23 09:03:13 +09:00
Jeong Yunwon 93d1438345 PyObjBag refers Context instead of vm 2022-05-16 04:45:13 +09:00
Jeong Yunwon e8c59360b9 Interpreter::run 2022-05-01 00:29:40 +09:00
Jeong Yunwon c83d8fd68d exception-to-exitcode to vm method 2022-05-01 00:23:23 +09:00
Jeong Yunwon 846e38e110 Fix stderr usage in exit handling 2022-04-30 22:59:16 +09:00
Jeong Yunwon 6fd5094c05 Remove Interpreter::default() not to trap users init without stdlib 2022-04-30 05:09:33 +09:00
Jeong Yunwon b74a5a6a92 relocate run functions to vm 2022-04-30 04:05:26 +09:00
Jeong YunWon ab95b57a62 Merge pull request #3627 from youknowone/getattro
GetAttro take reference
2022-04-29 05:48:06 +09:00
Padraic Fanning 1cecd2a2de Add sys.warn_default_encoding 2022-04-27 18:58:16 -04:00
Jeong Yunwon f8234aee84 GetAttro take reference 2022-04-26 21:56:27 +09:00
Jeong Yunwon ab7d921772 PySettings is not a python object 2022-04-23 07:56:20 +09:00
Jeong Yunwon cc8735a6e2 Fixi wasm32 build for workspace 2022-04-18 21:32:08 +09:00
Jeong Yunwon fee3bf2722 AsPyObject -> AsObject because fn as_object 2022-04-18 07:19:35 +09:00
Jeong Yunwon 75e589cbc1 isinstance -> fast_isinstance 2022-04-17 20:32:34 +09:00
Jeong Yunwon aa76a34963 merge TypeProtocol in AsPyObject 2022-04-17 19:26:10 +09:00
Jeong Yunwon 625f8675ae Introduce AsPyObject to replace IdProtocol 2022-04-17 10:32:01 +09:00
Jeong Yunwon 828c28ebb8 Replace vm.extract_elements with TryFromBorrowedObject 2022-04-17 06:09:45 +09:00
Jeong Yunwon d7daf42756 atexit hold its features itself 2022-04-17 04:10:10 +09:00
Jeong Yunwon 6357a1acbe clean up imports and useless allow attributes 2022-04-15 23:58:20 +09:00
Jeong YunWon 9377134161 add #[non_exhaustive] 2022-01-22 20:22:58 +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
Noa a3723462ce Don't create an intermediate map for rustpython_stdlib::stdlib_inits 2021-11-01 22:37:32 -05:00
jfh a3771518de Fix warnings for wasi check. 2021-10-27 21:06:48 +03:00
Moreal bc05b98ca6 Relocate vm.to_repr to object.repr 2021-10-23 21:16:28 +09:00
Noa 09e9ea91e7 TryFrom, TryInto, FromIterator are in prelude now 2021-10-21 17:04:19 -05:00
Jeong YunWon d4feb2a6c5 incref -> to_owned 2021-10-21 17:29:34 +09:00