Commit Graph

11027 Commits

Author SHA1 Message Date
Alexander Scharinger
e4267d9280 rustfmt 2022-06-16 11:44:23 +02:00
Alexander Scharinger
dbdbdc887f feat: itertools.compress.__reduce__ 2022-06-16 11:36:31 +02:00
Alexander Scharinger
81d2df806a fix: itertools.compress keyword arguments 2022-06-16 11:22:36 +02:00
Alexander Scharinger
50dba866fc test: itertools.compress 2022-06-16 10:59:25 +02:00
Jeong YunWon
60598b699e Merge pull request #3790 from xforce/main
Fix broken module_names in compile_dir for sub-directories
2022-06-16 12:58:54 +09:00
Alexander Guettler
ad399db6e9 Add tested frozen module test 2022-06-16 11:58:48 +09:00
Jeong Yunwon
a3428a86d3 add test for nested module name 2022-06-16 11:58:48 +09:00
Alexander Guettler
b3d9e08076 Fix broken module_names in compile_dir for sub-directories 2022-06-16 11:58:48 +09:00
Jeong YunWon
ff502134db Merge pull request #3667 from youknowone/canister
complex embedding and generator example
2022-06-16 01:37:32 +09:00
Jeong Yunwon
bae68873dd Adapt BlockExpr to example/generator.rs 2022-06-16 01:07:26 +09:00
Jeong Yunwon
eb8c640518 generator sample 2022-06-16 01:07:26 +09:00
Jeong Yunwon
fcd564ad97 Replace kybra_like to project-neutral example 2022-06-16 01:07:26 +09:00
Jeong Yunwon
f3de183607 Add example kybra_like 2022-06-16 01:07:26 +09:00
Jeong YunWon
ba8df41269 Merge pull request #3775 from joohongpark/fix-test_dict_mixed_keys_items
fix test_dictviews::test_dict_mixed_keys_items
2022-06-15 14:11:55 +09:00
Jeong YunWon
cea5a6e2b6 Merge pull request #3788 from rng-dynamics/fix-itertools-chain
Fix itertools chain
2022-06-15 11:11:13 +09:00
joohongpark
79eae0d5fe update compare method 2022-06-15 10:40:45 +09:00
Alexander Scharinger
480f5f1d25 fix tests 2022-06-14 19:53:41 +02:00
Jeong YunWon
1a2451bbb6 Merge pull request #3755 from killme2008/mmap-module
mmap module
2022-06-15 02:36:58 +09:00
Alexander Scharinger
76ef074b5a Release source when PyIterReturn::StopIteration 2022-06-14 18:59:27 +02:00
Jeong Yunwon
af2fac9804 use usize for mmap fields 2022-06-15 01:59:26 +09:00
Dennis Zhuang
1ff3e0a551 Skip test_flush_return_value on linux platform 2022-06-15 01:59:26 +09:00
Dennis Zhuang
3217de7af2 Adds test_mmap.py from CPython 3.10.4 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
Alexander Scharinger
ec18a12faf refactor 2022-06-14 18:57:00 +02: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
Dennis Zhuang
396812d66c Refactor byte operations 2022-06-14 16:37:35 +09:00
Alexander Scharinger
33bcc89e94 test: itertools.chain stop iteration on error 2022-06-14 08:19:43 +02:00
joohongpark
2da623eadf remove todo comment 2022-06-14 02:39:51 +09:00
joohongpark
194fa51cdd fix format 2022-06-14 02:39:51 +09:00
joohongpark
115dfc8251 fix test_dictviews::test_dict_mixed_keys_items 2022-06-14 02:39:51 +09:00
Jeong YunWon
5376c3851e Merge pull request #3772 from falsetru/fix-index-check
Saturate list index on usize.
2022-06-14 02:05:38 +09:00
Jeong YunWon
2c8197f58f Merge pull request #3777 from yangbeom/binascii-crc_hqx
add Binascii crc hqx
2022-06-14 00:51:57 +09:00
Jeong Yunwon
1b22817e12 Update binhex from CPython 3.10.4 / Remove test_binhex - removed in 3.12 2022-06-14 00:51:46 +09:00
yangbeom
4411ac9e17 add binascii.crc_hqx test 2022-06-14 00:51:46 +09:00
Jeong-Min Lee
805c9553dc Extract repeated code as a closure. 2022-06-14 00:39:15 +09:00
Jeong-Min Lee
4f97c0f053 Extract saturate function. 2022-06-14 00:39:14 +09:00
Jeong-Min Lee
83e2490d78 Saturate on usize. 2022-06-14 00:36:43 +09:00
oow214
7848e06a41 Add itertools count repr (#3784) 2022-06-13 23:52:26 +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
Alexander Scharinger
4c11720af0 feat: itertools.chain evaluate lazily 2022-06-12 20:03:03 +02:00
Miragecore
fafd8434ac add getformat (#3774) 2022-06-12 15:38:32 +09:00
Isac Byeonghoon Yoo
ce546f6183 feat(sys): add sys.is_finalizing() (#3776) 2022-06-11 21:10:09 +09:00
oow214
d06950e067 Add classmethod initialize (#3773) 2022-06-11 20:16:36 +09:00
JaeHyung Jang
9757c8244f Setitem error have type name (#3770) 2022-06-11 16:48:07 +09:00
Jeong YunWon
43d811ccc8 Merge pull request #3771 from isac322/fix_test_b64decode_padding_error
fix(binascii): a2b_base64() raises on non padded input
2022-06-11 16:21:37 +09:00