Commit Graph

333 Commits

Author SHA1 Message Date
Kangzhi Shi
7ab4e9573c fix sre zerowidth search 2021-04-20 10:21:16 +02:00
Noah
075b184b56 Upgrade sre-engine 2021-04-16 10:56:14 -05:00
Noah
763c18d8aa Merge pull request #2544 from RustPython/coolreader18/misc-fixes
Misc fixes related to IPython
2021-04-14 15:14:54 -05:00
Noah
f892b06c3e Switch to sre-engine from crates.io 2021-04-13 10:40:15 -05:00
Noah
3db00be5f3 Add termios module 2021-04-11 17:38:44 -05:00
Noah
f9555fd75d Fix getrandbits for k>32 2021-04-07 10:52:40 -05:00
Noah
84ca512b0a Update lock_api to crates.io 0.4.3 2021-04-03 20:55:39 -05:00
Noah
25ecd7c38b Upgrade dependencies 2021-03-25 08:06:56 -05:00
Noah
9b0a86d037 Run cargo update 2021-03-25 08:06:14 -05:00
Noah
163cd19533 Merge pull request #2519 from TheOnlyError/2406-parse-multiple-lines-REPL
2406 parse multiple lines REPL
2021-03-25 08:04:07 -05:00
Noah
d6c8247886 Merge pull request #2521 from RustPython/fix-cpython-parse-bench
Level the playing field for the parse_to_ast benchmarks
2021-03-21 19:20:32 -05:00
Noah
f1f7e8d1fb Level the playing field for the parse_to_ast benchmarks 2021-03-19 21:47:28 -05:00
Eric van der Toorn
29a69b8958 update rustyline 2021-03-16 12:45:06 +01:00
Dean Li
ead42f2903 Implement dir_fd in os.open
Now pass `test_posix.py PosixTester.test_open_dir_fd`

Implement `dir_fd` in
`make_path` and `os.open(path, flags, mode=0o777, *, dir_fd=None)`
2021-03-13 11:23:18 +08:00
Noah
6da8b937da Add freebsd support 2021-03-08 08:08:54 -06:00
Noah
a0d9481fe5 Add RLock._is_owned 2021-02-20 21:04:30 -06:00
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