Commit Graph

12660 Commits

Author SHA1 Message Date
Charles Hubain
29de419c87 Implementing shake_128 and shake_256 in the hashlib module. 2023-03-06 00:43:06 +09:00
Jeong YunWon
003f3b4fe1 Merge pull request #4632 from dalinaum/test/test_buffer
Update test/test_buffer from CPython 3.11.2
2023-03-05 19:15:14 +09:00
Jeong YunWon
18f6a659f4 Merge pull request #4631 from dalinaum/test_bool
Update test/test_bool from cpython 3.11.2
2023-03-05 19:13:42 +09:00
CPython Developers
6e0de0d196 Update test/test_buffer from CPython 3.11.2 2023-03-05 16:07:25 +09:00
Jeong YunWon
4d464cc9fb Merge pull request #4627 from dalinaum/exception_hierarchy.txt
Update Lib/test/exception_hierarchy.txt from CPython 3.11.2
2023-03-05 11:07:06 +09:00
CPython Developers
4030807b9b Update Lib/test/exception_hierarchy.txt from CPython 3.11.2 2023-03-05 05:26:55 +09:00
Jim Fasarakis-Hilliard
174fbe56b0 Merge pull request #4626 from youknowone/bigmem
Fix test_bigmem glitches
2023-03-04 22:02:52 +02:00
Jeong YunWon
ab7971de42 Merge pull request #4624 from dalinaum/test_baseexception
Update test_baseexception.py from cpython 3.11.2
2023-03-05 04:06:34 +09:00
Jeong YunWon
65224213d0 test_bigmem fix expectedFailures not to always fall 2023-03-05 04:00:42 +09:00
Jeong YunWon
992f5aaed7 test_bigmem: removed outdated expected failures 2023-03-05 03:59:33 +09:00
Jeong YunWon
298b169dc0 Merge pull request #4625 from dalinaum/test_bigmem
Update test_bigmem from cpython 3.11.2
2023-03-05 03:52:17 +09:00
CPython Developers
3fd46e8cbe Update test/test_bool from cpython 3.11.2 2023-03-05 03:49:26 +09:00
LYK
9c10d4aa3f Mark failing tests of test_baseexception. 2023-03-05 03:21:18 +09:00
CPython Developers
a7b8768e56 Update test_baseexception.py from cpython 3.11.2 2023-03-05 03:19:40 +09:00
CPython Developers
5d482abb67 Update test_bigmem from cpython 3.11.2 2023-03-05 03:13:37 +09:00
Charlie Marsh
1871a1632e Treat match and case as soft keywords in lambda assignments (#4623) 2023-03-04 12:42:05 -05:00
Jeong YunWon
4e19be7e43 Merge pull request #4460 from evanrittenhouse/strict_mode_new
Implement `strict_mode` keyword for `binascii.a2b_base64()`
2023-03-04 17:44:53 +09:00
Jeong YunWon
ff973caa67 ToPyException for base64::DecodeError 2023-03-04 16:19:29 +09:00
Evan Rittenhouse
362be9f344 Add 'invalid base64-encoded string' error 2023-03-04 16:11:02 +09:00
Evan Rittenhouse
904e3a3492 Remove expected failure from test_base64invalid 2023-03-04 16:11:02 +09:00
Evan Rittenhouse
404c398b59 Implement strict_mode keyword for binascii.a2b_base64 2023-03-04 16:11:01 +09:00
Jeong YunWon
1f92212497 Merge pull request #4612 from youknowone/PyObject_Format
Add vm.format to call __format__ like PyObject_Format
2023-03-04 16:04:52 +09:00
Jeong YunWon
d7f65cbbcd Merge pull request #4622 from fanninpm/protocol-number-pystr
Add number protocol for PyStr
2023-03-04 14:06:42 +09:00
Padraic Fanning
b4124d0d92 Add number protocol for PyStr 2023-03-03 18:53:57 -05:00
John Pham
f3e9413b2d Add strxfrm and strcoll to locale mod (#4603) 2023-03-04 03:21:04 +09:00
Jim Fasarakis-Hilliard
d09527b75e Merge pull request #4621 from dalinaum/test_atexit
Update test_atexit from cpython 3.11.2
2023-03-03 13:11:21 +02:00
CPython Developers
ad05321d94 Update test_atexit from cpython 3.11.2 2023-03-03 16:38:41 +09:00
Jeong YunWon
822f6a9fa6 Merge pull request #4620 from RustPython/charlie/serde
Add optional serde dependency
2023-03-03 09:03:29 +09:00
Charlie Marsh
b846311173 Add optional serde dependency 2023-03-02 15:38:40 -05:00
Dan Näsman
cdf5634cf2 Implement as_sequence for array (#4585) 2023-03-03 04:29:52 +09:00
Jeong YunWon
2d02933d35 Merge pull request #4619 from xiaozhiyan/implement-number-protocol-for-pytype-pyset-pyfrozenset
Implement Number Protocol for `PyType`, `PySet` and `PyFrozenSet`
2023-03-03 04:22:20 +09:00
Jeong YunWon
11991772f8 leave fixme to wrong object.__str__ impl 2023-03-03 03:29:50 +09:00
Jeong YunWon
ab9573f108 object.__format__ the right way 2023-03-03 03:29:50 +09:00
Jeong YunWon
195673b01a Add vm.format to call __format__ like PyObject_Format 2023-03-03 03:29:50 +09:00
Jeong YunWon
c656cdd951 Merge pull request #4617 from RustPython/charlie/tag
Pin `youknowone/unicode_names2` to a specific revision
2023-03-03 03:28:06 +09:00
Zhiyan Xiao
1bec1d5f26 Implement Number Protocol for PySet and PyFrozenSet 2023-03-03 03:19:13 +09:00
Zhiyan Xiao
7a12d1e322 Implement Number Protocol for PyType 2023-03-03 03:19:13 +09:00
Charlie Marsh
25ddf1d1e9 Pin youknowone/unicode_names2 to a specific rev 2023-03-02 13:15:36 -05:00
fanninpm
6e4c2fe786 Merge pull request #4597 from youknowone/expected-failure-if
Add unittset.expectedFailureIf for RustPython
2023-03-02 09:49:52 -05:00
Jeong YunWon
a7c9856851 Merge pull request #4607 from youknowone/test-init
Add Lib/test/__init__.py
2023-03-02 15:34:45 +09:00
Jeong YunWon
78382209d3 Merge pull request #4606 from youknowone/to-u32
usize::to_u32 for compiler internal conversion
2023-03-02 15:01:59 +09:00
CPython Developers
c32bfa6eeb Add Lib/test/__init__.py 2023-03-02 15:01:12 +09:00
Jeong YunWon
815083d1e8 Add #![deny(clippy::cast_possible_truncation)] 2023-03-02 13:34:21 +09:00
Jeong YunWon
b432bb0cf3 usize::to_u32 for compiler internal conversion 2023-03-02 13:32:54 +09:00
Jeong YunWon
22bc2d24ab Merge pull request #4524 from coolreader18/no-serde
Custom marshal enc/decoding impl
2023-03-02 13:10:41 +09:00
Jeong YunWon
e5cf139b03 Merge pull request #4605 from coolreader18/no-hacky-gats
Switch hacky GAT-workarounds to use actual GATs
2023-03-02 12:58:26 +09:00
Noa
ec7b5861f9 Address review comments 2023-03-01 21:11:59 -06:00
Noa
58ac82b0a7 Switch hacky GAT-workarounds to use actual GATs 2023-03-01 20:48:12 -06:00
Noa
6d1f2986fe Custom marshal enc/decoding impl 2023-03-01 20:47:21 -06:00
Steve Shi
166959db41 Fix sys.getsizeof (#4604) 2023-03-02 05:56:34 +09:00