Ashwin Naren
|
b870b0e1b5
|
2024 edition formatting
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
|
2025-02-26 11:48:22 -08:00 |
|
Ankit Goel
|
6fb19ac74f
|
Handle MemoryError for sequences
|
2024-09-29 16:24:30 +01:00 |
|
Noa
|
3fd0382a51
|
Use RPITIT where applicable
|
2024-05-21 14:47:10 +09:00 |
|
Noa
|
58ac82b0a7
|
Switch hacky GAT-workarounds to use actual GATs
|
2023-03-01 20:48:12 -06:00 |
|
Hyunmin Shin
|
e5142e36fd
|
Update _mut_iter_equal_skeleton method
|
2022-08-01 07:19:54 +09:00 |
|
Jeong YunWon
|
90affcd6de
|
Remove len parameter from saturate
Co-authored-by: 이정민(Jeong-Min Lee) <falsetru@gmail.com>
|
2022-07-23 04:52:18 +09:00 |
|
Jeong Yunwon
|
84f5aa93b0
|
Refactor repetive optional range pattern to OptionalRangeArgs
|
2022-07-22 03:11:38 +09:00 |
|
Jeong Yunwon
|
4f272eea85
|
PyExactSizeIterator
|
2022-06-13 22:19:24 +09:00 |
|
Jeong Yunwon
|
dd3d3ef55b
|
Replace as_slice of trait impl with AsRef<[T]>
|
2022-04-24 12:26:48 +09:00 |
|
Jeong Yunwon
|
0535077631
|
either is a function utility
|
2022-04-23 20:49:31 +09:00 |
|
Jeong Yunwon
|
fee3bf2722
|
AsPyObject -> AsObject because fn as_object
|
2022-04-18 07:19:35 +09:00 |
|
Jeong Yunwon
|
75e589cbc1
|
isinstance -> fast_isinstance
|
2022-04-17 20:32:34 +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 |
|
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 |
|
Jeong YunWon
|
7cae6d24fe
|
Refactor PyType creation
|
2021-10-14 13:37:45 +09:00 |
|
jfh
|
97b8d7ca7b
|
Add checking for repeat on sequences.
|
2021-08-29 17:43:47 +03:00 |
|
Noah
|
99104faaf7
|
Re-export pyobject::* from the root of the crate
|
2021-05-20 10:24:07 -05:00 |
|
Jeong YunWon
|
958fe7b194
|
remove cmp clone
|
2020-09-26 02:51:50 +09:00 |
|
Noah
|
2f03db9872
|
Fix some silly errors
|
2020-09-21 10:55:15 -05:00 |
|
Noah
|
fc456ac526
|
Finish rest of Comparable impls
|
2020-09-21 10:55:15 -05:00 |
|
Jeong YunWon
|
7f7e0ac770
|
unify sequence::cmp
|
2020-07-22 03:36:09 +09:00 |
|
Jeong YunWon
|
b677b88bdd
|
sequence::cmp take DynPyIter instead of SimpleSeq
to avoid duplicated code generation for Box operation
|
2020-07-21 21:48:46 +09:00 |
|
Jeong YunWon
|
826dc900f8
|
SeqMul check non-zero length only once
|
2020-07-20 05:57:09 +09:00 |
|
Jeong YunWon
|
f40b19927f
|
Simplify SimpleSeq
|
2020-07-20 05:57:06 +09:00 |
|
Jeong YunWon
|
e674b9f99e
|
Use .to_usize().unwrap_or(0) rather than .max(0)
|
2020-07-20 05:49:59 +09:00 |
|
Noah
|
ebab829f60
|
Switch to using parking_lot::Mutex instead of std::sync::Mutex
|
2020-07-04 22:58:18 -05:00 |
|
Aviv Palivoda
|
970d17f098
|
Make PyList ThreadSafe
|
2020-04-15 13:28:43 +03:00 |
|
Jeong YunWon
|
5e2035f979
|
remove unnessessary pub
|
2020-01-08 11:04:17 +09:00 |
|
Jeong YunWon
|
5a3937fd15
|
Refactor deque and fix comparison bug
|
2020-01-08 02:20:41 +09:00 |
|
Jeong YunWon
|
226ebfa0c6
|
vm::sequence for SimpleSeq utilities
|
2020-01-07 22:24:05 +09:00 |
|
Jeong YunWon
|
12725a308e
|
PyList::borrow_sequence to borrow SimpleSeq
|
2020-01-07 22:00:21 +09:00 |
|
Jeong YunWon
|
0aca07a8cb
|
rustpython_vm::sequence & PySequenceContainer
|
2020-01-06 02:34:56 +09:00 |
|