Commit Graph
12468 Commits
Author SHA1 Message Date
Charles Hubain df0963446f Implemented the block_size attribute for PyHasher, fixing the 2 failing hmac tests 2023-02-21 16:52:15 +09:00
Jeong YunWon ef873b4b60 Merge pull request #4531 from charliermarsh/charlie/exception-groups
Implement except* syntax
2023-02-21 13:20:18 +09:00
Jeong YunWon 6a267debf5 Merge pull request #4526 from haxelion/feature/hmac_3.11
Update hmac.py to CPython 3.11 and integrate test_hmac.py tests
2023-02-21 12:32:49 +09:00
Jeong YunWon 334bb30f9e Merge pull request #4532 from charliermarsh/charlie/star
Allow starred expressions in subscripts
2023-02-21 12:30:52 +09:00
Charlie Marsh da9b2ee6b9 Implement except* syntax 2023-02-21 12:19:54 +09:00
Charlie Marsh 3ebf23e39b Update Python.asdl from CPython 3.11.1 2023-02-21 12:19:51 +09:00
Charles Hubain b5f54f1624 Integrated hmac.py and test_hmac.py:
* fix typing issue on digest update function
* implemented copy for PyHasher object
* fixed two test_hashlib.py expected failure as a side-effect
2023-02-21 11:35:09 +09:00
Charles Hubain 33da5bf81f Updated Lib/hmac.py to cpython 3.11 version and included hmac test suite 2023-02-21 11:20:27 +09:00
Charlie Marsh 43e3fd9c2c Allow starred expressions in subscripts 2023-02-20 17:59:35 -05:00
Jim Fasarakis-Hilliard e0a294849a Merge pull request #4529 from haxelion/bugfix/fix_gethostbyname_ex
Ensure socket.gethostbyname_ex only returns IPv4 addresses
2023-02-20 18:11:26 +02:00
Charles Hubain 4f1085beb3 Ensure socket.gethostbyname_ex only returns IPv4 addresses 2023-02-20 23:51:11 +09:00
Jeong YunWon e5735cde67 Merge pull request #4517 from youknowone/cpython-3.11
trying to go with CPython 3.11
2023-02-20 13:50:10 +09:00
Jeong YunWon 75f3f3c8c4 Fix syntax_async.py for 3.11 2023-02-20 02:06:21 +09:00
Zhiyan Xiao 3b8d670c81 Add unicodedata.east_asian_width (#4523) 2023-02-20 01:38:02 +09:00
John Pham 8b7158f169 Make common::repr throw error instead of panic (#4520) 2023-02-19 22:09:54 +09:00
Jim Fasarakis-Hilliard 82c1a3a9ea Merge pull request #4521 from youknowone/update-ast
Update from CPython v3.10.9 to prepare match statement
2023-02-18 17:36:51 +02:00
CPython Developers 53d0f41ba5 Update from CPython v3.10.9 2023-02-18 22:52:47 +09:00
Jeong YunWon a5091c56cb Merge pull request #4440 from MrrRaph/whats_left_utf8
Fixed UTF-8 encoding for `whats_left.py` and type mismatching in `stdlib/src/ssl.rs`
2023-02-18 18:45:23 +09:00
Jeong YunWon daca1f38cf Fix cspell warnings 2023-02-18 14:02:18 +09:00
Jeong YunWon 5df8d29fe4 Add whats_left running to CI 2023-02-18 14:02:18 +09:00
Jeong YunWon 8c38a8381c os is frozen in 3.11 2023-02-18 07:09:42 +09:00
Jeong YunWon d22446d1dd imp.py -> stdlib_imp.py 2023-02-18 07:09:42 +09:00
Jeong YunWon c037e17220 Merge pull request #4518 from dannasman/unnecessary_tovec
Remove unnecessary to_vec() in bytes.rs
2023-02-18 06:56:10 +09:00
Dan Nasman 506e17ace2 remove unnecessary to_vec() 2023-02-17 22:37:40 +02:00
Jim Fasarakis-Hilliard e88f09842d Merge pull request #4514 from youknowone/bytesinner-pub-super
narrow publicity of BytesInner::elements
2023-02-17 21:10:08 +02:00
Jeong YunWon e79b1398b0 trying to go with CPython 3.11 2023-02-17 23:33:04 +09:00
MrrRaph 371b5e2a6e Fixed type mismatchs 2023-02-17 23:26:11 +09:00
MrrRaph a4629db520 Added UTF-8 encoding when opening a file 2023-02-17 22:21:46 +09:00
Jeong YunWon aaa364da54 narrow publicity of BytesInner::elements 2023-02-17 22:00:51 +09:00
Dan Näsman a0c34dab54 Optimize bytes-like (l|r)strip (#4500) 2023-02-17 21:31:12 +09:00
Jeong YunWon 1d815464f6 Merge pull request #4513 from xiaozhiyan/optimize-pypydict-to_attributes-to-reuse-pyrefexact
Optimize Py<PyDict>::to_attributes() to reuse PyRefExact
2023-02-17 16:01:53 +09:00
Jeong YunWon 461f7491e8 Merge pull request #4512 from RustPython/upd-nix
Update nix & use its functions more
2023-02-17 16:00:36 +09:00
Noa abe8cfdf1c Run cargo-update 2023-02-16 21:02:26 -06:00
Noa d9e3f9ca68 Tidy up ssl a little 2023-02-16 21:02:26 -06:00
Noa e08252cad7 Use nix for more things 2023-02-16 21:02:26 -06:00
Zhiyan Xiao 9206ad52b8 Optimize Py<PyDict>::to_attributes() to reuse PyRefExact 2023-02-17 07:23:19 +09:00
Jeong YunWon 57fd8c97b4 Add description for PyRefExact 2023-02-16 22:31:18 +09:00
Jeong YunWon f9f665be62 PyObjectRef::downcast_exact returns PyRefExact 2023-02-16 22:20:16 +09:00
Jeong YunWon 3f1fb9d29d Merge pull request #4510 from DimitrisJim/unexpected_success
Fix unexpected success in test_future.
2023-02-16 21:39:15 +09:00
Dimitris Fasarakis Hilliard 8afe853b76 Fix unexpected success in test_future. 2023-02-16 10:37:35 +02:00
Jim Fasarakis-Hilliard 5ec62358b3 Merge pull request #4507 from howjmay/co_cellvars
Add co_cellvars to code object
2023-02-16 09:25:44 +02:00
Jim Fasarakis-Hilliard dcda3e43b9 Merge pull request #4509 from minhrongcon2000/fix/add_co_freevars
Add co_freevars to code object
2023-02-16 09:24:23 +02:00
minh.pham2000 81fc6f16cf Fix code linting 2023-02-16 10:19:56 +07:00
minh.pham2000 07f4218bf4 Add co_freevars to code object 2023-02-16 10:10:15 +07:00
Yang Hau 529d223ee1 Add co_cellvars to code object
Closes #4501
2023-02-16 01:22:22 +08:00
Jim Fasarakis-Hilliard 3c4f04f3aa Merge pull request #4498 from youknowone/str-join
Fix str.join with str subclass
2023-02-15 19:07:11 +02:00
Jeong YunWon 1fd557d549 Merge pull request #4499 from jonathanslenders/fix-sqlite-aarch64
Fix aarch64 compatibility for sqlite.
2023-02-14 12:32:31 +09:00
Jonathan Slenders 9cac89347e Fix aarch64 compatibility for sqlite. 2023-02-13 20:53:39 +00:00
Jim Fasarakis-Hilliard 020372dde0 Merge pull request #4496 from youknowone/optimize-strip
optimize str.(l|r)strip
2023-02-13 18:31:23 +02:00
Jeong YunWon bf49952275 Merge pull request #3769 from youknowone/wrap-index
wrap_index without abs
2023-02-14 00:55:26 +09:00