Commit Graph

2064 Commits

Author SHA1 Message Date
snowapril
9a2b67e3a7 Add keyword module from cpython 3.10
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-11-29 23:40:42 +09:00
Jeong YunWon
1269c7fc28 Merge pull request #3474 from TeamTamoad/hashlib
feat(hashlib): add usedforsecurity kwarg to hash functions
2021-11-29 20:01:19 +09:00
Narawit Rakket
45c22af5c7 feat(hashlib): add test_hashlib from CPython v3.9.9 2021-11-29 16:50:24 +07:00
Jeong YunWon
32a9b958e5 Merge pull request #3465 from 24seconds/fix_test_base64
Support tuple type also for memoryview shape arg
2021-11-29 16:10:20 +09:00
Noa
00155abe45 Merge pull request #3473 from tai271828/pr-issue-2889-dis
feat(Lib): print the disassembled info
2021-11-28 16:59:26 -06:00
Taihsiang Ho (tai271828)
acc75de4ef feat(Lib): print the disassembled info
Issue: #2889
2021-11-28 22:33:59 +01:00
Dean Li
4161858ec2 Revert "test: remove unexpectedFailure for nt"
This reverts commit 20cef397f0.
2021-11-28 23:25:45 +08:00
Dean Li
4109b12f03 test: mark win32 failure test 2021-11-28 23:25:17 +08:00
Dean Li
be3f3412e1 os_helper: add XXX RUSTPYTHON back 2021-11-28 22:42:03 +08:00
Dean Li
20cef397f0 test: remove unexpectedFailure for nt 2021-11-28 20:51:34 +08:00
Dean Li
cad10fedd4 test: update importlib 2021-11-28 20:51:34 +08:00
Dean Li
05705bd727 test: update test_unicode_file 2021-11-28 20:51:34 +08:00
Dean Li
aab7c07789 test: update test_urllib 2021-11-28 20:51:33 +08:00
Dean Li
27b637aa0a test: update test_uu 2021-11-28 20:51:33 +08:00
Dean Li
4ba3611664 test: update test_support 2021-11-28 20:51:33 +08:00
Dean Li
5ee4fb899b test: use os_helper 2021-11-28 20:51:32 +08:00
Dean Li
39b9e1f91e test: os use os_helper 2021-11-28 20:51:32 +08:00
Dean Li
2b89992d3f test: move os_helper out as py3.10 2021-11-28 20:51:32 +08:00
Jeong YunWon
9fb70707c4 Merge pull request #3469 from youknowone/dis-py
rename native dis to _dis and add python module
2021-11-28 17:52:15 +09:00
Jeong YunWon
d622ceb9dc rename native dis to _dis and add python module 2021-11-28 15:50:24 +09:00
hrchu
bd67e7d927 Mark failing tests in test_unid 2021-11-28 10:25:22 +08:00
hrchu
34ac2f73d1 Add test_uuid from CPython 3.9.9 2021-11-28 10:16:24 +08:00
Young
dd773b3413 Support tuple type also for memoryview shape arg 2021-11-27 23:39:01 +09:00
Jeong YunWon
e2b5abf70c Merge pull request #3459 from TeamTamoad/maketrans
Fix maketrans not thrown ValueError when length of the arguments are …
2021-11-27 15:05:48 +09:00
Narawit Rakket
cf7c8154bf Fix maketrans not thrown ValueError when length of the arguments are not the same 2021-11-27 12:12:18 +07:00
Jeong YunWon
448f7e46cc test_bigrepeat is fixed
probably by #3445
2021-11-27 01:46:44 +09:00
Jeong YunWon
0ad3a29cac Remove TODO from RustPython-invalid test_cmd_line.test_version 2021-11-27 01:34:39 +09:00
Chris Moradi
a685b236f9 Merge branch 'main' of github.com:chrismoradi/RustPython into unimplemented-abstract-methods-raise-error 2021-11-22 14:58:17 -08:00
Noa
a53451bd10 Merge pull request #3386 from coolreader18/no-arc
Big overhaul part 1 - replace PyRc with manual RefCount + WeakRefList
2021-11-21 17:43:50 -06:00
Jeong YunWon
b8624c617b Merge pull request #3454 from YYun-D/doc_modify
Fix `bytearray` and `bytes` docs
2021-11-21 13:58:34 +09:00
YYun-D
7de142fcd1 remove bytearray and byte docs
Signed-off-by: YYun-D <yeo1998@naver.com>
2021-11-21 12:37:01 +09:00
Jeong YunWon
7305be893a Merge pull request #3451 from waroad/enumerate_add_reduce
add reduce in enumerate
2021-11-21 09:42:34 +09:00
waroad
51e1d7607c add reduce in enumerate 2021-11-20 20:56:26 +09:00
yyun-d
e49d7118b8 fix test_pickle in test_slice
Signed-off-by: yyun-d <yeo1998@naver.com>
2021-11-20 18:59:59 +09:00
Jeong YunWon
69491800e1 Merge pull request #3448 from YYun-D/test_math_modify
Update test_math.py to cpython 3.10
2021-11-20 17:33:42 +09:00
yyun-d
3070b19b36 Update test_math.py to cpython 3.10 2021-11-20 16:27:20 +09:00
BongYang
7b79c09c3c pystr.rs isdecimal() checks not only ASCII but also Unicode decimals 2021-11-20 16:08:27 +09:00
rvsampson94
0fe8a06d65 Dict keys isdisjoint 2021-11-20 12:30:22 +09:00
Jeong YunWon
913b78ca44 Revert "Merge pull request #3433 from deantvv/test-update"
This reverts commit 9fa5c5ac66, reversing
changes made to e7fa32c687.
2021-11-17 17:06:51 +09:00
Noa
2a87b893fb Reuse standard no-cb weakref 2021-11-15 16:08:47 -06:00
Noa
f9d9a1e15e Implement weakref._remove_dead_weakref 2021-11-15 16:08:47 -06:00
Noa
ec0a658d20 Implement weakref.getweakrefs 2021-11-15 16:08:47 -06:00
Noa
e51cb82ff0 Unskip tests 2021-11-15 16:08:46 -06:00
Noa
baf581c11b Update weakref.py and _weakrefset.py to Python 3.9 2021-11-15 16:08:46 -06:00
Jeong YunWon
9fa5c5ac66 Merge pull request #3433 from deantvv/test-update
Update test for `support/os_helper.py`
2021-11-16 02:47:22 +09:00
Chris Moradi
868b680305 more tests passing 2021-11-13 19:26:10 -08:00
Chris Moradi
ab58885734 Check that all abstract methods are implemented prior to instantiation 2021-11-13 17:09:26 -08:00
Dean Li
a1202f5602 test: update importlib 2021-11-13 14:21:59 +08:00
Steve Shi
742ea0c4fa Reimpl Buffer Protocol and memoryview support ndarray with shape, stride and suboffset (#3340)
* Fix buffer protocol and memoryview

* Fix io and array the right way to use buffer protocol

* fix rebase

* fix memoryview and introduce VecBuffer

* fix deadlock

* fix memoryview avoid double release buffer

* impl ndim buffer support

* first implement nd array for buffer and memoryview

* fix slice adjust_indices

* fix adjust_indices introduct SaturatedSliceIterator

* fix memoryview cmp

* fix adjust_indices positive_order

* fix bug mark passed test

* fix clippy

* fix set_item_slice deadlock, optimize buffer

* Delete @test_113974_tmp

* Remove vec_buffer_type

* rusty names

* impl memoryview multi index

* add comments

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2021-11-13 07:17:11 +02:00
Dean Li
c15971f18a test: update test_unicode_file 2021-11-13 04:24:06 +00:00