Commit Graph

6992 Commits

Author SHA1 Message Date
Noah
606d8196b6 Skip some importlib tests on windows + fix weird errors, hopefully? 2020-11-02 12:42:44 -06:00
Noah
9105c44bc1 Add more winreg functions 2020-11-02 12:42:43 -06:00
Noah
1dccad99b3 Fix pathlib import on windows 2020-11-02 12:41:44 -06:00
Noah
56b46b7281 Enable test_importlib 2020-11-02 12:41:44 -06:00
Noah
a87ce5ba5d Skip more tests for macos 2020-11-02 12:41:44 -06:00
Noah
bd644124bc Try skipping caching on macos 2020-11-02 12:41:44 -06:00
Jeong YunWon
b1a94c2c8c Merge pull request #2319 from youknowone/fix-warnings
Fix unused variables warnings
2020-11-03 01:01:37 +09:00
Jeong YunWon
8aea12b8c9 Fix unused variables warnings 2020-11-03 00:28:19 +09:00
Jeong YunWon
cd415c6ca9 Merge pull request #2295 from youknowone/sysmodule
Expose sys module constants in rust level
2020-11-03 00:28:04 +09: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
b7a73fdc0c Capitalize boolean constants for dis 2020-10-30 14:05:53 -05:00
Noah
249f121896 Merge pull request #2315 from hyperbora/fix-math-acosh
fix math.acosh
2020-10-30 12:03:59 -05:00
hyperbora
babebf0794 fix math.acosh 2020-10-31 00:26:18 +09:00
Jeong YunWon
d562b02085 Expose sys module constants in rust level 2020-10-29 14:47:31 +09:00
Noah
525ff493a1 Merge pull request #2311 from rodrigocam/master
Add socket sendfile function
2020-10-28 12:18:52 -05:00
Noah
7b8066d342 Specify python version for pipenv 2020-10-28 12:00:26 -05:00
Noah
5de85277dd Merge pull request #2312 from qingshi163/array-float
Fix array with float
2020-10-28 11:59:05 -05:00
Noah
8cdbccd311 Use Python 3.8 for CI 2020-10-28 11:22:49 -05:00
Noah
ad3922ae91 Skip shutil test 2020-10-28 11:12:01 -05:00
Noah
7d45672f4e Skip unrelated test in test_os 2020-10-27 22:14:07 -05:00
Rodrigo Oliveira
6de2dc6328 Add macro call to allow function up to seven parameters 2020-10-27 23:39:41 -03:00
Rodrigo Oliveira
a64ecbf00a Process headers and trailers as array of byte buffers 2020-10-27 20:45:29 -03:00
Rodrigo Oliveira
a8d579dada Add guard clause to check if os has sendfile function 2020-10-27 18:34:22 -03:00
Rodrigo Oliveira
01e6f735a0 Remove socket sendfile wrong implementation 2020-10-27 17:50:40 -03:00
Rodrigo Oliveira
a656c51696 Add os sendfile function and python test 2020-10-27 17:14:53 -03:00
Kangzhi Shi
eaf4bad2d1 fix array with float 2020-10-27 19:18:18 +02:00
Noah
3c9ad2378b Merge pull request #2297 from RustPython/coolreader18/rework-pystruct
Update pystruct + array
2020-10-26 23:48:35 -05:00
Rodrigo Oliveira
00920babba Add socket sendfile function 2020-10-26 14:55:22 -03:00
Noah
0aa177de1d Merge pull request #2307 from ChJR/feature/format_float
Fix default format(float) result when the number is too big
2020-10-26 12:19:06 -05:00
Noah
026f396e98 Use std::os::raw::c_* instead of libc::c_* for wasm compat 2020-10-26 12:14:00 -05:00
Noah
59169aa2ce Use a static type for struct.error 2020-10-26 12:13:52 -05:00
Noah
0f84bd4070 Update pystruct + array 2020-10-26 12:13:24 -05:00
Noah
25a388cb70 Merge pull request #2309 from RustPython/coolreader18/math-fixes
Implement nextafter in Rust
2020-10-26 12:01:51 -05:00
Noah
9a068a2fc1 Merge pull request #2304 from awoimbee/socket/resolve-right-ip-family
socket: resolve addresses according to socket family (ipv4/6)
2020-10-26 12:01:03 -05:00
coolreader18
4e05d7d3e6 Suppress clippy 2020-10-26 10:06:38 -05:00
ChJR
3838610e55 Fix fmt check 2020-10-26 23:58:51 +09:00
ChJR
edc4de20e4 Remove not matched comments 2020-10-26 23:48:28 +09:00
Noah
b1144b773d Merge branch 'master' into socket/resolve-right-ip-family 2020-10-26 08:56:21 -05:00
Arthur Woimbée
b74a057ec9 socket/get_addr: remove IpAddrFmt 2020-10-26 11:26:44 +01:00
Jeong YunWon
cfb25a5a6e Merge pull request #2301 from RustPython/coolreader18/rework-staticcell
Make StaticCell less complex to use
2020-10-26 14:04:27 +09:00
Noah
72f8f20ab2 Move timing_safe_cmp to rustpython-common 2020-10-25 15:28:36 -05:00
Noah
e772b42f36 Fix a few math tests and implement nextafter in rust 2020-10-25 13:43:33 -05:00
Noah
116308f372 Merge pull request #2305 from ChJR/master
Update random.py with CPython 3.7 version.
2020-10-25 13:31:04 -05:00
Noah
5762dc2b8f Merge pull request #2308 from ChJR/feature/whats_left_stat
Update stat.py with CPython 3.8 version
2020-10-25 13:29:56 -05:00
Noah
80775b7555 Merge pull request #2306 from ChJR/feature/format_exponent
Add format %e option of floating point numbers.
2020-10-25 11:51:38 -05:00
ChJR
b9a0f3b21d Update stat.py with CPython 3.8 version
stat.py of CPython 3.8 is same with the latest.
stat.py of CPython 3.7 slightly differ with CPython 3.8.
2020-10-26 01:43:00 +09:00
ChJR
2219382928 Add tests for default format(float) working 2020-10-26 01:01:50 +09:00
ChJR
729aeff795 Move tests to extra_tests. 2020-10-26 00:45:30 +09:00
ChJR
057d7454dc Revert "Add test for formatting %e option of floating point numbers."
This reverts commit 42fc2b2625.
2020-10-26 00:34:57 +09:00
ChJR
3344ae17cf Fix default format(float) result when the number is too big
Before this change, format(1e16) returns '10000000000000000.0' in RustPython while CPython 3.7 returns '1e+16'.
After this change, format(1e16) returns '1e+16' in RustPython too.
2020-10-26 00:27:14 +09:00