Commit Graph

8510 Commits

Author SHA1 Message Date
Jeong YunWon
9b980df95b Merge pull request #2726 from sisungo/master
Change `os.rs` to build on musl libc
2021-07-10 04:23:35 +09:00
sisungo
c13806d384 Change os.rs to build on musl libc 2021-07-09 20:14:29 +08:00
Jeong YunWon
61632d9801 Merge pull request #2724 from fanninpm/test-utf8source
Add test_utf8source from CPython 3.8
2021-07-09 20:47:46 +09:00
Jeong YunWon
e3fab3a5fc Merge pull request #2723 from fanninpm/test-utf8-mode
Add test_utf8_mode
2021-07-09 20:47:21 +09:00
Padraic Fanning
deac676ff2 Mark erroring tests 2021-07-08 17:31:16 -04:00
Padraic Fanning
1faa3cd1a1 Add test_utf8source from CPython 3.8 2021-07-08 17:31:15 -04:00
Padraic Fanning
5692639d99 Skip flaky threading test 2021-07-08 17:30:31 -04:00
Jeong YunWon
aa8dd24f6e Merge pull request #2703 from fanninpm/test-userlist
Add test_userlist from CPython 3.8
2021-07-08 19:18:51 +09:00
Padraic Fanning
558df14a04 Mark failing test on Windows 2021-07-07 22:31:30 -04:00
Padraic Fanning
5da63a3701 Mark erroring/failing tests 2021-07-07 21:11:41 -04:00
Padraic Fanning
c157ac50c4 Add test_utf8_mode from CPython 3.8 2021-07-07 21:11:40 -04:00
Padraic Fanning
93898e8402 Mark unexpected panic on Windows 2021-07-07 21:07:42 -04:00
Padraic Fanning
36314ea2e2 Mark failing/unexpectedly passing tests 2021-07-07 21:07:42 -04:00
Padraic Fanning
772cd6e9cc Add test_userlist from CPython 3.8 2021-07-07 21:07:41 -04:00
Jeong YunWon
95d2f68cbf Merge pull request #2705 from deantvv/os-getgroups
os: Implement getgroups
2021-07-08 00:21:27 +09:00
Jeong YunWon
0aa05f071a Merge pull request #2707 from deantvv/os-pathconf
os: Implement (f)pathconf
2021-07-07 23:40:09 +09:00
Jeong YunWon
e51ca5753a Merge pull request #2704 from fanninpm/test-userstring
Add test_userstring from CPython 3.8
2021-07-07 23:36:30 +09:00
Jeong YunWon
fdb6fc47d8 Merge pull request #2722 from corona10/operator
Lib: Update operator.py to follow CPython's implementation
2021-07-07 23:27:32 +09:00
Jeong YunWon
fff68dca53 Merge pull request #2711 from DimitrisJim/range-fixes
Fix a number of range issues.
2021-07-07 23:21:18 +09:00
Jeong YunWon
2e6fea023a Merge pull request #2713 from DimitrisJim/vars_error
Fix test_vars in test_builtins.
2021-07-07 23:14:57 +09:00
Jeong YunWon
96eef21ec0 Merge pull request #2714 from DimitrisJim/tuple_singleton
Make tuple(empty_iterable) return empty_tuple
2021-07-07 23:13:22 +09:00
Dong-hee Na
c554689b90 Lib: Update operator.py to follow CPython's implementation 2021-07-07 22:35:51 +09:00
Noah
bee5794b6e Merge pull request #2717 from DimitrisJim/quiet_clippy
Please clippy.
2021-06-20 19:12:18 -04:00
jfh
8540767f58 Fix new clippy issues, Use take. 2021-06-18 21:58:27 +03:00
jfh
0e33be9ce8 Please clippy 2021-06-18 21:24:46 +03:00
jfh
2e9acb3035 Make tuple() return empty_tuple 2021-06-17 12:31:24 +03:00
jfh
b6b10149b7 Fix test_vars in test_builtins. 2021-06-16 19:48:54 +03:00
Jeong YunWon
30614057b8 Merge pull request #2712 from DimitrisJim/notimplemented_behaviour
Add new and bool for NotImplemented.
2021-06-16 20:13:29 +09:00
jfh
63d156097c Add new and bool for NotImplemented.
New simply returns the singleton. While `bool(NotImplemented)` already
returned `True`, it is added since it will need to raise a warning in
the future.
2021-06-16 12:07:48 +03:00
jfh
c1f1f1ef02 Fix a number of range issues. 2021-06-15 19:20:54 +03:00
Jeong YunWon
e0d86e8602 Merge pull request #2706 from deantvv/os-fix-test
Fix tests in os
2021-06-15 19:55:01 +09:00
Jeong YunWon
0f8d954ecf Merge pull request #2710 from DimitrisJim/range_reversed
Fix miscalculation when reversing a range.
2021-06-15 19:54:28 +09:00
jfh
7be043fa5a Fix small miscalculation when reversing a range. 2021-06-14 22:31:50 +03:00
Dean Li
d044d8ab61 os: Implement (f)pathconf
Implement pathconf and fpathconf using libc::pathconf.

os.pathconf_names is not implemented.
2021-06-13 21:43:33 +08:00
Dean Li
62f49ed4de os: Fix error message of fspath 2021-06-13 13:48:39 +08:00
Dean Li
d458669e8c os: Fix test for lstat 2021-06-13 13:47:54 +08:00
Dean Li
88a86fdd9e os: Implement getgroups
`getgroups` is already implement in rust, just wrap the function
to let it be used in python.
2021-06-13 10:39:25 +08:00
Noah
e63d2741c3 Merge pull request #2698 from RustPython/coolreader18/textio-ergonomics
Use a Utf8size struct to represent the {bytes,chars} pairs in textio
2021-06-11 13:30:34 -05:00
Jeong YunWon
4fc160e696 Merge pull request #2700 from DimitrisJim/bound_repr
Fallback to __name__ if __qualname__ isn't available.
2021-06-12 00:10:32 +09:00
Jeong YunWon
53bf7b3c14 Merge pull request #2702 from deantvv/test-posix-mark-failure-reason
test: add reason of failure for tests
2021-06-11 17:49:50 +09:00
Padraic Fanning
d56a0194b7 Mark erroring/failing tests 2021-06-10 20:04:34 -04:00
Padraic Fanning
7d0f109b3d Add test_userstring from CPython 3.8 2021-06-10 20:04:33 -04:00
Dean Li
28589f67a1 test: add reason of failure for tests
Help developers to find failure by better documenting it.
2021-06-10 20:42:39 +08:00
Noah
3989ea3b23 Merge pull request #2701 from fanninpm/test-userdict
Add test_userdict from CPython 3.8
2021-06-09 21:41:07 -05:00
Noah
23a91a1a20 Merge pull request #2696 from fanninpm/test-urllib2net
Add test_urllib2net from CPython 3.8
2021-06-09 21:40:33 -05:00
Padraic Fanning
9c5343b9ae Skip stack overflow on Windows 2021-06-09 19:31:15 -04:00
Padraic Fanning
ae00fef135 Add test_userdict from CPython 3.8 2021-06-09 17:47:35 -04:00
Padraic Fanning
8727919735 Skip flaky threading test 2021-06-09 17:46:15 -04:00
jfh
fef63c9a71 Fallback to __name__ if __qualname__ isn't available. 2021-06-09 19:46:56 +03:00
Noah
3e1f330787 Merge pull request #2697 from fanninpm/test-urllibnet
Add test_urllibnet from CPython 3.8
2021-06-09 09:32:27 -05:00