Commit Graph

10577 Commits

Author SHA1 Message Date
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
d068109728 Replace wasmer install with setup-wasmer@v1 2022-04-19 01:03:54 +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
Jeong Yunwon
a07fcd2b44 split convert module into sub modules 2022-04-18 06:04:47 +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
0f4b3ece5f hide PyObjectPayload from crate root 2022-04-18 04:02:47 +09:00
Jeong YunWon
ea39443063 Merge pull request #3628 from youknowone/upgrade-libc
upgrade libc
2022-04-18 00:46:54 +09:00
Jeong Yunwon
a22341787a remove socket.IPPROTO_MAX 2022-04-18 00:23:23 +09:00
Jeong Yunwon
965c3157c8 Upgrade libraries 2022-04-18 00:09:22 +09:00
Jeong Yunwon
3250c55595 upgrade libc 2022-04-17 23:41:51 +09:00
Jeong Yunwon
7c85002902 x 2022-04-17 23:17:34 +09:00
Jeong YunWon
65d667bc9b Merge pull request #3626 from youknowone/type-protocol
Replace TypeProcotol to AsPyObject
2022-04-17 22:24:52 +09:00
Jeong Yunwon
5da0314169 suppress cilppy warnings 2022-04-17 22:24:34 +09:00
Jeong Yunwon
d97a398609 flexible new_downcast_error 2022-04-17 21:53:03 +09:00
Jeong Yunwon
a69617871e flexible mapping 2022-04-17 21:15:14 +09:00
Jeong Yunwon
15cb57526e flexible vm.invoke 2022-04-17 21:09:52 +09:00
Jeong Yunwon
a7de700ef6 clean AsPyObject usage 2022-04-17 21:01:53 +09:00
Jeong Yunwon
75e589cbc1 isinstance -> fast_isinstance 2022-04-17 20:32:34 +09:00
Jeong Yunwon
04cf262b37 Replace TypeProcotol to AsPyObject 2022-04-17 20:17:43 +09:00
Jeong Yunwon
29ba8956a9 Remove TypeProtocol::clone_class() 2022-04-17 20:10:24 +09:00
Jeong Yunwon
aa76a34963 merge TypeProtocol in AsPyObject 2022-04-17 19:26:10 +09:00
Jeong Yunwon
7f9e8254c4 TypeProtocol depends on AsPyObject 2022-04-17 19:12:58 +09:00
Jeong YunWon
3a8019baee Merge pull request #3625 from youknowone/cleanup-type
Remove DerefToPyType, IdProtocol
2022-04-17 18:40:34 +09:00
Jeong Yunwon
f01e28e4ca Fix unused import 2022-04-17 18:40:10 +09:00
Jeong Yunwon
935bfcda86 inline for object pointer operations 2022-04-17 10:37:53 +09:00
Jeong Yunwon
625f8675ae Introduce AsPyObject to replace IdProtocol 2022-04-17 10:32:01 +09:00
Jeong Yunwon
9be1dc1f8b no more IdProtocol-depending api 2022-04-17 10:25:02 +09:00
Jeong Yunwon
7edebbf28c Remove DerefToPyType 2022-04-17 10:16:31 +09:00
Jeong Yunwon
2e6875c8d5 checkpoint 2022-04-17 09:56:42 +09:00
Jeong Yunwon
ba1a9b5b7e issubclass takes &impl Borrow<PyObject> 2022-04-17 09:50:54 +09:00
Jeong Yunwon
dd09a9489b Remove DerefToPyType for &DerefToPyType 2022-04-17 09:46:15 +09:00
Jeong Yunwon
dca59e9832 Add borrow for wrapping types 2022-04-17 09:40:39 +09:00
Jeong YunWon
adce97a03f Merge pull request #3623 from youknowone/jit-warning
remove warning from jit test
2022-04-17 09:17:31 +09:00