Commit Graph

10607 Commits

Author SHA1 Message Date
Jeong Yunwon
3582eb2e19 new name collition detection 2022-04-20 01:17:33 +09:00
Jeong Yunwon
95bd172278 Run make_class always regardless it has pyattr or not 2022-04-20 00:32:15 +09:00
Jeong YunWon
03b7dd3e8f Merge pull request #3644 from youknowone/fix-derive-loop
fix infinite-loop in derive
2022-04-20 00:05:12 +09:00
Jeong Yunwon
eb1f78dc0b fix infinite-loop in derive 2022-04-19 23:30:56 +09:00
Jeong YunWon
16cedb1624 Merge pull request #3613 from youknowone/pystructseq-fromobj
derive(TryIntoPyStructSequence)
2022-04-19 16:20:35 +09:00
Jeong YunWon
eb6889a8c0 Merge pull request #3642 from youknowone/derive-more
#[pyattr] enhancement
2022-04-19 16:05:42 +09:00
Jeong YunWon
fdbae03658 Merge pull request #3640 from fanninpm/stable-coverage-test
Switch instrument coverage to stable
2022-04-19 15:38:36 +09:00
Jeong Yunwon
41000c4f54 Use array for PyStructSequence 2022-04-19 15:32:20 +09:00
Jeong Yunwon
c35b3a653b hide PyStructSequence from crate root 2022-04-19 15:31:33 +09:00
Jeong Yunwon
f19143f379 skip type check 2022-04-19 15:31:33 +09:00
Jeong Yunwon
6de62d937e module for PyStructSequence 2022-04-19 15:31:30 +09:00
Jeong Yunwon
4f531d1c6b remove FIELD_LEN 2022-04-19 15:14:17 +09:00
Jeong Yunwon
bf18e281ed derive macro for TryFromObject for PyStructSequence 2022-04-19 15:08:42 +09:00
Jeong Yunwon
1b5348a7f4 Fix _socket.socket naming 2022-04-19 15:07:04 +09:00
Jeong Yunwon
9cbb3b4a2d more fine-controlled #[pyattr] 2022-04-19 15:07:04 +09:00
Jeong Yunwon
fb5a66f8ad Allow #[pyattr] on #[pyfunction] 2022-04-19 15:07:04 +09:00
Padraic Fanning
c9dc7b26f2 Switch instrument coverage to stable 2022-04-18 23:02:47 -04:00
Jeong YunWon
a9f2901126 Merge pull request #3639 from youknowone/derive2
refactor derive pyclass&pymodule
2022-04-19 06:18:32 +09:00
Jeong Yunwon
ec23bf4349 black generate_docs 2022-04-19 05:10:05 +09:00
Jeong Yunwon
029860d856 move generate_docs.py to scripts 2022-04-19 05:10:05 +09:00
Jeong Yunwon
a86f37e086 split set_str_attr 2022-04-19 05:10:05 +09:00
Jeong Yunwon
dc19de6121 AttrName for pymodule 2022-04-19 05:10:05 +09:00
Jeong Yunwon
d5167ed890 adapt AttrName to derive pyclass 2022-04-19 05:10:05 +09:00
Jeong Yunwon
52a8cb329f AttrName for derive 2022-04-19 04:00:00 +09:00
Jeong YunWon
1e747b94ca Merge pull request #3635 from youknowone/into-object
distinguish IntoObject::into_object() and PyValue::into_pyobject(vm)
2022-04-19 01:51:19 +09:00
Jeong YunWon
040c674ff1 Merge pull request #3583 from deantvv/test-wasm32-wasi
ci: add test for wasm32-wasi
2022-04-19 01:28:00 +09:00
Jeong Yunwon
554b2b9f48 vm/src/function/builtin.rs 2022-04-19 01:25:36 +09:00
Jeong Yunwon
abe3d6bc8e vm/src/function/argument.rs 2022-04-19 01:19:16 +09:00
Jeong Yunwon
af84587543 vm::function::{argument => protocol}.rs 2022-04-19 01:07:38 +09:00
Jeong Yunwon
d068109728 Replace wasmer install with setup-wasmer@v1 2022-04-19 01:03:54 +09:00
Jeong Yunwon
860d7e1562 inline and cold 2022-04-19 01:00:15 +09:00
Jeong Yunwon
c4b80b3a24 IntoObject::into_object() and PyValue::into_pyobject(vm) 2022-04-19 00:38:18 +09:00
Jeong Yunwon
131537783e Remove cargo check for wasm32-wasi 2022-04-19 00:32:28 +09:00
Jeong YunWon
e0ce5779e6 Merge pull request #3603 from deantvv/test-io-3-10
test: update test.support, test_io and test_os to 3.10
2022-04-19 00:29:52 +09:00
Dean Li
25a6b2b7c4 test: update test_os.py to 3.10 2022-04-18 22:58:00 +08:00
Dean Li
5aff05c0af test: update test_urllib2.py to py3.10 2022-04-18 22:58:00 +08:00
Dean Li
29c953d9a6 test: update test.support and test_io to 3.10
Initially this is only meant to be a small update for `test_io.py`.
But it turns out that `test.support` need a lot of cleanup especially
for `test.support.warnings_helper`.
2022-04-18 22:50:55 +08:00
Dean Li
11df5a95e2 ci: add test for wasm32-wasi 2022-04-18 22:37:30 +09:00
Jeong YunWon
e4ce0d54c8 Merge pull request #3633 from youknowone/fix-win-ci
hide test_subprocess.test_invalid_cmd
2022-04-18 22:20:41 +09:00
Jeong YunWon
dbf0c3e4ad Merge pull request #3634 from youknowone/wasm32
Fix wasm32 build
2022-04-18 21:51:39 +09:00
Jeong Yunwon
b48cb1f50c hide test_subprocess.test_invalid_cmd 2022-04-18 21:38:32 +09:00
Jeong Yunwon
cc8735a6e2 Fixi wasm32 build for workspace 2022-04-18 21:32:08 +09:00
Jeong Yunwon
24d9be1611 wasm32 ci 2022-04-18 21:14:39 +09:00
Jeong Yunwon
f8f4392cf3 Fix wasm32 build 2022-04-18 21:14:38 +09:00
Jeong YunWon
584d972978 Merge pull request #3632 from youknowone/cleanup-traits
Rename wrong traits names and relocate convert traits
2022-04-18 07:59:56 +09:00
Jeong Yunwon
fee3bf2722 AsPyObject -> AsObject because fn as_object 2022-04-18 07:19:35 +09:00
Jeong Yunwon
6121195548 Replace IntoPyRef with VirtualMachine::new_pyref 2022-04-18 07:17:24 +09:00
Jeong Yunwon
d88fb36308 call PyLease::into_owned as method 2022-04-18 07:17:24 +09:00
Jeong Yunwon
659c1b8254 PyLease::{into_pyref -> into_owned} 2022-04-18 07:17:24 +09:00
Jeong Yunwon
e356d51af1 move ToPy* to convert 2022-04-18 07:17:24 +09:00