531 Commits

Author SHA1 Message Date
hwi-ya
53a74a1f2d Modify timeout print message
Co-Authored-By: Jeong YunWon <jeong@youknowone.org>
2022-08-05 01:25:53 +09:00
Jeong Yunwon
055c5cfb97 pyimpl -> pyclass 2022-08-05 01:18:10 +09:00
Sion Kang
bb52ed774e Feat: grp module (#3967) 2022-08-04 15:44:40 +09:00
Jeong YunWon
573b495def Fix iOS build 2022-07-28 08:49:00 +09:00
Jeong YunWon
e33a6a68ac Fix _posixsubprocess for updated subprocess 2022-07-25 04:10:59 +09:00
Jeong YunWon
370c4f7f60 PyObject::try_float 2022-07-24 15:05:30 +09:00
Jeong YunWon
2d1158b271 remove vm.try_index 2022-07-24 15:05:29 +09:00
Jeong YunWon
a05712fd9b no once cell 2022-07-24 15:05:12 +09:00
Jeong Yunwon
84f5aa93b0 Refactor repetive optional range pattern to OptionalRangeArgs 2022-07-22 03:11:38 +09:00
Daeun Lee
e6452d86d0 update array.index for optional range 2022-07-21 21:12:21 +09:00
siontama
2bf61aa60a Refactor: delete unnecessary clones 2022-07-16 17:40:40 +09:00
siontama
cdd937cebb Refactor: convert indent from tab to space 2022-07-16 17:20:13 +09:00
siontama
2417d3e813 Feat: impl PyArrayIter.setstate 2022-07-16 17:19:14 +09:00
Sion Kang
50aebefa4c Update stdlib/src/array.rs
Co-authored-by: Snowapril <sinjihng@gmail.com>
2022-07-16 16:53:52 +09:00
siontama
1a526aff47 Fix: Modify iter next to be implemented only internal 2022-07-16 16:42:00 +09:00
hyezzang
821f3e7aab fix position value to struct value 2022-07-13 18:04:17 +09:00
hyezzang
0f24b18312 Add arrayiter __reduce__
Co-authored-by: Yaminyam <siontama@gmail.com>
2022-07-13 18:04:06 +09:00
siontama
b190a0cbf3 refactor: change PyArrayIter name
* Change `PyArrayIter` struct to `PyArrayIterator`
2022-07-13 14:07:56 +09:00
Noa
4771ab6383 Switch then(|| foo) to then_some(foo) 2022-07-07 11:19:55 -04:00
Padraic Fanning
97db88560a Resolve ambiguous imports on Windows 2022-07-04 19:17:54 -04:00
Padraic Fanning
4e87250ba2 Fix compilation errors on macOS and Windows 2022-07-04 19:03:22 -04:00
Padraic Fanning
ca90bf3be6 Add _socket constants from CPython 3.10 2022-07-04 18:34:34 -04:00
Jeong Yunwon
16bed5b14d put wrap_index to SequenceIndexOp 2022-06-25 01:18:36 +09:00
Jeong Yunwon
38b1f5932c SequenceIndexOp 2022-06-25 01:18:35 +09:00
yangbeom
00cb5ca558 add fn Binascii rlecode_hqx rledecode_hqx (#3809) 2022-06-23 23:22:16 +09:00
Jeong Yunwon
ffd5a0db9a slicelen -> slice_len 2022-06-23 02:26:15 +09:00
gogim1
19f3121f88 rename for name consistency 2022-06-19 18:06:18 +08:00
gogim1
9c8ace592d rename for name consistency 2022-06-19 17:11:20 +08:00
Jeong Yunwon
af2fac9804 use usize for mmap fields 2022-06-15 01:59:26 +09:00
Dennis Zhuang
e5a76797b2 Impl AsBuffer, AsMapping and AsSequence protocols for PyMmap 2022-06-15 01:59:26 +09:00
Dennis Zhuang
929ad30c9d Impl seek, write, write_byte methods etc. 2022-06-15 01:59:26 +09:00
Dennis Zhuang
ba33bc990d Impl read, read_byte and readline methods 2022-06-15 01:59:26 +09:00
Dennis Zhuang
d96b165fad Impl madvise method 2022-06-15 01:59:26 +09:00
Dennis Zhuang
d4f001fa21 Basic mmap module 2022-06-15 01:38:27 +09:00
Jeong YunWon
cc4583ef50 mmap skeleton 2022-06-14 17:12:51 +09:00
yangbeom
4411ac9e17 add binascii.crc_hqx test 2022-06-14 00:51:46 +09:00
Jeong YunWon
f624e8e78b Merge pull request #3785 from youknowone/exact-size-operator
PyExactSizeIterator
2022-06-13 23:44:49 +09:00
Jeong Yunwon
4f272eea85 PyExactSizeIterator 2022-06-13 22:19:24 +09:00
JaeHyung Jang
9757c8244f Setitem error have type name (#3770) 2022-06-11 16:48:07 +09:00
Byeonghoon Yoo
3bbd59005f style(binascii): run rustfmt 2022-06-11 15:05:51 +09:00
Byeonghoon Yoo
d2b8686de3 fix(binascii): a2b_base64() raises binascii.Error instead of ValueError 2022-06-11 14:58:53 +09:00
Byeonghoon Yoo
fbd258ec81 fix(binascii): a2b_base64() raises on non padded input 2022-06-11 14:58:53 +09:00
Jeong YunWon
551b873616 Merge pull request #3762 from youknowone/into-pyexc
distinguish ToPyException and IntoPyException
2022-06-04 18:53:33 +09:00
Jeong Yunwon
667ad7593d distinguish ToPyException and IntoPyException 2022-06-04 11:12:45 +09:00
Jeong YunWon
3379ea2d78 Merge pull request #3754 from youknowone/cargo
add stdlib to rustpython_wasm and remove threading from vm default
2022-06-03 10:56:42 +09:00
Kangzhi Shi
3e6e348a67 impl number protocol float 2022-05-30 07:36:08 +09:00
Jeong Yunwon
cee4814074 add stdlib to rustpython_wasm and remove threading from vm default 2022-05-28 14:27:03 +09:00
Jeong Yunwon
d05645ea58 update syn-ext 2022-05-28 01:41:55 +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