Commit Graph

317 Commits

Author SHA1 Message Date
Noah
9c6eea6aa0 Fix os.utime to be able to take floats 2021-02-08 12:36:54 -06:00
Noah
4a26d13481 Fix do_handshake method 2021-02-07 19:39:36 -06:00
Noah
aa238de4a9 Support newlines in the middle of base64 2021-02-07 19:39:36 -06:00
Noah
6d371cea8a Merge pull request #2409 from RustPython/coolreader18/fix-http
Fix BufferedReader over a SocketIO to properly read the right amount
2021-02-03 11:29:01 -06:00
Noah
c20220c531 Merge pull request #2434 from RustPython/sre-update
Update sre-engine dependency
2021-02-03 11:09:01 -06:00
Noah
317fc974ff Update sre-engine dependency 2021-02-03 09:08:20 -06:00
Noah
f49448a343 Merge pull request #2402 from RustPython/wasm-hooks
Add a way to inject modules to rustpython_wasm
2021-02-03 09:06:52 -06:00
Noah
f613995198 zlib gzip wbits 2021-01-29 11:47:07 -06:00
Noah
6c30bc10bc Extract the sre interpreter into a separate repo 2021-01-29 10:18:20 -06:00
Noah
36f525732e Use the which crate to figure out sys.executable 2021-01-29 00:46:17 -06:00
Noah
e74e1958c4 Switch to csv-core for the _csv module 2021-01-25 15:11:24 -06:00
Noah
19f9ca6390 Merge pull request #2399 from RustPython/coolreader18/asdl
Generate rustpython-ast based off of Python.asdl
2021-01-25 11:09:31 -06:00
Noah
2ab02e34f1 Update Cargo.lock 2021-01-19 18:12:17 -06:00
Noah
304a47af26 Add a way to inject modules to rustpython_wasm 2021-01-19 13:53:11 -06:00
Noah
cd9f6806c3 Implement obj->ast functionality of the ast module 2021-01-14 12:37:37 -06:00
Noah
b8aabb7bb7 Implement asdl in the ast and parser 2021-01-14 12:37:37 -06:00
Noah
abe9e2322e Remove extra ahash dep 2021-01-11 19:42:05 -06:00
Jeong YunWon
eb6edabfd3 Merge pull request #2397 from RustPython/coolreader18/fasthash
Use ahash instead of siphash in a few places
2021-01-11 01:37:12 +09:00
Noah
cbd229c754 Update cranelift deps 2021-01-08 18:47:54 -06:00
Noah
8cdef9e1fa Use ahash in the vm 2021-01-08 18:08:21 -06:00
Noah
77ab7628fe Upgrade lz4_flex + lalrpop 2021-01-08 17:22:42 -06:00
Noah
56c225c748 Use ahash/phf in parser 2021-01-08 17:09:09 -06:00
Noah
688880c540 Use ahash in the compiler 2021-01-08 17:00:23 -06:00
Noah
0fe96f16b0 Update Cargo.lock 2021-01-08 17:00:03 -06:00
Noah
75f9ea2f29 Update rand deps, replace statrs with puruspe 2021-01-07 23:44:45 -06:00
Noah
76306b2260 Add half-float support for struct 2021-01-07 23:44:44 -06:00
Noah
108e1ef38b Rework pystruct, again 2021-01-07 23:44:44 -06:00
Noah
5d6c323989 Merge pull request #2376 from RustPython/coolreader18/bytecode-crate-reorganize
Flatten rustpython_bytecode::bytecode into the root of the crate
2020-12-20 09:26:30 -06:00
Noah
a7363110ae Update lz4_flex version 2020-12-19 14:59:06 -06:00
Noah
96ae54ae5e Remove arr_macro dependency 2020-12-19 00:16:17 -06:00
Noah
2d246f0ce9 Merge pull request #2365 from RustPython/coolreader18/optimize-bytecode-format
Optimize the size of Instruction
2020-12-16 09:01:27 -06:00
Noah
60b2884afa Use lz4_flex instead of lz-fear 2020-12-14 14:25:19 -06:00
Noah
3280a1655a Optimize the size of Instruction 2020-12-14 14:25:19 -06:00
Noah
881b280c46 Fix compilation on redox 2020-12-14 12:12:44 -06:00
Tom Forbes
5788e7bf8e Refactor benchmarking suite to use Criterion 2020-12-11 00:28:22 +00:00
Noah
978260f5b5 Update dependencies 2020-12-05 17:51:10 -06:00
Noah
0fddb046dd Update cranelift dependencies 2020-12-05 16:36:37 -06:00
Noah
fafee7fe0d Use static_assertions to verify the safety of init_type_hierarchy 2020-11-21 00:33:05 -06:00
Noah
30b5fb22ef Use lz-fear to get streaming decompression for bytecode 2020-11-17 09:49:31 -06:00
Noah
70907babe6 Fix wasm + examples 2020-11-07 15:43:23 -06:00
Noah
4528f17210 compiler/porcelain wrapper 2020-11-07 15:43:23 -06:00
Noah
b3851c8eb8 Split the ast from the parser, remove compiler dep on parser 2020-11-07 15:43:23 -06:00
Jeong YunWon
697d6eddcd Merge pull request #2294 from RustPython/coolreader18/pyobj-constants
Store PyObjectRef in CodeObject constants
2020-11-03 00:03:30 +09:00
Noah
72f8f20ab2 Move timing_safe_cmp to rustpython-common 2020-10-25 15:28:36 -05:00
Noah
df28c022e1 Use disassembly for snapshot testing 2020-10-19 23:55:56 -05:00
Noah
5176864aa9 Update rustpython_vm to differentiate between bytecode::CodeObject and builtins::code::CodeObject 2020-10-19 23:55:55 -05:00
Jeong YunWon
5b32064cd6 trait StaticType 2020-10-20 01:43:39 +09:00
Jeong YunWon
d54cfaf3f4 Keep source code order for module items 2020-10-19 18:21:04 +09:00
Noah
b0f9589471 Update dependencies 2020-10-16 20:49:00 -05:00
Noah
61ded76298 Merge pull request #2286 from youknowone/cargo-update
cargo update
2020-10-12 13:58:26 -05:00