Lee Dogeon
abdfe3222b
Fix __repr__, __qualname__ ( #2977 )
2021-08-27 17:07:10 +03:00
snowapril
e208138d62
skip test_infinite_recursion_in_bases test in win32
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-08-27 21:04:33 +09:00
snowapril
535f0734a0
remove expected_failure annotation
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-08-27 19:28:01 +09:00
Jeong YunWon
3a861e47c6
Merge pull request #2976 from DimitrisJim/bump_recursion_limit
...
Bump recursion limit to match CPython's
2021-08-27 16:44:58 +09:00
jfh
01e5b12290
Bump recursion limit to match CPython's
2021-08-27 09:29:52 +03:00
Jeong YunWon
f1c3935f27
Merge pull request #2961 from qingshi163/main
...
fix pattern for construct the bytes and bytearray
2021-08-27 10:02:02 +09:00
Jeong YunWon
fbea3f072e
Merge pull request #2952 from Snowapril/fix-isinstance
...
Fix `isinstance` to support Generic type object
2021-08-27 02:16:53 +09:00
Jim Fasarakis-Hilliard
48f0eb2810
Merge pull request #2972 from DimitrisJim/deque_pickle_tests
...
Implement __reduce__ for deque.
2021-08-26 20:03:41 +03:00
Jeong YunWon
23b77b94d5
Merge pull request #2971 from DimitrisJim/rlcompleter
...
Add rlcompleter.py
2021-08-27 01:55:42 +09:00
Jeong YunWon
84dd5b02ce
Merge pull request #2963 from moreal/bugfix/correct-init-method-error-message
...
Fix missing positional argument message
2021-08-27 01:54:25 +09:00
jfh
5e758f07b5
Add deque.__reduce__.
2021-08-26 19:15:32 +03:00
jfh
11349db67b
Update test_deque to CPython 3.8
2021-08-26 19:06:41 +03:00
jfh
4911f17ed2
Mark failing test.
2021-08-26 17:52:29 +03:00
jfh
27c0ff849b
Add test_rlcompleter.py from CPython 3.8.
2021-08-26 17:51:55 +03:00
jfh
5cefa72dd4
Add rlcompleter.py from CPython 3.8.
2021-08-26 17:51:16 +03:00
Alexander Stromberger
4e733c450b
added __add__ method to collections.deque
2021-08-26 22:50:22 +09:00
Jim Fasarakis-Hilliard
c57285bd83
Merge pull request #2969 from eldpswp99/add-mutation-check-logic-in-dict-update
...
Add mutation check in dict.merge.
2021-08-26 16:15:28 +03:00
eldpswp99
9addff5ba9
add mutation check in dict.merge
2021-08-26 21:02:45 +09:00
Jeong YunWon
2657b8f936
Merge pull request #2968 from eldpswp99/make-dict-copy-order-when-copied-from-ordered-dict
...
make dict copy order when copied from ordered dict
2021-08-26 20:58:44 +09:00
eldpswp99
e7948e94a9
make dict copy order when copied from ordered dict
2021-08-26 19:55:23 +09:00
snowapril
d0afc4c3bc
set range iter type not creatable by calling type
...
This commit fix `RangeTest.test_range_iterators_invocation` in
[`test_range.py`](https://github.com/RustPython/RustPython/blob/main/Lib/test/test_range.py#L507 ).
This is last `TODO` in `test_range.py`.
By add slot tp_new to both types and return new_type_error, prevent
creation of range_iterator and longrange_iterator by calling its type.
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-08-26 16:15:28 +09:00
Moreal
9ddc6ba0d6
Unmark fixed test
2021-08-26 00:30:08 +09:00
Kangzhi Shi
343d158c34
fix pattern for construct the bytes and bytearray
2021-08-25 09:44:48 +02:00
snowapril
2122d91314
add expected failure annotations to fail tests
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-08-25 15:15:53 +09:00
snowapril
340b3031a6
add isinstance.py test from cpython 3.8.11
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-08-25 15:15:53 +09:00
Jim Fasarakis-Hilliard
45a64e10fe
Merge pull request #2954 from eldpswp99/add-deque.__copy__
...
add deque.__copy__
2021-08-24 16:18:29 +03:00
eldpswp99
4e62e82d4f
add deque.__copy__
2021-08-24 21:17:45 +09:00
eldpswp99
988c686e7d
resolve deque.rotate panic
2021-08-24 20:04:46 +09:00
Jeong YunWon
a4c65049bf
Fix int/float enum pickle ( #2945 )
...
Add {int,float}.__getnewargs__
2021-08-24 06:33:55 +03:00
Jeong YunWon
43d4b10416
Merge pull request #2942 from qingshi163/bytes-fromhex-subclass
...
fix bytes and bytearray fromhex to support subclass
2021-08-24 00:50:41 +09:00
Jeong YunWon
1b20dd5d1a
Merge pull request #2932 from moreal/bugfix/dict-contains-check-from-its-attributes
...
Find key from only its attributes
2021-08-24 00:48:21 +09:00
Myunghoon Park
ca1e349a18
support deuqe.index using start, end index ( #2944 )
...
Support deque.index using start, end index
2021-08-23 17:44:14 +03:00
Kangzhi Shi
1384133636
fix bytes and bytearray fromhex support subclass
2021-08-23 16:43:01 +02:00
Moreal
0548fa1444
Unmark unittest.expectedFailure from fixed tests
2021-08-23 22:01:35 +09:00
Kangzhi Shi
67b81c8db5
fix object.__format__ error string
2021-08-23 08:18:45 +02:00
Moreal
4a00c902d8
Mark unittest.expectedFailure for test containing appeared bug
...
At 'enum.py' 223 line, there is the code to check `member_type` contains
some methods. But it was fixed to find attribute from base types, in
https://github.com/RustPython/RustPython/pull/2932 . So it seems
appeared.
```
if not any(m in member_type.__dict__ for m in methods):
```
2021-08-23 08:54:12 +09:00
Moreal
a5e7d25dee
Bump 'enum' module from CPython 3.8.7
2021-08-23 08:54:12 +09:00
whgusdn321
04d77c23be
Fix extendleft method of deque ( #2893 )
...
Fix extendleft function of deque.
2021-08-22 17:55:25 +03:00
Myunghoon Park
bfd9e39810
resolve deque deadlock using state ( #2934 )
...
Resolve deque deadlock using state
2021-08-22 14:31:03 +03:00
Noa
c763b783b5
Update types.py to CPython 3.8
2021-08-22 00:07:02 -05:00
Noa
5cfdb3361e
Add test.test_genericclass from CPython 3.8
2021-08-21 16:33:31 -05:00
Noa
4f0feef92f
Merge pull request #2633 from fanninpm/update-typing
...
Update typing to CPython 3.8
2021-08-21 15:00:44 -05:00
sobolevn
5f0cddee81
Fixes typos in vm/
2021-08-21 17:09:48 +03:00
Jeong YunWon
7868070295
Merge pull request #2896 from whjpji/support_unicode_array
...
Support unicode array type.
2021-08-21 22:26:18 +09:00
Jeong YunWon
629fadf920
Fix pip with new typing
2021-08-21 22:14:14 +09:00
Frank King
e652ae8fc0
Support unicode array type.
2021-08-21 20:18:05 +08:00
Myunghoon Park
48437d0b93
adjust dict reverse iterator next to new dict entries structure
2021-08-21 21:15:37 +09:00
voidSatisfaction
e3f48bea95
Add math.dist function and enabled its tests ( #2920 )
...
Add math.dist function and enable its tests
2021-08-21 12:28:49 +03:00
Jeong YunWon
1e7af98765
Merge pull request #2911 from Snowapril/fix-reversed-iter
...
Implement methods for `PyReverseSequenceIterator`
2021-08-19 20:54:44 +09:00
jfh
52149d0e70
Add remaining methods to sequence iterator.
2021-08-19 13:46:14 +03:00