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
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
c44843fa1e
Merge pull request #3700 from youknowone/attr-intern
...
PyStrInterned for PyAttributes/Constants
2022-05-27 08:56:28 +09:00
Alexander Scharinger
4f87f875fc
Add filterfalse.__reduce__
2022-05-26 00:07:17 +02: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
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
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
Alexander Scharinger
1c734b0626
object.__sizeof__()
2022-05-20 08:49:16 +02: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
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
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
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
Jeong YunWon
b4b1e26e5b
Merge pull request #3714 from youknowone/cut_attr
...
cut get_attr not to inline its bloated body but allow optionally
2022-05-17 11:04:42 +09:00
Jeong Yunwon
9763d8bdf7
cut get_attr not to inline its bloated body but allow optionally
2022-05-17 09:18:18 +09:00
Jeong Yunwon
cce206c41f
adapt PyExact
2022-05-17 08:28:00 +09:00