Commit Graph

8138 Commits

Author SHA1 Message Date
Noah
1feae7841f Fix stuff on windows 2021-04-27 08:15:13 -05:00
Noah
42d4c81369 Unskip tests 2021-04-27 08:15:13 -05:00
Noah
d969299de5 Always have fds represent the C RT's fds, even on windows 2021-04-27 08:15:12 -05:00
Jeong YunWon
53ce13bf00 Merge pull request #2588 from RustPython/coolreader18/less-deps
Less dependencies (remove _serde_json and regex_crate modules)
2021-04-27 21:05:41 +09:00
Jeong YunWon
94d5085f0f Merge pull request #2597 from fanninpm/test-pkg
Add test_pkg from CPython 3.8
2021-04-27 15:01:16 +09:00
Jeong YunWon
7526e03311 Merge pull request #2595 from fanninpm/test-ordered-dict
Add test_ordered_dict from CPython 3.8
2021-04-27 15:00:40 +09:00
Noah
d226cb818c Merge pull request #2594 from deantvv/os-open-args
os: Fix `open` keyword arguments
2021-04-26 09:06:25 -05:00
Dean Li
d99f4038e1 os: Fix open keyword arguments
Following code used to fail due to the way used to define
os.open in rust. To fix this, we need to use `FromArgs`
to define `struct OpenArgs {...}`.
```
f = os.open(path=__file__, flags=os.O_RDONLY, mode=0o777, dir_fd=None)
```

Noted that the original `open` is now rename to `os_open`
and is exported as `open`.

Related to #1175
2021-04-26 19:51:24 +08:00
Noah
8ae26e545f Don't depend on num-iter 2021-04-25 18:03:29 -05:00
Noah
2e33b227b3 Impl py_io::Write for String 2021-04-25 18:03:28 -05:00
Padraic Fanning
2a2695ced5 Add test_pkg from CPython 3.8 2021-04-25 12:59:12 -04:00
Padraic Fanning
b6151f4b7d Mark erroring/failing tests 2021-04-25 11:52:46 -04:00
Padraic Fanning
2cdeb2da4b Add test_ordered_dict from CPython 3.8 2021-04-25 11:52:45 -04:00
Noah
f7de913e07 Merge pull request #2593 from deantvv/os-utimeargs-cfg-gate
os: Put `UtimeArgs` behind cfg gate
2021-04-25 10:06:42 -05:00
Jeong YunWon
0497a36994 Merge pull request #2590 from fanninpm/test-optparse
Add test_optparse from CPython 3.8
2021-04-25 23:41:00 +09:00
Jeong YunWon
cc122800f0 Merge pull request #2589 from fanninpm/test-openpty
Add test_openpty from CPython 3.8
2021-04-25 23:40:13 +09:00
Jeong YunWon
5939cdb423 Merge pull request #2587 from qingshi163/sre-cmp
impl sre Pattern compare
2021-04-25 23:38:42 +09:00
Dean Li
0620918a30 os: Put UtimeArgs behind cfg gate 2021-04-25 10:31:16 +08:00
Noah
397392c2fd Merge pull request #2591 from ishigoya/master
Add test_range from cpython 3.8.7
2021-04-22 21:49:53 -05:00
Robert Booth
55f2fa0a73 add test_range 2021-04-23 10:17:32 +09:00
Robert Booth
fa20c260d7 test_range from cpython [v3.8.7|âś”] 2021-04-23 10:02:36 +09:00
Padraic Fanning
cfcb75875d Add test_optparse from CPython 3.8 2021-04-22 13:20:48 -04:00
Padraic Fanning
e2e4f44534 Add test_openpty from CPython 3.8 2021-04-22 12:35:43 -04:00
Noah
325007f6f3 Don't include regex in the binary, remove regex_crate module 2021-04-22 08:31:27 -05:00
Noah
9aab312dae Remove serde_json python module 2021-04-22 08:08:19 -05:00
Noah
78c5048940 Gate foreign-types-shared under ssl feature 2021-04-22 08:06:10 -05:00
Kangzhi Shi
807acfeddd impl sre Pattern compare 2021-04-22 08:57:18 +02:00
Noah
c006f19f79 Merge pull request #2582 from fanninpm/test-ntpath
Add test_ntpath from CPython 3.8
2021-04-21 23:00:06 -05:00
Noah
f8e5be9351 Merge pull request #2572 from RustPython/fix-codecov
Fix remaining code coverage collection issues
2021-04-21 22:58:29 -05:00
Noah
1f0f264da7 Merge pull request #2559 from RustPython/coolreader18/moduless
Add some os-related modules and improve stdlib_inits
2021-04-21 22:25:40 -05:00
Noah
a3144357bc Merge pull request #2585 from fanninpm/test-numeric-tower
Add test_numeric_tower from CPython 3.8
2021-04-21 22:16:33 -05:00
Noah
3a3c81e803 Fix lcov generation 2021-04-21 21:36:54 -05:00
Padraic Fanning
6761935deb Mark failing test 2021-04-21 22:12:34 -04:00
Padraic Fanning
920db1afd9 Add test_numeric_tower from CPython 3.8 2021-04-21 22:12:33 -04:00
Jeong YunWon
cb2f4d4dea Merge pull request #2575 from fanninpm/fix-test-py-compile-mac
Add extra check in test_py_compile for Big Sur and/or Apple Silicon
2021-04-22 10:59:18 +09:00
Noah
696aa99b80 Apply review comments 2021-04-21 20:44:18 -05:00
Padraic Fanning
878d755718 Mark erroring/failing tests on Windows 2021-04-21 21:28:44 -04:00
Padraic Fanning
84f13e1cb9 Change check to cover all releases of Big Sur 2021-04-21 21:15:10 -04:00
Noah
666383633f Add signal.set_wakeup_fd and signal.siginterrupt 2021-04-21 20:09:51 -05:00
Noah
6e60bda0e0 Add the fcntl module 2021-04-21 20:09:50 -05:00
Noah
0fcaaa62d9 os.error is OSError 2021-04-21 20:09:50 -05:00
Noah
b4827a8d22 Use Cow<str> for key in stdlib_inits, remove use of hashmap macro 2021-04-21 20:09:50 -05:00
Noah
57259b00ac Add the resource module 2021-04-21 20:09:50 -05:00
Noah
2a70fb2eed Improve structsequence 2021-04-21 20:09:50 -05:00
Noah
f5b78e9060 Use absolute paths for LLVM_PROFILE_FILE 2021-04-21 20:01:15 -05:00
Padraic Fanning
d3d940cf1a Change check to cover all versions of Big Sur 2021-04-21 20:57:29 -04:00
Padraic Fanning
66b2c88011 Fix unexpected success for macOS and Windows 2021-04-21 20:33:48 -04:00
Noah
a0b8b9e193 Try using source-based code coverage 2021-04-21 19:30:28 -05:00
Noah
94caa958d5 Merge pull request #2580 from ishigoya/master
Change data chunk passing in Rust zlib compression
2021-04-21 18:59:45 -05:00
Padraic Fanning
b054181666 Mark erroring/failing tests 2021-04-21 19:35:39 -04:00