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
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
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
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
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
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
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
Noah
1f0e7beefe
Use a Utf8size struct to represent the {bytes,chars} pairs in textio
2021-06-08 22:48:11 -05:00
Noah
8d432dda36
Merge pull request #2689 from DimitrisJim/notimplemented_length_hint
...
Handle NotImplemented return from length_hint.
2021-06-08 18:58:09 -05:00
Padraic Fanning
f14fba9199
Add test_urllibnet from CPython 3.8
2021-06-08 19:45:49 -04:00
Padraic Fanning
d87dfe3716
Add test_urllib2net from CPython 3.8
2021-06-08 19:36:37 -04:00
jfh
9f57c58dad
Handle NotImplemented in length_hint.
2021-06-09 02:08:56 +03:00
Noah
3fee9764c7
Merge pull request #2695 from fanninpm/test-urllib2-localnet
...
Add test_urllib2_localnet from CPython 3.8
2021-06-08 17:51:12 -05:00
Padraic Fanning
8dcf1582ae
Mark erroring tests
2021-06-08 18:05:52 -04:00
Padraic Fanning
5c09c77c86
Add Lib/test/ssl_servers.py
2021-06-08 18:04:31 -04:00
Padraic Fanning
e7e0ad9ef2
Add test_urllib2_localnet from CPython 3.8
2021-06-08 17:42:22 -04:00
Noah
914091855f
Merge pull request #2694 from deantvv/os-openpty-fix-test
...
os: Fix openpty test
2021-06-08 09:05:00 -05:00
Dean Li
ff87ad052d
os: Fix openpty test
...
Make openpty return non-inheritable file descriptors
2021-06-08 19:09:18 +08:00
Noah
6471ad8336
Merge pull request #2686 from fanninpm/test-urllib2
...
Add test_urllib2 from CPython 3.8
2021-06-07 22:55:34 -05:00
Noah
a2cf1d5c1f
Merge pull request #2685 from fanninpm/test-urllib-response
...
Add test_urllib_response from CPython 3.8
2021-06-07 22:54:31 -05:00
Noah
7548d4660d
Merge pull request #2692 from verhovsky/shelve
...
Add shelve.py from CPython 3.8
2021-06-07 22:54:13 -05:00
boris
56ab93a535
Add shelve from CPython 3.8
2021-06-07 21:12:22 -04:00
Noah
961e4ffee4
Merge pull request #2691 from verhovsky/copy-dbm-python-only
...
Add dbm from CPython 3.8
2021-06-07 19:43:27 -05:00
Noah
4e0fb23a83
Merge pull request #2690 from DimitrisJim/clean_up_unary
...
Refactor unary ops.
2021-06-07 19:39:33 -05:00
boris
13858f4450
Add dbm Python implementation from CPython 3.8
2021-06-06 13:31:56 -04:00
jfh
74aae0ee8c
Refactor unary ops, consolidate into vm.rs similarly to binops.
2021-06-06 17:13:47 +03:00
Noah
80496dd6db
Merge pull request #2684 from DimitrisJim/bltin-get-self
...
Add `builtin.__self__`.
2021-06-04 20:43:08 -05:00
Noah
64d67e7ade
Merge pull request #2679 from DimitrisJim/bisect_accelerator
...
Add Rust accelerator module for bisect.
2021-06-04 20:39:03 -05:00
Noah
71d72f3753
Merge pull request #2688 from DimitrisJim/fix-named-function
...
Fix arguments passed to make_funcdef.
2021-06-04 12:01:18 -05:00
jfh
064b4244a4
Fix arguments passed to make_funcdef.
2021-06-04 13:39:39 +03:00
Padraic Fanning
9e379560cf
Mark erroring/failing tests
2021-06-03 20:28:08 -04:00
Padraic Fanning
c853efcd09
Add test_urllib2 from CPython 3.8
2021-06-03 20:19:39 -04:00
Padraic Fanning
c77306d67b
Add test_urllib_response from CPython 3.8
2021-06-03 20:01:41 -04:00
jfh
2ef4d54173
Add builtin.__self__.
2021-06-03 23:18:58 +03:00