Commit Graph

10809 Commits

Author SHA1 Message Date
Jeong Yunwon
c9f1f61bae fix clippy warnings 2022-05-07 20:00:57 +09:00
Jeong YunWon
2ba1d93550 Merge pull request #3686 from fanninpm/fcntl-flock-lockf
Add flock and lockf to fcntl module
2022-05-04 14:43:37 +09:00
rebunto
392a9476a7 Changed pyclass name of PyArray and PyArrayIter #3612 2022-05-04 14:08:34 +09:00
Jeong YunWon
01eff92196 Merge pull request #3688 from youknowone/int
Int cleanup
2022-05-04 09:44:07 +09:00
Padraic Fanning
36ab937e53 Avoid unused import error on wasi and redox 2022-05-03 20:14:55 -04:00
Jeong Yunwon
251ce4e68e ArgByteOrder 2022-05-04 08:29:15 +09:00
Jeong Yunwon
4d244f0d07 int.format error handling 2022-05-04 08:29:15 +09:00
Jeong Yunwon
a50ca743dc empty vm/functin/mod.rs 2022-05-04 08:29:15 +09:00
Jeong Yunwon
580bcb526f remove duplicated type check 2022-05-04 08:29:15 +09:00
Jeong Yunwon
283c97cda7 cut down modpow to keep fast path smaller 2022-05-04 08:29:15 +09:00
Jeong YunWon
c303127912 Merge pull request #3580 from hrchu/fix-test_long_test_huge_rshift
Fix test_long::test_huge_rshift
2022-05-04 08:28:11 +09:00
Jeong Yunwon
987d9b9a9b prevent duplicated code generation 2022-05-04 07:49:19 +09:00
hrchu
e50ee53095 Fix lshift overflow handling 2022-05-04 07:36:43 +09:00
hrchu
8f0e40f2b2 Fix test_long::test_huge_rshift 2022-05-04 07:35:44 +09:00
Padraic Fanning
46a0dea503 Exclude flock() from wasi/redox 2022-05-03 18:27:23 -04:00
Padraic Fanning
2c8588db2e Group imports together and cargo fmt 2022-05-03 18:25:00 -04:00
Padraic Fanning
188f82c009 Change reasons for expected failures in test_fcntl 2022-05-03 18:13:18 -04:00
Padraic Fanning
8d0ba74d12 Add flock and lockf to fcntl module 2022-05-03 18:08:48 -04:00
Jeong YunWon
4a6df6bb20 Merge pull request #3682 from youknowone/extra-test
Rename extra-tests with unified prefix form
2022-05-04 04:42:32 +09:00
Jeong Yunwon
459402d96d add stdlib test to yasi 2022-05-04 04:08:13 +09:00
Jeong Yunwon
ff85fc9257 rename extra_tests to prefix form 2022-05-04 02:54:59 +09:00
Jeong Yunwon
aca6043818 operator_div.py 2022-05-04 00:53:20 +09:00
Jeong Yunwon
ab6a3be51a rename extra_tests 2022-05-04 00:53:20 +09:00
Jeong Yunwon
487cd56391 rename extra_tests files 2022-05-04 00:53:20 +09:00
Jeong Yunwon
bf0daabbae split math_basics.py to proper files 2022-05-04 00:53:20 +09:00
Jeong Yunwon
d62ea37729 merge os_info.py to stdlib_os.py 2022-05-04 00:53:20 +09:00
Jeong Yunwon
01b1344dcb bools.py -> builtin_bool.py 2022-05-04 00:53:20 +09:00
Jeong Yunwon
460be40381 merge basic_types.py to builtin_type.py 2022-05-04 00:53:20 +09:00
Jeong YunWon
2c18207bee Merge pull request #3681 from youknowone/marshal
Update marshal tests
2022-05-04 00:53:10 +09:00
Jeong Yunwon
6ff41a24c2 mark failing tests 2022-05-03 23:58:42 +09:00
Jeong Yunwon
66afb64f79 Add Lib/test/test_marshal.py from CPython 3.10.4 2022-05-03 23:56:41 +09:00
Jeong Yunwon
c0b8c16454 Relocate marshal tests by our convention 2022-05-03 23:47:00 +09:00
Jeong YunWon
ab51e56b74 Merge pull request #3680 from fanninpm/test-fcntl
Add test_fcntl.py from CPython 3.10
2022-05-03 15:00:00 +09:00
Padraic Fanning
cf063645a6 Move LOCK_* constants to non-wasi/non-redox part 2022-05-02 22:10:23 -04:00
Padraic Fanning
106e2047fd Mark erroring tests 2022-05-02 21:06:49 -04:00
Padraic Fanning
4362cee88f Add more missing constants to fcntl module 2022-05-02 21:04:10 -04:00
Padraic Fanning
ee2f4da2b8 Add test_fcntl.py from CPython 3.10 2022-05-02 20:54:08 -04:00
Jeong YunWon
e09e97b013 Merge pull request #3674 from youknowone/compile-single
compiler clean up
2022-05-02 23:56:12 +09:00
Jeong Yunwon
75b3e0d0e3 fn -> impl FnOnce
https://github.com/RustPython/RustPython/pull/3674#discussion_r862511425
2022-05-02 18:08:26 +09:00
Jeong YunWon
34b585286c Merge pull request #3677 from Snowapril/fix_asdl_rs
Fix `PyContext` into `Context` in `asdl_rs.py`
2022-05-02 17:40:41 +09:00
snowapril
e10330df1e Fix PyContext into Context in asdl_rs.py
Signed-off-by: snowapril <sinjihng@gmail.com>
2022-05-02 16:32:43 +09:00
Jeong YunWon
f5c0c03d04 Merge pull request #3676 from fanninpm/more-fcntl-constants
Add some platform-dependent constants to fcntl
2022-05-02 10:56:06 +09:00
Jeong YunWon
a3009e41d5 Merge pull request #3675 from fanninpm/more-termios-functions
Add more termios functions
2022-05-02 10:55:42 +09:00
Jeong Yunwon
13e602b1df compile get_doc -> split_doc to follow split_first convention in Rust 2022-05-02 10:37:47 +09:00
Jeong Yunwon
852afd5424 remove with_compiler 2022-05-02 10:37:47 +09:00
Jeong Yunwon
2f62bb51c2 compile_impl! => compile_impl 2022-05-02 10:37:47 +09:00
Jeong Yunwon
3034217eae VirtualMachine::{run_frame_full => run_frame} 2022-05-02 10:37:47 +09:00
Jeong Yunwon
50e6146b23 compile_single checks last expr out of loop 2022-05-02 10:37:45 +09:00
Padraic Fanning
64a3be5f0f Add some platform-dependent constants to fcntl 2022-05-01 19:41:16 -04:00
Padraic Fanning
fad9d87632 Add more termios functions 2022-05-01 18:41:14 -04:00