Commit Graph
635 Commits
Author SHA1 Message Date
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
Noah ee2dff68b3 Implement atexit functionality 2020-09-18 12:00:24 -05:00
Noah a5c368ac43 Add test_atexit from CPython 3.8.3 2020-09-18 09:01:39 -05:00
Jeong YunWon a0d72943bf Merge pull request #2128 from youknowone/objectarc
CPython compatible Drop for PyObjectRc
2020-09-18 14:37:57 +09:00
Kangzhi Shi fa3fd724ac Fix array extend and improve 2020-09-15 09:10:38 +02:00
Jeong YunWon 6eb5daf9f6 Disable __del__ for subprocess.Handle in windows 2020-09-15 04:04:22 +09:00
Jeong YunWon aeebc444e2 CPython-compatible drop implementation 2020-09-15 04:04:21 +09:00
Kangzhi Shi 3192622ff6 Remove comment 2020-09-14 16:23:14 +02:00
Kangzhi Shi 036a791b51 Fix bytearray extend 2020-09-14 16:23:14 +02:00
Kangzhi Shi b210eb8d4a Fix bytearray remove 2020-09-14 16:23:14 +02:00
Kangzhi Shi 3397d56f58 Fix bytearray append 2020-09-14 16:23:13 +02:00
Kangzhi Shi a37737b0cd Fix bytearray insert 2020-09-14 16:23:13 +02:00
Kangzhi Shi ac1e00f944 Fix bytearray pop() 2020-09-14 16:23:13 +02:00
Kangzhi Shi be5599bf86 Fix bytes __add__ and __iadd__ 2020-09-14 16:23:13 +02:00
Kangzhi Shi 4d40a36fd2 Fix byte __imul__ 2020-09-14 16:23:13 +02:00
Jeong YunWon b569ccf240 Merge pull request #2203 from clemado1/dict_cmp
Add rich comparison for dict_iterator
2020-09-14 08:15:23 +09:00
clemado1 0c08d3006e Add rich comparison for dict_iterator
Modified inner_eq to inner_cmp so that dict_iterator can use and added rich comparison for dict_iterator.
2020-09-13 12:15:13 +09:00
Kangzhi Shi a9e02597cd Fix bytes setitem with Indexable value 2020-09-12 09:44:46 +02:00
Noah b13872bb7e Merge pull request #2199 from qingshi163/dev_byte_setslice
Fix bytes stuck on setslice
2020-09-11 01:28:28 -05:00
Noah bd92c7eea0 Merge pull request #2196 from qingshi163/dev_array_byteswap
Implement array byteswap()
2020-09-10 17:52:20 -05:00
Kangzhi Shi c2c5a81e38 Fix bytes stuck on setslice 2020-09-10 10:15:08 +02:00
Kangzhi Shi 1f756dbbf4 Implement array __copy__() and __deepcopy__() 2020-09-10 08:12:11 +02:00
Kangzhi Shi 4a1cda77f8 Implement array fromlist 2020-09-09 20:01:14 +02:00
Kangzhi Shi 78ab0a225a Implement array byteswap() 2020-09-09 12:03:53 +02:00
Noah ffb9f137ff Merge pull request #2192 from qingshi163/dev_array_cmp
Fix and improve array compare operations
2020-09-07 18:20:52 -05:00
Noah b8c94501b8 Merge pull request #2191 from hyperbora/fix-bool-from-bytes
Fix bool.from_bytes
2020-09-06 15:58:02 -05:00
hyperbora 7c54dc86f5 Fix bool.from_bytes 2020-09-06 23:26:08 +09:00
Kangzhi Shi 48909327db Fix array compare oparation 2020-09-06 13:53:20 +02:00
Steve Shi a5d0df25f7 Refactor with PySliceableSequenceMut trait to combine the slice operation 2020-09-06 17:08:42 +09:00
minoring b8cb2dfa2b Uncomment test_nonlocal 2020-09-05 22:42:52 +09:00
Yi Hyunjoon f682a94132 Fix int shifts for zero 2020-09-05 17:41:26 +09:00