Noah
97f2da7778
Don't panic on invalid utf8 compile(), add __get__/__delete__ to getset/property
2021-04-11 17:38:43 -05:00
Noah
730f37c91a
Fix path_from_fd
2021-04-11 13:21:16 -05:00
Noah
8d68e17680
Merge pull request #2541 from RustPython/coolreader18/try-microbenchmarks-again
...
Optimize(?) microbenchmarks some more
2021-04-09 14:07:24 -05:00
Noah
f9555fd75d
Fix getrandbits for k>32
2021-04-07 10:52:40 -05:00
Noah
b870fbef5d
Merge pull request #2538 from deantvv/os-fwalk
...
os: Add support for fd and dir_fd in `listdir`, `stat`, `fstat`
2021-04-07 10:41:36 -05:00
Dean Li
b065c059d2
os: Don't consume File in path_from_fd
2021-04-07 22:40:06 +08:00
Noah
e6b5219393
Fix remaining test_random overflows
2021-04-05 23:15:25 -05:00
Noah
db6fa17ffe
Don't recompile CPython microbenchmarks every time
2021-04-05 09:49:16 -05:00
Dean Li
5dae7aacda
Remove vm in path_from_fd
2021-04-05 11:13:39 +08:00
Dean Li
84e1cf87ab
Extract path_from_fd from make_path and listdir
2021-04-05 10:09:12 +08:00
Noah
3b1e8bccfd
Merge pull request #2539 from deantvv/detect_environment
...
Add os in detect requires environment script
2021-04-04 11:59:24 -05:00
Dean Li
7155decd1f
Add os in detect requires environment script
2021-04-04 22:45:15 +08:00
Dean Li
204dccc477
os: Add support_fd for listdir
...
Use same approach as make_path to add support_fd for `listdir`
After this patch, `os.fwalk` is available.
Noted that, test coverage doesn't increase due to the lack of 3rd argument in `os.symlink`.
2021-04-04 22:34:24 +08:00
Dean Li
a2b97f0f96
os: update support features for stat and fstat
2021-04-04 22:34:24 +08:00
Dean Li
7a890256aa
Fix skip condition for test_fd
2021-04-04 22:34:24 +08:00
Noah
e9aa81b003
Merge pull request #2537 from RustPython/try-fix-cron-2
...
Try fix cron-ci 2
2021-04-03 20:56:16 -05:00
Noah
84ca512b0a
Update lock_api to crates.io 0.4.3
2021-04-03 20:55:39 -05:00
Noah
286c784bea
Fix overflow in _random
2021-04-03 16:40:40 -05:00
Noah
31721c9d38
Try building benchmarks before running cargo criterion
2021-04-03 16:36:40 -05:00
Noah
68b219ce2f
Add rustyline to redox patches
2021-04-03 16:34:55 -05:00
Noah
b47ed5923d
Merge pull request #2536 from RustPython/fix-cron-benchmarks
...
Try running cron-ci benchmarks with cargo-criterion
2021-04-02 21:04:47 -05:00
Noah
0f4fac6a77
Try running cron-ci benchmarks with cargo-criterion
2021-04-02 21:02:29 -05:00
Noah
551ae5115f
Merge pull request #2535 from RustPython/update-development
...
Update the DEVELOPMENT document
2021-04-02 15:11:15 -05:00
Noah
30c2e9e1ba
Update the DEVELOPMENT document
2021-04-01 21:24:30 -05:00
Noah
80a5a8390a
Merge pull request #2533 from nielsbauman/ci-benchmarks
...
Run benchmarks in CI
2021-04-01 21:07:32 -05:00
Noah
4343c45d8e
Fix clippy for wasm
2021-04-01 21:06:52 -05:00
Niels Bauman
54b9f059df
Run benchmarks in CI
2021-03-28 18:18:02 +02:00
Noah
7257785ca4
Merge pull request #2523 from RustPython/fix-cpy-microbenchmarks
...
Fix CPython microbenchmarks
2021-03-27 20:01:25 -05:00
Noah
605a353bc0
Merge pull request #2518 from RustPython/get-method-opt
...
Add optimized method lookup to avoid creating intermediate method objects
2021-03-27 15:05:04 -05:00
Jeong YunWon
843895c04d
Merge pull request #2531 from RustPython/clippy-1.51
...
Fix clippy warnings for 1.51
2021-03-28 02:36:20 +09:00
Jeong YunWon
a3c5334b9e
Merge pull request #2525 from RustPython/update-deps
...
Update dependencies
2021-03-28 02:33:32 +09:00
Noah
76f8ed5299
Fix clippy warnings for 1.51
2021-03-26 17:54:22 -05:00
Noah
56e340dbd4
Merge pull request #2530 from verhovsky/redirect-stdout-in-whats_left
...
remove noise from importing modules in whats_left
2021-03-26 17:34:47 -05:00
Boris Verkhovskiy
3592c74b5f
remove noise from importing modules in whats_left
...
some modules will print something to stdout when imported
2021-03-26 15:51:58 -04:00
Noah
862c80f807
Fix closing fd for dir then calling closedir
2021-03-25 08:06:58 -05:00
Noah
1fff67db2c
Correct float rounding algorithm
2021-03-25 08:06:58 -05:00
Noah
5063627aad
Fix float.__round__ panic, use new bigint methods
2021-03-25 08:06:58 -05:00
Noah
7961ec9aaa
Update parser snapshot tests with new BigInt Debug repr
2021-03-25 08:06:58 -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
Unknown
3809e49ef0
Remove readline test
2021-03-25 10:41:35 +01:00
Noah
3c9bcf3a5e
Don't recompile cpython code at each run
2021-03-21 21:23:54 -05:00
Noah
66ae84981b
Fix cpython microbenchmarks failing
2021-03-21 20:43:44 -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
cba3a2530e
Merge pull request #2515 from deantvv/os-enhancement
...
Implement dir_fd in os.open
2021-03-19 21:49:17 -05:00
Noah
f1f7e8d1fb
Level the playing field for the parse_to_ast benchmarks
2021-03-19 21:47:28 -05:00
Dean Li
9963bf9fe4
Move filepath behind feature gate
2021-03-20 09:11:14 +08:00
Noah
cb90ddb113
Merge pull request #2520 from mainsail-org/mir/gh-action-whats-left-fix
...
fix github action for what is left data
2021-03-19 18:08:37 -05:00
Mireille
4de4dbdf1e
fix github action for what is left data
2021-03-19 11:02:32 -06:00