Commit Graph
665 Commits
Author SHA1 Message Date
Á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
Kangzhi Shi 3cdab86444 test_array remove @skip for successed test 2020-10-09 10:58:37 +02:00
Noah 1e68e8bfcf Unmark fixed tests 2020-10-07 19:33:13 -05:00
Noah f8d39cc648 Fix defaultdict 2020-10-07 19:29:41 -05:00
Noah b79e2cba40 Small changes for typing/abc 2020-10-07 19:29:41 -05:00
Noah 0ebc50f1a2 Update importlib._bootstrap_external to CPython 3.8.3 2020-10-07 19:28:18 -05:00
Noah d199b46924 Add importlib.metadata from CPython 3.8.3 2020-10-07 19:28:18 -05:00
Jeong YunWon 465702dda6 Merge pull request #2266 from ArniDagur/isqrt
Implement math.isqrt in Rust
2020-10-07 20:58:40 +09:00
Árni Dagur 72608545f3 Implement math.isqrt in Rust 2020-10-06 17:58:58 +00:00
hyperbora 88cc264774 fix dict.update 2020-10-06 23:07:37 +09:00
Noah 1f4f407d5d Implement json.decoder.scanstring in Rust 2020-10-04 13:04:43 -05:00
hyperbora c6ea8f9907 fix math.acos and math.asin 2020-10-03 22:37:43 +09:00
hyperbora a1437a5be5 fix math.sqrt 2020-10-03 12:37:07 +09:00
Noah a950aa6b7f Make serde_json an optional optimization for the json module 2020-09-28 23:45:53 -05:00
Noah 131736eecf Make setdefault atomic 2020-09-24 23:51:33 -05:00
Noah 8bf3a19df8 Merge pull request #2227 from RustPython/coolreader18/func-creation
Rework native function creation a bit to give more functions __name__s
2020-09-21 16:44:46 -05:00
Noah 2dcfd19750 Add signal.py from CPython 3.8.3 2020-09-21 10:41:58 -05:00
Noah 2cdf7d54a8 Merge pull request #2210 from qingshi163/dev_byte_pickle
Implement pickle for bytes
2020-09-21 00:15:36 -05:00
Jeong YunWon 8d79b0667f skip randomly successful test_class.testHashComparisonOfMethods 2020-09-21 08:30:13 +09:00
Kangzhi Shi 5351e97066 Hack pickle.py to run by RustPython 2020-09-19 08:54:09 +02:00
Kangzhi Shi 33565b2d49 Copy pickle.py from CPython 3.8.5 2020-09-19 08:54:09 +02:00
Kangzhi Shi d936b0c7d1 Implement pickle for bytes 2020-09-19 08:54:08 +02:00
Kangzhi Shi 20054bcce5 Fix bytes contractor 2020-09-19 08:54:08 +02:00
Noah 0d16f983b7 Try fix unlink() on windows 2020-09-19 00:20:51 -05:00
Noah 32272abf4d Fix/skip some failing tests 2020-09-19 00:20:51 -05:00
Noah 1d2043558f Try fixing sock and windows tests 2020-09-19 00:20:50 -05:00
Noah e1d64ba16f Avoid msvcrt.get_osfhandle() in subprocess 2020-09-19 00:20:50 -05:00
Noah 9d2cdbf0fc Skip unsupported test 2020-09-19 00:20:50 -05:00
Noah dabc4fd402 Update test.support and test.test_venv to versions from CPython 3.8.3 2020-09-18 23:56:09 -05:00
Noah 407bbb1513 Use IntEnum._convert_ in ssl.py 2020-09-18 23:56:09 -05:00
Noah fdb15cdd75 Update enum and socket to versions from CPython 3.8.3 2020-09-18 23:56:08 -05:00
Noah dc9b78cdcc Add test.test_support, sched, and ftplib from CPython 3.8.3 2020-09-18 23:56:08 -05:00
Noah 0ba022fe2e misc: uncomment async generator in _collections_abc 2020-09-18 12:00:26 -05:00