Commit Graph

697 Commits

Author SHA1 Message Date
carbotaniuman
da9be2f7ef Fix clippy lint and unblock a test case 2020-11-11 15:48:22 -06:00
carbotaniuman
ace2cb8f2f Fix edge cases in mod and complex division 2020-11-11 14:33:07 -06:00
Noah
17e0e75622 Merge pull request #2323 from RustPython/coolreader18/buffer-io
Fully implement buffered IO
2020-11-07 15:23:54 -06:00
Noah
916bb4cf1c Fix some other tests 2020-11-06 17:37:52 -06:00
Noah
0b9beeba6f Merge pull request #2318 from qingshi163/bytes-format
Reimpl cformat to suit for bytes
2020-11-06 15:48:37 -06:00
Noah
d2a302cb2f Skip tests in test_io 2020-11-06 15:41:55 -06:00
Noah
3f6504c3cd Add _pyio, test.test_io from CPython 3.8.3 2020-11-06 15:41:55 -06:00
Noah
402594f9f2 Update io.py to CPython 3.8.3 2020-11-06 15:41:55 -06:00
Noah
02daac61e5 Try fixing macos deadlock 2020-11-02 12:42:44 -06:00
Noah
606d8196b6 Skip some importlib tests on windows + fix weird errors, hopefully? 2020-11-02 12:42:44 -06:00
Noah
1dccad99b3 Fix pathlib import on windows 2020-11-02 12:41:44 -06:00
Kangzhi Shi
d4af9d0bfe Reimpl cformat to suit for bytes 2020-11-01 20:04:41 +02:00
hyperbora
babebf0794 fix math.acosh 2020-10-31 00:26:18 +09:00
Noah
525ff493a1 Merge pull request #2311 from rodrigocam/master
Add socket sendfile function
2020-10-28 12:18:52 -05:00
Noah
ad3922ae91 Skip shutil test 2020-10-28 11:12:01 -05:00
Noah
7d45672f4e Skip unrelated test in test_os 2020-10-27 22:14:07 -05:00
Noah
0f84bd4070 Update pystruct + array 2020-10-26 12:13:24 -05:00
Noah
25a388cb70 Merge pull request #2309 from RustPython/coolreader18/math-fixes
Implement nextafter in Rust
2020-10-26 12:01:51 -05:00
Noah
e772b42f36 Fix a few math tests and implement nextafter in rust 2020-10-25 13:43:33 -05:00
Noah
116308f372 Merge pull request #2305 from ChJR/master
Update random.py with CPython 3.7 version.
2020-10-25 13:31:04 -05:00
Noah
5762dc2b8f Merge pull request #2308 from ChJR/feature/whats_left_stat
Update stat.py with CPython 3.8 version
2020-10-25 13:29:56 -05:00
ChJR
b9a0f3b21d Update stat.py with CPython 3.8 version
stat.py of CPython 3.8 is same with the latest.
stat.py of CPython 3.7 slightly differ with CPython 3.8.
2020-10-26 01:43:00 +09:00
ChJR
215190e18b Fix ImportError on wasm. 2020-10-25 15:44:59 +09:00
Jeong YunWon
c8c1381b96 Merge pull request #2303 from qingshi163/master
Impl readinto for BufferedReader
2020-10-25 13:57:01 +09:00
Jeong YunWon
b230045677 Merge pull request #2299 from qingshi163/memoryview_hash
Implement memoryview hash
2020-10-25 13:51:09 +09:00
ChJR
88c1b86ad1 Update random.py with CPython 3.7 version. 2020-10-25 01:48:31 +09:00
Kangzhi Shi
287e16351c Impl readinto for BufferedReader 2020-10-24 16:26:18 +02:00
Kangzhi Shi
1d4cfa4381 bytes pickle with subclass 2020-10-23 14:42:13 +02:00
Noah
7eb9335d19 Merge pull request #2298 from ArniDagur/ulp
Implement math.ulp
2020-10-22 14:04:58 -05:00
Árni Dagur
ab444d0a3e Correct value of sys.float_info.min 2020-10-22 18:30:51 +00:00
Kangzhi Shi
b38d278f91 memoryview constructor args 2020-10-22 16:45:30 +02:00
Kangzhi Shi
101d8c8dc1 memoryview hash 2020-10-22 13:17:54 +02:00
Árni Dagur
da2bd5ea86 Implement math.ulp 2020-10-21 23:41:47 +00:00
Kangzhi Shi
ce097617f7 fix memoryview is not pickleable 2020-10-17 13:35:29 +02:00
Kangzhi Shi
64f4282ede fix error type 2020-10-16 09:34:35 +02:00
Kangzhi Shi
21a9e05abc Reimplement bytes fromhex 2020-10-12 10:09:15 +02:00
Kangzhi Shi
a3243da0d6 test_bytes remove @skip for successed test 2020-10-11 15:24:41 +02:00
Steve Shi
2d9b1d0649 Implement bytes.hex() with optional sep 2020-10-11 18:34:08 +09:00
Kangzhi Shi
6058d653a8 memoryview hex 2020-10-10 17:01:00 +09:00
Kangzhi Shi
b48c5a2b52 BytesIO getbuffer; no more hack for pickle.py 2020-10-10 17:01:00 +09:00
Kangzhi Shi
49b2c19064 BytesIO readinto() 2020-10-10 17:01:00 +09:00
Kangzhi Shi
3fe8a30ca0 bytesinner from pytuple 2020-10-10 17:01:00 +09:00
Kangzhi Shi
275b727e9d memoryview __setitem__ 2020-10-10 17:01:00 +09:00
Kangzhi Shi
cf3572385c Fix more to pass unittest 2020-10-10 17:00:57 +09:00
Kangzhi Shi
e1ddbda4fc fix unittest test_array.test_buffer 2020-10-10 16:59:44 +09:00
Kangzhi Shi
499d99794c Implement Buffer Protocol 2020-10-10 16:57:19 +09:00
Jeong YunWon
209d6be578 Merge pull request #2247 from youknowone/vm-len
vm._len and objsequence.rs -> sliceable.rs
2020-10-10 15:25:45 +09:00
Noah
f2db43d8e2 Merge pull request #2265 from RustPython/coolreader18/json-scanstring
Implement _json.scanstring in Rust
2020-10-10 01:14:51 -05:00
Jeong YunWon
39058e2519 getitem for bytes/bytearray 2020-10-10 13:40:02 +09:00
Jeong YunWon
aa58b6331e Merge pull request #2252 from RustPython/coolreader18/misc-altair-fixes
Misc fixes found while trying to get Altair to work
2020-10-10 13:31:40 +09:00