Commit Graph

10909 Commits

Author SHA1 Message Date
Alexander Scharinger
4f87f875fc Add filterfalse.__reduce__ 2022-05-26 00:07:17 +02:00
Jeong YunWon
6165aadcc4 Merge pull request #3695 from rebunto/optional-key-argument-for-_bisect-functions
Optional key argument for bisect functions
2022-05-23 21:56:39 +09:00
rebunto
cc83db307e implement key argument of bisect 2022-05-23 10:33:17 +09:00
rebunto
f40643a899 update bisect.py to CPython 3.10.4 2022-05-23 10:33:17 +09:00
rebunto
f15b70cda9 update test_bisect.py to support CPython 3.10.4 2022-05-23 10:33:17 +09:00
gnsxun
a019cbf02c Add count.reduce() (#3737) 2022-05-23 04:38:11 +09:00
Lithium
94240f1846 Fixed bytes_from_object (#3739) 2022-05-22 20:39:50 +09:00
Jeong YunWon
3dabaa858a Merge pull request #3740 from CHOUMnote/addDelItem
add __delitem__() funtion
2022-05-22 14:12:34 +09:00
Jeong YunWon
fd45e9e66b Merge pull request #3738 from gnsxun/notimpl_reduce
Add NotImplemented.__reduce__()
2022-05-22 14:01:52 +09:00
Jeong YunWon
bd4f7ab3f9 Merge pull request #3734 from gnsxun/map-mod
Add map.reduce()
2022-05-22 13:52:54 +09:00
CHOUMnote
46fa9f9e6a add __delitem__() funtion 2022-05-22 13:38:35 +09:00
gnsxun
e5816a40ad delete expectedFailture 2022-05-22 13:07:02 +09:00
Jeong YunWon
d9b3d808f5 Merge pull request #3741 from Lithium07z/array-type
Add `array.ArrayType`
2022-05-22 12:49:47 +09:00
gnsxun
d1f22fe4c3 delete expectedFailtures 2022-05-22 12:40:57 +09:00
Lithium07z
5263eca3a8 Add array.ArrayType 2022-05-22 12:08:51 +09:00
gnsxun
1433d87ad4 Add NotImplemted.reduce() 2022-05-22 11:07:41 +09:00
Lithium
53185cdfb8 Fixed test_bytearray_translate Error (#3730) 2022-05-22 10:57:12 +09:00
Jeong YunWon
4a0be5a6d0 Merge pull request #3731 from CHOUMnote/addWeakProxyStr
Add weak proxy str
2022-05-21 22:21:33 +09:00
CHOUMnote
fabcfa60ab fix test_weakref 2022-05-21 20:17:13 +09:00
gnsxun
09a10aaf27 Add map.reduce() 2022-05-21 20:09:52 +09:00
CHOUMnote
1d49cfdb70 fix error in test_weakref() 2022-05-21 19:31:37 +09:00
CHOUMnote
3ccccfcabe add __str__ in PyWeakProxy
file : test_deque.py
  method : test_weakref()

  error occurred because the return value of str() was different
  so add __str__() in weakproxy
Signed-off-by: CHOUMnote <rlawlgh1028@naver.com>
2022-05-21 19:30:10 +09:00
Hyun Park
dfa4bdc695 add filter.__reduce__ (#3732) 2022-05-21 19:08:20 +09:00
Jeong YunWon
bce93410ac Merge pull request #3728 from rng-dynamics/object-sizeof
Add `object.__sizeof__`
2022-05-21 13:15:46 +09:00
Jeong YunWon
59c0aeb6d9 Merge pull request #3725 from youknowone/opt-nth
Optimize comprehension item add operations
2022-05-21 13:13:49 +09:00
Jeong YunWon
b289aa57b6 Merge pull request #3727 from fanninpm/beta-clippy
Switch clippy to beta
2022-05-20 15:50:02 +09:00
Alexander Scharinger
1c734b0626 object.__sizeof__() 2022-05-20 08:49:16 +02:00
Padraic Fanning
ff684660b5 Switch clippy to beta
Once 1.62 is relased, we can switch back to stable.
2022-05-19 21:37:51 -04:00
Jeong Yunwon
d58ddd21ce Remove Instruction::MapAddRev 2022-05-20 08:23:24 +09:00
Jeong Yunwon
8685c4f6dc no rc operation for nth_value 2022-05-20 08:23:24 +09:00
Jeong Yunwon
503a1474f5 Fix comprehension instruction evaluation order 2022-05-20 08:23:24 +09:00
Jeong YunWon
8548bbd1dd Merge pull request #3723 from deantvv/io-buffered-args
io: enhance error message in Buffered* class
2022-05-20 06:35:43 +09:00
Dean Li
121b35d27c io: enhance error message in Buffered* class 2022-05-19 23:15:42 +08:00
Jeong YunWon
01a21271ca Merge pull request #3722 from RustPython/revert-3716-to-pyexc
Revert "PyResult<T, E> instead of PyResult<T>"
2022-05-19 22:03:53 +09:00
Noa
9903bbceb5 Change PyResult<T, E> back to PyResult<T> 2022-05-19 00:58:56 -05:00
Noa
f04bc70e72 Remove unused msvcrt::get_errno 2022-05-19 00:51:11 -05:00
Jeong YunWon
d6a3358615 Merge pull request #3720 from youknowone/parking-lot
Use single version of parking_lot
2022-05-19 10:21:25 +09:00
Jeong Yunwon
753041b149 Use single version of parking_lot 2022-05-19 08:19:59 +09:00
Jeong YunWon
1cb692547e Merge pull request #3696 from youknowone/dict
Remove DictInner::next_new_entry_idx and IndexEntry as a shallow wrapper of i64
2022-05-18 11:13:08 +09:00
Jeong YunWon
25a6629742 Add unsafe comments 2022-05-18 10:38:47 +09:00
Jeong Yunwon
52cce3f048 get_unchecked when compiler cannot guess boundary-safety 2022-05-18 10:38:47 +09:00
Jeong Yunwon
855ab4b4e9 DictInner::indices: Vec<i64> => Vec<IndexEntry> 2022-05-18 10:38:47 +09:00
Jeong Yunwon
0652485436 Remove DictInner::next_new_entry_idx 2022-05-18 10:38:47 +09:00
Jeong Yunwon
15a8f6fd1a remove last in loop in DictInner::pop_back 2022-05-18 10:38:47 +09:00
Jeong Yunwon
a927814d6b assertion for Option<DictEntry> size 2022-05-18 10:38:47 +09:00
Jeong YunWon
aa100841a7 Merge pull request #3711 from youknowone/pyexact
PyExact as counterpart of PyRefExact
2022-05-18 10:22:10 +09:00
Jeong YunWon
c6a66be55d Merge pull request #3716 from youknowone/to-pyexc
PyResult<T, E> instead of PyResult<T>
2022-05-18 06:55:31 +09:00
Jeong Yunwon
f15c51bb8d clean up socket based on ToPyException 2022-05-18 06:03:03 +09:00
Jeong Yunwon
c2dd4877b0 PyResult<T, E> 2022-05-18 04:54:12 +09:00
dennis zhuang
6343332e27 Fixed int.real, int.numerator etc. returns wrong value when it's int type. (#3715) 2022-05-17 21:20:37 +09:00