Commit Graph

10797 Commits

Author SHA1 Message Date
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
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
Jeong YunWon
bfb5e93af6 Merge pull request #3673 from fanninpm/more-termios-constants
Add some platform-dependent constants to termios
2022-05-01 15:00:37 +09:00
Jeong YunWon
4c0d49de96 Merge pull request #3658 from coolreader18/move-crt_fd
Move crt_fd to common
2022-05-01 14:59:42 +09:00
Padraic Fanning
4cd59d5ec6 Add some platform-dependent constants to termios
Note: includes constants that are missing and/or have incomplete
platform coverage.
2022-05-01 00:22:09 -04:00
Noa
74bb4b6d7b Merge pull request #3672 from youknowone/exit-handling
Fix stderr usage in exit handling
2022-04-30 15:16:56 -05:00
Noa
77495a2b2d Move stdlib::os::errno to common 2022-04-30 13:35:43 -05:00
Noa
b382d3c9e3 Move crt_fd to common 2022-04-30 13:35:42 -05: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
ec9697aabb Remove direct eprintln! usage from vm 2022-04-30 23:01:26 +09:00
Jeong Yunwon
846e38e110 Fix stderr usage in exit handling 2022-04-30 22:59:16 +09:00
Jeong YunWon
abdb04f614 Merge pull request #3671 from fanninpm/test-time-3.10
Update test_time.py to CPython 3.10
2022-04-30 17:11:55 +09:00
Jeong YunWon
00e461ed04 Merge pull request #3668 from youknowone/interpreter-default
Remove Interpreter::default to alert better there is no stdlib
2022-04-30 17:09:50 +09:00