Commit Graph

10932 Commits

Author SHA1 Message Date
Jeong YunWon
8ab4e77035 Merge pull request #3717 from youknowone/exception-ref
ExceptionZoo holds static ref
2022-05-27 15:19:49 +09:00
Jeong YunWon
b4486e6fd6 Merge pull request #3678 from youknowone/block-expr
Add compile::Mode::BlockExpr
2022-05-27 10:44:29 +09:00
Jeong Yunwon
9b2a9d2377 TypeZoo uses &'static Py<PyType> 2022-05-27 10:35:01 +09:00
Jeong Yunwon
9db69d628f {Type,Exception}Zoo holds static ref 2022-05-27 10:23:33 +09:00
Jeong Yunwon
beff32a2a3 Add compile::Mode::BlockExpr 2022-05-27 10:14:13 +09:00
Jeong YunWon
0b01e04271 Merge pull request #3638 from youknowone/derive
rustpython-doc as external module
2022-05-27 08:57:31 +09:00
Jeong YunWon
c44843fa1e Merge pull request #3700 from youknowone/attr-intern
PyStrInterned for PyAttributes/Constants
2022-05-27 08:56:28 +09:00
Jeong YunWon
51175fecd8 Merge pull request #3745 from rng-dynamics/filterfalse-reduce
Add `filterfalse.__reduce__`
2022-05-26 15:15:53 +09:00
Noa
2efe9e2969 Merge pull request #3724 from youknowone/instr-size
ensure bytecode::Instruction never grows more than 8bytes
2022-05-25 22:47:37 -05:00
Jeong YunWon
3398d553e2 Merge pull request #3747 from fanninpm/test-reprlib-3.10
Update test_reprlib.py to CPython 3.10
2022-05-26 10:32:42 +09:00
Padraic Fanning
d83c01d3e6 Mark failing test 2022-05-25 20:53:09 -04:00
Padraic Fanning
5073bac833 Update test_reprlib.py to CPython 3.10 2022-05-25 20:52:31 -04:00
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
Jeong Yunwon
14e4aee7b7 Turn contants to PyStrInterned 2022-05-23 09:03:14 +09:00
Jeong Yunwon
0f2e879d69 panic for not process-unique hash seed 2022-05-23 09:03:14 +09:00
Jeong Yunwon
7105073c91 shared hash seed in process 2022-05-23 09:03:13 +09:00
Jeong Yunwon
42c7c79031 Rename Context::deault to genesis to clarify it has root 2022-05-23 09:03:13 +09:00
Jeong Yunwon
2a1c02b8e0 module init 2022-05-23 09:03:13 +09:00
Jeong Yunwon
fb52694e41 PyAttributes key is PyStrInterned 2022-05-23 09:03:13 +09:00
Jeong Yunwon
f8b1c65ede PyStrInterned 2022-05-23 09:03:09 +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
bbc31364bb PyInterned 2022-05-22 14:19:11 +09:00
Jeong Yunwon
370b2b3f99 static object 2022-05-22 14:18:34 +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