Commit Graph

9473 Commits

Author SHA1 Message Date
Jim Fasarakis-Hilliard
acb7905048 Merge pull request #3227 from rishit-khandelwal/main
Add asin and acos
2021-10-06 08:56:22 +03:00
Jim Fasarakis-Hilliard
02d248f0b4 Merge pull request #3229 from youknowone/sys-max
Use sys::MAXSIZE when isize::MAX is used as a meaning of sys.maxsize
2021-10-06 08:55:28 +03:00
Noa
5b648cc3ba Fix wasi 2 2021-10-05 16:43:01 -05:00
Noa
57305870fa Merge pull request #3178 from RustPython/wasi-fixes
Fixes for wasi
2021-10-05 16:21:17 -05:00
Jeong YunWon
d105c2b2a5 Use sys::MAXSIZE when isize::MAX is used as a meaning of sys.maxsize 2021-10-06 05:16:01 +09:00
Jeong YunWon
397daaeea4 Merge pull request #2831 from youknowone/cpython3.9
bump up reference CPython to 3.9
2021-10-06 04:58:30 +09:00
Jeong YunWon
4d19f9a0cf Merge pull request #3224 from youknowone/remove-tryformobject-bigint
Remove TryFromBorrowedObject for BigInt
2021-10-06 04:07:16 +09:00
Jeong YunWon
d2fe6e8ea2 Merge pull request #3223 from pheki/fix-test-chr
Fix test_chr by raising a ValueError on chr(-1) instead of OverflowError
2021-10-06 02:12:29 +09:00
Aphek
1ff85118fc Fix test_chr by raising a ValueError on chr(-1) instead of OverflowError 2021-10-05 12:40:20 -03:00
Jeong YunWon
b38af34e9e Merge pull request #3220 from youknowone/slot-destructor
Use SlotDestructor for _IOBase
2021-10-06 00:18:24 +09:00
Jim Fasarakis-Hilliard
c529fbb72d Merge pull request #3226 from youknowone/thread-lock-new
Forbid calls to _thread.LockType.__new__
2021-10-05 15:58:08 +03:00
rishit khandelwal
1823dc09fa add asin and acos 2021-10-05 17:01:49 +05:30
Jeong YunWon
2ca3dc4468 _therad.LockType.__new__ 2021-10-05 19:37:07 +09:00
Jeong YunWon
70f1cc8010 Remvoe TryFromBorrowedObject for BigInt
which implicitly cost BigInt clone
2021-10-05 17:33:28 +09:00
Jeong YunWon
5254265e3a Merge pull request #3218 from lijm1358/deque-repr
Fix deque `repr` to print correct format
2021-10-05 06:38:09 +09:00
Jeong YunWon
d3066d75a7 Use SlotDestructor for _IOBase 2021-10-05 06:27:01 +09:00
Noah
bbdaa98731 obj2txt safety comment 2021-10-04 12:46:01 -05:00
Jeong YunWon
efce02f19d Merge pull request #3210 from RustPython/coolreader18/fix-windows-ssl
Fix windows ssl
2021-10-05 02:43:19 +09:00
Jeong YunWon
dba32493d6 Add safety comment to stdlib/src/ssl.rs 2021-10-05 02:43:08 +09:00
lijm1358
2a044d56d8 fix deque repr to print correct format 2021-10-05 02:07:03 +09:00
Jeong YunWon
bbbdaf32e4 Merge pull request #3202 from youknowone/pyiter-more
Remove not very useful iterator utilty functions
2021-10-04 16:19:49 +09:00
Jeong YunWon
8d523094bb Merge pull request #3215 from youknowone/cleanup-derive
clean up derive
2021-10-04 16:19:21 +09:00
Jim Fasarakis-Hilliard
c1e81bf963 Merge pull request #3137 from youknowone/fix-array-repr
Fix array repr
2021-10-04 08:13:10 +03:00
Jeong YunWon
7dd6891c6b clean up imports 2021-10-04 13:49:58 +09:00
Jeong YunWon
5b073154c3 Defer conversion to Diagnostic as much as possible 2021-10-04 13:49:58 +09:00
Jim Fasarakis-Hilliard
8f99f42777 Merge pull request #3211 from tony-jinwoo-ahn/range
Modify range in sre.rs
2021-10-04 07:17:37 +03:00
Jeong YunWon
0576b2bf62 clean up vm::iterator::try_map 2021-10-04 04:53:55 +09:00
Jeong YunWon
c039e107a8 iterator from PyIter 2021-10-04 04:53:55 +09:00
Jeong YunWon
0c56761be1 flexible PyIterIter and PyIter::into_iter 2021-10-04 04:53:46 +09:00
Jeong YunWon
d0615a4ea3 PyIter::iter 2021-10-04 04:53:46 +09:00
Jeong YunWon
d1e9ac85d8 move funciton::PyIterator -> protocol::PyIterIter 2021-10-04 04:53:46 +09:00
Jeong YunWon
31549f8059 PyIterator holds PyIter 2021-10-04 04:53:46 +09:00
Jeong YunWon
910d5e7d11 move iterator::length_hint to vm 2021-10-04 04:53:46 +09:00
Jeong YunWon
d90a8cb8f3 remote iterator::stop_iter_value 2021-10-04 04:53:46 +09:00
Jeong YunWon
a8a3fa653b more useful vm.new_stop_iteration 2021-10-04 04:53:46 +09:00
Jeong YunWon
32770249eb remove iterator::stop_iter_with_value 2021-10-04 04:53:46 +09:00
Jeong YunWon
bda1a928c2 use PyIterReturn for coroutine internal 2021-10-04 04:53:46 +09:00
Jeong YunWon
6bda88d9aa couritine hint comments 2021-10-04 04:53:46 +09:00
Jim Fasarakis-Hilliard
c1679d8074 Merge pull request #3206 from chrismoradi/fix-invalid-syntax-tests
Fix error message for named expression syntax errors
2021-10-03 18:31:33 +03:00
Jeong YunWon
0c862f740b disable failing test 2021-10-03 23:24:59 +09:00
Jeong YunWon
68e159e6da disable wrong test suite 2021-10-03 23:24:59 +09:00
Jeong YunWon
6795bb48ad bump up reference CPython 3.9 2021-10-03 23:24:59 +09:00
Jeong YunWon
3ede484656 Merge pull request #3205 from pheki/update-unit-testing-instructions
Update unit tests instructions, explain how to run them individually
2021-10-03 13:39:28 +09:00
Tony Jinwoo Ahn
2ba1f267d2 Modify range in sre.rs
For readability, replace exclusive range with inclusive range.
2021-10-03 13:17:53 +09:00
Noah
7ba21876ad Remove manual ssl bindings 2021-10-02 22:20:31 -05:00
Noah
7d478789d2 Fix obj2txt 2021-10-02 22:20:31 -05:00
Noah
f8c45d14f0 Improve SSLError message 2021-10-02 22:20:31 -05:00
Noah
61c3e9b1c9 Fix sys.path on windows 2021-10-02 22:20:31 -05:00
Noah
6d4de560f7 Don't use RAND_pseudo_bytes anymore 2021-10-02 22:20:31 -05:00
Noah
8223cb3f68 Fix load_verify_locations to load all certs in cadata 2021-10-02 22:20:31 -05:00