Jeong Yunwon
|
055c5cfb97
|
pyimpl -> pyclass
|
2022-08-05 01:18:10 +09:00 |
|
Jeong Yunwon
|
84f5aa93b0
|
Refactor repetive optional range pattern to OptionalRangeArgs
|
2022-07-22 03:11:38 +09:00 |
|
Daeun Lee
|
e6452d86d0
|
update array.index for optional range
|
2022-07-21 21:12:21 +09:00 |
|
siontama
|
2bf61aa60a
|
Refactor: delete unnecessary clones
|
2022-07-16 17:40:40 +09:00 |
|
siontama
|
cdd937cebb
|
Refactor: convert indent from tab to space
|
2022-07-16 17:20:13 +09:00 |
|
siontama
|
2417d3e813
|
Feat: impl PyArrayIter.setstate
|
2022-07-16 17:19:14 +09:00 |
|
Sion Kang
|
50aebefa4c
|
Update stdlib/src/array.rs
Co-authored-by: Snowapril <sinjihng@gmail.com>
|
2022-07-16 16:53:52 +09:00 |
|
siontama
|
1a526aff47
|
Fix: Modify iter next to be implemented only internal
|
2022-07-16 16:42:00 +09:00 |
|
hyezzang
|
821f3e7aab
|
fix position value to struct value
|
2022-07-13 18:04:17 +09:00 |
|
hyezzang
|
0f24b18312
|
Add arrayiter __reduce__
Co-authored-by: Yaminyam <siontama@gmail.com>
|
2022-07-13 18:04:06 +09:00 |
|
siontama
|
b190a0cbf3
|
refactor: change PyArrayIter name
* Change `PyArrayIter` struct to `PyArrayIterator`
|
2022-07-13 14:07:56 +09:00 |
|
Noa
|
4771ab6383
|
Switch then(|| foo) to then_some(foo)
|
2022-07-07 11:19:55 -04:00 |
|
Jeong Yunwon
|
38b1f5932c
|
SequenceIndexOp
|
2022-06-25 01:18:35 +09:00 |
|
gogim1
|
19f3121f88
|
rename for name consistency
|
2022-06-19 18:06:18 +08:00 |
|
gogim1
|
9c8ace592d
|
rename for name consistency
|
2022-06-19 17:11:20 +08:00 |
|
Jeong YunWon
|
f624e8e78b
|
Merge pull request #3785 from youknowone/exact-size-operator
PyExactSizeIterator
|
2022-06-13 23:44:49 +09:00 |
|
Jeong Yunwon
|
4f272eea85
|
PyExactSizeIterator
|
2022-06-13 22:19:24 +09:00 |
|
JaeHyung Jang
|
9757c8244f
|
Setitem error have type name (#3770)
|
2022-06-11 16:48:07 +09:00 |
|
Jeong Yunwon
|
d05645ea58
|
update syn-ext
|
2022-05-28 01:41:55 +09:00 |
|
Jeong Yunwon
|
9b2a9d2377
|
TypeZoo uses &'static Py<PyType>
|
2022-05-27 10:35:01 +09:00 |
|
Jeong Yunwon
|
bbc31364bb
|
PyInterned
|
2022-05-22 14:19:11 +09:00 |
|
Lithium07z
|
5263eca3a8
|
Add array.ArrayType
|
2022-05-22 12:08:51 +09:00 |
|
Jeong Yunwon
|
6e571946a0
|
introduce PyStrInterned
|
2022-05-17 06:16:35 +09:00 |
|
rebunto
|
392a9476a7
|
Changed pyclass name of PyArray and PyArrayIter #3612
|
2022-05-04 14:08:34 +09:00 |
|
Jeong Yunwon
|
84e2b52240
|
Deref for ArgIntoFloat
|
2022-04-29 10:47:59 +09:00 |
|
Jeong Yunwon
|
bb19b7c43a
|
Move string intern to PyContext
|
2022-04-23 06:06:53 +09:00 |
|
Jeong Yunwon
|
5a606647c0
|
PyObjectView -> Py
|
2022-04-23 05:21:57 +09:00 |
|
Jeong Yunwon
|
66b6a06997
|
PyValue -> PyPayload
|
2022-04-23 05:20:31 +09:00 |
|
Jeong Yunwon
|
c4b80b3a24
|
IntoObject::into_object() and PyValue::into_pyobject(vm)
|
2022-04-19 00:38:18 +09:00 |
|
Jeong Yunwon
|
fee3bf2722
|
AsPyObject -> AsObject because fn as_object
|
2022-04-18 07:19:35 +09:00 |
|
Jeong Yunwon
|
e356d51af1
|
move ToPy* to convert
|
2022-04-18 07:17:24 +09:00 |
|
Jeong Yunwon
|
f6d70c8176
|
Into{PyObject,PyException,Pyresult} -> To{..}
The naming convention was wrong
|
2022-04-18 06:04:47 +09:00 |
|
Jeong Yunwon
|
75e589cbc1
|
isinstance -> fast_isinstance
|
2022-04-17 20:32:34 +09:00 |
|
Jeong Yunwon
|
29ba8956a9
|
Remove TypeProtocol::clone_class()
|
2022-04-17 20:10:24 +09:00 |
|
Jeong Yunwon
|
aa76a34963
|
merge TypeProtocol in AsPyObject
|
2022-04-17 19:26:10 +09:00 |
|
Jeong Yunwon
|
625f8675ae
|
Introduce AsPyObject to replace IdProtocol
|
2022-04-17 10:32:01 +09:00 |
|
Jeong Yunwon
|
86a8831124
|
vm::funciton::arithmetic
|
2022-04-16 00:49:05 +09:00 |
|
Jeong Yunwon
|
6357a1acbe
|
clean up imports and useless allow attributes
|
2022-04-15 23:58:20 +09:00 |
|
Kangzhi Shi
|
7b8c4091b5
|
fix hang on __index__
|
2022-03-12 16:12:34 +09:00 |
|
Kangzhi Shi
|
6b17fa1d3d
|
fix rebase
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
e3247dae7a
|
refactor use SliceableSequence for array
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
01a8e01ec8
|
refactor BufferResizeGuard
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
4be3c4f598
|
refactor PySliceableSequence -> SlicableSequenceOp
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
b4907f0703
|
refactor sliceable incomplete sequence protocol for list
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
6a996b04c8
|
move obj downcast to AsMapping
|
2021-12-01 20:16:18 +02:00 |
|
Kangzhi Shi
|
ca4e8f50e8
|
refactor ItemProtocol -> Object Protocol
|
2021-11-27 13:00:37 +02:00 |
|
Steve Shi
|
908b239572
|
Refactor and new sequence traits, generic sequence operation (#3445)
* refactor sequence generic mutable sequence item equal op
* sequence generic for pydeque
* replace usize::MAX with Optioned
* sequence op for array
* fix overflow error instead memory error for index overflow
* fixup
* optimize reserve vec for imul
|
2021-11-22 09:21:23 +02:00 |
|
Steve Shi
|
742ea0c4fa
|
Reimpl Buffer Protocol and memoryview support ndarray with shape, stride and suboffset (#3340)
* Fix buffer protocol and memoryview
* Fix io and array the right way to use buffer protocol
* fix rebase
* fix memoryview and introduce VecBuffer
* fix deadlock
* fix memoryview avoid double release buffer
* impl ndim buffer support
* first implement nd array for buffer and memoryview
* fix slice adjust_indices
* fix adjust_indices introduct SaturatedSliceIterator
* fix memoryview cmp
* fix adjust_indices positive_order
* fix bug mark passed test
* fix clippy
* fix set_item_slice deadlock, optimize buffer
* Delete @test_113974_tmp
* Remove vec_buffer_type
* rusty names
* impl memoryview multi index
* add comments
Co-authored-by: Jeong YunWon <jeong@youknowone.org>
|
2021-11-13 07:17:11 +02:00 |
|
Noa
|
358ce09b5c
|
Run cargo upgrade
|
2021-10-30 19:42:35 -05:00 |
|
Noa
|
09e9ea91e7
|
TryFrom, TryInto, FromIterator are in prelude now
|
2021-10-21 17:04:19 -05:00 |
|