Commit Graph

10147 Commits

Author SHA1 Message Date
Dean Li
14727e6432 test: mark win32 failure test 2021-11-29 21:03:03 +08:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Dean Li
c2baf11119 test: move import_helper out 2021-11-29 21:01:35 +08: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
Narawit Rakket
7e3bbbb38c feat(hashlib): add usedforsecurity kwarg to hash functions 2021-11-29 16:49:38 +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
Jeong YunWon
65d9e2fa86 skip to create list object 2021-11-29 15:05:19 +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
Jeong YunWon
2ceeea8c37 Merge pull request #3476 from deantvv/test-update-2
Update test for support/os_helper.py (second attempt)
2021-11-29 03:12:03 +09:00
Jeong YunWon
4f2d70f915 Merge pull request #3475 from hrchu/pep604
Allow writing union types as X | Y
2021-11-29 03:10:01 +09: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
hrchu
b0dabd6087 Allow writing union types as X | Y 2021-11-28 19:42:33 +08:00
Jeong YunWon
e740de697b Merge pull request #3472 from qingshi163/fix-slice-overflow
fix #3468 SaturatedSliceIter overflow
2021-11-28 20:04:29 +09:00
Young
fe26754ad1 Refactor code using Either type 2021-11-28 18:37:36 +09:00
24seconds
290f91cd5e Use Either type for OptionalArg in CastArgs
Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com>
2021-11-28 18:25:44 +09:00
Kangzhi Shi
296afbc315 fix #3468 SaturatedSliceIter overflow 2021-11-28 11:15:49 +02: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
Jeong YunWon
c65130c221 Merge pull request #3466 from hrchu/add-test-uuid
Add test UUID
2021-11-28 14:52:57 +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
3f2bab6dfe Merge pull request #3457 from youknowone/remove-todo
Remove TODO from RustPython-invalid test_cmd_line.test_version
2021-11-27 12:17:45 +09: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
Jeong YunWon
18427ecc5f Merge pull request #3447 from waroad/printArrowSymbol
arrow crash in windows
2021-11-27 01:00:15 +09:00
Noa
7cc5e0b5cc Merge pull request #3434 from chrismoradi/unimplemented-abstract-methods-raise-error
Check that all abstract methods are implemented prior to instantiation
2021-11-22 18:17:02 -06: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
Steve Shi
908b239572 Refactor and new sequence traits, generic sequence operation (#3445)
* refactor sequence generic mutable sequence item equal op

* sequence generic for pydeque

* replace usize::MAX with Optioned

* sequence op for array

* fix overflow error instead memory error for  index overflow

* fixup

* optimize reserve vec for imul
2021-11-22 09:21:23 +02: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
Jeong YunWon
d42ab184a1 Merge pull request #3450 from YYun-D/slice_reduce
implement `reduce` method to `PySlice`
2021-11-21 04:58:56 +09:00
Jeong YunWon
a96b8fc7fe Merge pull request #3452 from moreal/bugfix/correct-whats-left
Remove staled comments
2021-11-21 04:58:28 +09:00