Commit Graph
6476 Commits
Author SHA1 Message Date
Noah 43b7a7bdbe Make into_struct_sequence not clone fields 2020-08-30 15:46:05 -05:00
Noah 5bc5da8da1 Move the PyStructSequence impl to a separate mod 2020-08-30 15:46:05 -05:00
Noah 2d49dcd66e Make PyClassDef::BASE a function 2020-08-30 15:46:05 -05:00
Noah 619f1a1de9 Make PyStructSequence a derive macro 2020-08-30 15:46:04 -05:00
Noah 79c0efc491 Make class.slots completely immutable 2020-08-30 15:46:04 -05:00
Jeong YunWon 79964b0f48 Merge pull request #2167 from hyperbora/extend-the-socket-module
add gethostbyname function
2020-08-30 19:31:17 +09:00
Jeong YunWon d2b35af43b Merge pull request #2168 from minoring/impl-os.abort
Implement os.abort
2020-08-30 17:10:07 +09:00
hyperbora 92d8e2c8da add os.getcwdb function 2020-08-30 14:56:28 +09:00
minoring d2397f440c Implement os.abort 2020-08-30 14:35:14 +09:00
hyperbora c30fabddee add gethostbyname function 2020-08-30 09:30:13 +09:00
Jeong YunWon 6e796d7cd8 Merge pull request #2159 from youknowone/test_re
test_re.py and keyword argument fix for _sre.py
2020-08-29 02:23:48 +09:00
Jeong YunWon 9f77799fa0 Merge pull request #2160 from RustPython/coolreader18/siphasher24
Use siphash24 + PYTHONHASHSEED
2020-08-29 01:31:10 +09:00
Steve Shi 6073151965 Implement array getitem by slice 2020-08-29 00:30:09 +09:00
Ben Lewis b58bd8650e Merge pull request #2153 from skinny121/use-libffi
Use libffi to call jitted functions.
2020-08-28 20:38:15 +12:00
Ben Lewis fca23276e0 Add documentation to README.md, and install required dependencies on ci. 2020-08-28 19:52:04 +12:00
Ben Lewis c3f18a306e Use libffi to call jitted functions. 2020-08-28 19:52:04 +12:00
Noah 343c40c939 Merge pull request #2162 from edwardycl/fix
Fix minor things
2020-08-27 23:19:33 -05:00
Youngchan Lee 5b446333b1 Fix minor things 2020-08-28 11:17:38 +09:00
Jeong YunWon d099831bbf Bring some code from brython master 2020-08-28 11:06:56 +09:00
Jeong YunWon c0fc94fc2b Fix keyword arguments support of _sre.py 2020-08-28 10:54:11 +09:00
Jeong YunWon 63f13728a2 Mark failng tests in test_re.py 2020-08-28 10:54:10 +09:00
CPython dev f0882a6c21 test_re.py from CPython 3.8.5 2020-08-28 10:54:07 +09:00
Noah 72123c65ec Use siphash24 + PYTHONHASHSEED 2020-08-27 20:47:47 -05:00
Ben Lewis c149ae73d5 Merge pull request #2158 from skinny121/fix-clippy-warning
Fix clippy warning
2020-08-28 08:25:38 +12:00
Ben Lewis 3c3711c6fc Fix clippy warning 2020-08-28 07:43:18 +12:00
Jeong YunWon bb6dc785b5 Merge pull request #2152 from RustPython/coolreader18/stable-sort 2020-08-28 00:13:25 +09:00
Noah 7a6ce8c338 Update timsort 2020-08-26 23:31:14 -05:00
Noah 1149de294f Fix max+test_max 2020-08-26 22:33:11 -05:00
Noah defcbb821c Skip unsupported sort tests 2020-08-26 21:50:23 -05:00
Noah 2a180af0ab Add test.test_sort from CPython 3.8.3 2020-08-26 21:50:01 -05:00
Noah edb9df8071 Use timsort for the list sort algorithm 2020-08-26 21:49:44 -05:00
Noah 9598392aea Allow floats in jitted functions (#2150) 2020-08-26 08:36:56 -05:00
Jeong YunWon 358b4b159d Merge pull request #2148 from youknowone/windows-ci
Windows CI
2020-08-26 17:37:39 +09:00
Jeong YunWon 85724006e2 Windows CI 2020-08-26 14:29:03 +09:00
Youngchan Lee 57fbce9d31 Handle TypeErrors in bytes() & bytearray() 2020-08-26 14:11:50 +09:00
Ben Lewis 989a7ae051 Merge pull request #2142 from skinny121/jit
Proof of concept JIT compiler
2020-08-25 17:24:05 +12:00
Ben Lewis 73f23b8dee Rename JIT to Jit 2020-08-25 07:18:46 +12:00
Ben LewisandNoah 93bbf19fd4 Fix specifying multiple features in test_snippets.py
Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
2020-08-25 07:16:59 +12:00
Ben Lewis 7a4acdf40f Move cfg onto __jit__ method. 2020-08-25 07:16:58 +12:00
Ben Lewis 3e0673fe00 Fix ci features argument. 2020-08-25 07:16:58 +12:00
Ben Lewis e70b2db78d Add jit feature when running tests, and run rustfmt. 2020-08-25 07:16:58 +12:00
Ben Lewis c773d9f214 Use OnceCell to hold the jitted code. 2020-08-25 07:16:58 +12:00
Ben Lewis 4bdae47eb3 Make jit optional by adding a 'jit' feature. 2020-08-25 07:16:58 +12:00
Ben Lewis cfb8018a4f Add jit test. 2020-08-25 07:16:58 +12:00
Ben Lewis c5c6a2c21d Add support for a few more bytecode instructions. 2020-08-25 07:16:58 +12:00
Ben Lewis bf221bf408 Handle first couple of bytecode instructions in jit. 2020-08-25 07:16:58 +12:00
Ben Lewis b2ab9d9bdf Initial jit prototype. 2020-08-25 07:16:58 +12:00
Jeong YunWon 809816cc23 Merge pull request #2145 from RustPython/coolreader18/update-deps
Update deps
2020-08-24 16:53:33 +09:00
Jeong YunWon 888f9c0820 Merge pull request #2097 from hyperbora/dev
Corrected the problem of mishandling optional kwarg in max function
2020-08-24 16:48:37 +09:00
Noah d912fdef41 Use async/await for wasm-bindgen-futures stuff 2020-08-23 21:23:31 -05:00