coolreader18
|
b30d56df29
|
Fix some more clippy warnings
|
2019-03-19 20:02:06 -05:00 |
|
Adam Kelly
|
336aa53b13
|
Allow IdProtocol to compare PyRef and non-PyRef.
|
2019-03-12 18:44:35 +00:00 |
|
Joey Hain
|
053ceb1a30
|
Move payload boxing into PyObject::new
|
2019-03-10 20:19:28 -07:00 |
|
Joey Hain
|
e2e13af7ea
|
Remove PyObjectPayload
|
2019-03-10 13:45:38 -07:00 |
|
Joey Hain
|
e1d728e81f
|
slice
|
2019-03-09 15:10:44 -08:00 |
|
Adrian Wielgosik
|
10531191bb
|
Convert most tuple/list methods to new args style
|
2019-03-08 20:43:20 +01:00 |
|
Joey
|
1bcbb28715
|
Convert list and tuple to Any payload
|
2019-03-07 21:10:43 -08:00 |
|
Joey
|
ecc92ffe33
|
Convert int to Any payload
|
2019-03-06 19:25:54 -08:00 |
|
Adrian Wielgosik
|
45da6b8af1
|
Add list.sort, sorted()
|
2019-02-26 22:03:45 +01:00 |
|
Joey Hain
|
f10fa6db44
|
Remove outer RefCell from PyObjectRef
|
2019-02-25 21:01:37 -08:00 |
|
Joey
|
df76ffe116
|
Replace most relative imports with 2018-style crate
|
2019-02-20 08:50:53 -08:00 |
|
Calixte Denizet
|
5a154f9745
|
Fix list & tuple equality
|
2019-02-16 14:23:20 +01:00 |
|
janczer
|
4959defff8
|
Call wrap functions insted of magic
|
2019-02-13 06:34:44 +01:00 |
|
ZapAnton
|
ef65612008
|
Fixed the clone_double_ref clippy warning
|
2019-02-12 16:59:15 +03:00 |
|
ZapAnton
|
206ccc55fb
|
Fixed the len_without_is_empty clippy warning
|
2019-02-12 16:49:34 +03:00 |
|
ZapAnton
|
e51c75e1df
|
Fixed or_fun_call clippy warnings
|
2019-02-11 15:29:19 +03:00 |
|
ben
|
7abf02180a
|
implement slice negative step handling
|
2019-02-09 15:48:07 +13:00 |
|
ben
|
907dfb6770
|
Add slice type and use BigInts in slice payload.
|
2019-02-09 12:07:04 +13:00 |
|
ZapAnton
|
3464828499
|
Fixed various small clippy warnings
|
2019-02-06 13:24:24 +03:00 |
|
Windel Bouwman
|
3fb0f32a87
|
Merge pull request #335 from ZapAnton/fix_ptr_arg
Fixed the 'ptr_arg' clippy warnings
|
2019-02-05 22:36:29 +01:00 |
|
ZapAnton
|
d445e3082a
|
Fixed the 'unneeded_field_pattern' clippy warnings
This replaces all the occurrences of the Struct {field: _} with
the Struct { .. }.
Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern
|
2019-02-05 21:37:41 +03:00 |
|
ZapAnton
|
1a6840280b
|
Fixed the 'ptr_arg' clippy warnings
This replaces all the occurrences of &<dynamic collection><T>
with the &[T].
Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
|
2019-02-05 21:22:16 +03:00 |
|
Vladimir Karamyshev
|
ebbd3d9f22
|
Add error handling for objsequence and objstr index overflow
|
2019-02-05 10:17:43 +03:00 |
|
holygits
|
33a3ec8832
|
Handle unicode string slicing with graphemes
|
2019-02-04 15:40:30 +13:00 |
|
HomerMcMillan
|
168e0e5471
|
Merge branch 'master' into list-orderable-ops
|
2019-02-03 11:17:09 -05:00 |
|
Homer McMillan
|
ea1a7bb395
|
Add list.{__lt__, __gt__, __le__, __ge__}
|
2019-02-02 22:04:26 -05:00 |
|
ben
|
8f9b733a77
|
Add tuple.__mul__
|
2019-02-03 13:59:43 +13:00 |
|
Windel Bouwman
|
892493e464
|
Rename PyObjectKind into PyObjectPayload
|
2019-01-30 18:06:27 +01:00 |
|
Windel Bouwman
|
d72abebdd0
|
Unify object kinds tuple and list into sequence.
|
2018-11-03 12:26:31 +01:00 |
|
Windel Bouwman
|
89cfdbe3dd
|
Use __setitem__ to store elements in list. Also refactor get_elements to return a reference to the elements, not a copy.
|
2018-10-31 23:18:26 +01:00 |
|
Windel Bouwman
|
f6cced5d65
|
Change integer type into bigint
|
2018-10-30 21:01:31 +01:00 |
|
Windel Bouwman
|
133d72fcb1
|
Add tokenize module. Change call_method to take a reference to a PyObjectRef. Add new method to list class.
|
2018-10-14 15:21:48 +02:00 |
|
Windel Bouwman
|
2d7b0e0d4b
|
Moved objbool into obj folder
|
2018-09-29 09:38:07 +02:00 |
|
Daniel Watkins
|
23910f78e7
|
Accept slices to function calls
Instead of allocated types, per [0].
[0] https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#ptr_arg
|
2018-09-11 15:05:33 -04:00 |
|
Adam Kelly
|
8d8816ce04
|
Merge branch 'master' into equality
|
2018-09-01 20:46:22 +01:00 |
|
Windel Bouwman
|
40cf7f4579
|
Move more objects to obj folder
|
2018-09-01 10:00:55 +02:00 |
|