Commit Graph
6701 Commits
Author SHA1 Message Date
Jeong YunWon 6f230ff7d7 optimize descr_get 2020-09-24 01:42:28 +09:00
Jeong YunWon d59f9c3c4e tp_call optimization 2020-09-24 01:40:53 +09:00
Jeong YunWon 7582c9f891 Unhashable trait 2020-09-24 01:39:46 +09:00
Noah 6188911703 Merge pull request #2207 from RustPython/coolreader18/cmp-trait
Add a tp_cmp slot for richcompare
2020-09-22 16:46:15 -05:00
Jeong YunWon 6c740c1bf9 Merge pull request #2224 from youknowone/slot-type
impl SlotCall for PyClass, PyFunction, JsonScanner
2020-09-22 08:28:51 +09:00
Noah aeb48ddbac Merge pull request #2222 from youknowone/dis
Fix dis.dis to prints inner constant codes like CPython
2020-09-21 17:52:40 -05:00
Jeong YunWon f396a9e8be JsonScanner SlotCall 2020-09-22 07:52:27 +09:00
Jeong YunWon 81f4f95b91 impl SlotCall for PyClass 2020-09-22 07:03:03 +09: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 3adc755321 Use fixed result-like transpose method 2020-09-21 11:22:44 -05:00
Noah 8bf197cd81 Optimize eval_ord 2020-09-21 10:55:16 -05:00
Noah 6095557fb8 Fix dict+set tests 2020-09-21 10:55:15 -05:00
Noah 2f03db9872 Fix some silly errors 2020-09-21 10:55:15 -05:00
Noah fc456ac526 Finish rest of Comparable impls 2020-09-21 10:55:15 -05:00
Noah a5ec8dd75d WIP switch to Comparable over __eq__ methods 2020-09-21 10:55:15 -05:00
Noah 981e9e9200 Add a cmp slot & trait 2020-09-21 10:55:15 -05:00
Noah abcd929280 Make signal->_signal 2020-09-21 10:54:13 -05:00
Noah 2dcfd19750 Add signal.py from CPython 3.8.3 2020-09-21 10:41:58 -05:00
Noah ca5f2da9e9 Make more builtin functions be named 2020-09-21 10:32:25 -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
Noah 6c3e4819ed Rework native function creation a bit 2020-09-20 22:36:35 -05:00
Noah 155400f52d Merge pull request #2225 from youknowone/skip-test-class
skip randomly successful test_class.testHashComparisonOfMethods
2020-09-20 19:36:36 -05:00
Jeong YunWon 8d79b0667f skip randomly successful test_class.testHashComparisonOfMethods 2020-09-21 08:30:13 +09:00
Jeong YunWon 9435f71b1e Merge pull request #2220 from RustPython/coolreader18/update-deps
Update dependencies
2020-09-21 06:14:12 +09:00
Jeong YunWon 9e78ec9ef9 Fix dis.dis to prints inner constant codes like CPython 2020-09-21 06:09:55 +09:00
Noah b29b387e7b Add rust-toolchain and use actions-rs/toolchain 2020-09-19 22:38:14 -05:00
Jeong YunWon 90768fffc2 update result-like 2020-09-19 21:27:56 -05:00
Noah 269ee9c8da Fix error with new deps 2020-09-19 21:27:50 -05:00
Noah 24acbc5e23 Update dependencies 2020-09-19 21:26:02 -05:00
Noah 04e7b5ada4 Merge pull request #2179 from RustPython/coolreader18/test_support
test_support
2020-09-19 15:07:40 -05: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 3c92199aa3 Need upgrade the version of pickle.py 2020-09-19 08:54:09 +02:00
Kangzhi Shi d1f2179397 Fix byte pickle implement 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 872bcb4e4b Merge pull request #2219 from youknowone/fix-notimpl
Fix NotImplemented repr
2020-09-19 00:36:39 -05: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 89df598fa1 Fix ipv6 localhost issue 2020-09-19 00:20:51 -05:00
Noah 469036788f misc change 2020-09-19 00:20:51 -05:00
Noah ad51d22695 Fix clippy lint 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 60a523e411 Implement a bunch of sys.flags kinda stuff 2020-09-19 00:20:49 -05:00
Jeong YunWon 73199504d0 Fix NotImplemented repr 2020-09-19 14:00:03 +09:00
Noah 0df1b353f5 Implement method.__eq__ 2020-09-18 23:57:37 -05:00
Noah 5ffe136851 Have builtins.input() fall back to a simple readline if sys.stdin isn't actually stdin 2020-09-18 23:56:09 -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