Joey
|
737ec12fa5
|
Rename PyValue::{required_type => class}
|
2019-03-14 20:08:41 -07:00 |
|
coolreader18
|
2af998ea86
|
Prevent recursion for Debug impls
|
2019-03-14 17:54:38 -05:00 |
|
Adrian Wielgosik
|
e3a5ac1378
|
Make objint::get_value return a reference
|
2019-03-11 23:07:56 +01:00 |
|
Joey Hain
|
053ceb1a30
|
Move payload boxing into PyObject::new
|
2019-03-10 20:19:28 -07:00 |
|
Joey Hain
|
5971fc3bd4
|
rename PyObjectPayload2 to PyValue
|
2019-03-10 13:48:51 -07:00 |
|
Joey Hain
|
e2e13af7ea
|
Remove PyObjectPayload
|
2019-03-10 13:45:38 -07:00 |
|
Joey Hain
|
45bc8c8f7a
|
Move PyRef to pyobject module
|
2019-03-10 13:01:46 -07:00 |
|
Joey
|
157d18d7a1
|
Convert iterator
|
2019-03-09 14:45:55 -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 Hain
|
e959908a49
|
Fix iterator
|
2019-02-25 21:26:15 -08: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 |
|
Adrian Wielgosik
|
21299ecf3d
|
Refactor arg_check macro
|
2019-02-13 21:05:23 +01:00 |
|
Adam Kelly
|
67710d6e28
|
Don't call __eq__ directly.
Doing so creates a very confusing error when NotImplemented in returned.
|
2019-02-11 21:11:33 +00:00 |
|
Joey Hain
|
dab4f7385f
|
Use NotImplemented in binary operations
|
2019-02-10 09:19:06 -08:00 |
|
ben
|
5b637385ea
|
Fixed #191, fixes recursive repr() for the standard collections
|
2019-02-10 13:22:03 +13:00 |
|
veera venky
|
b85cf91a23
|
Added __doc__ atrribute for tuple
|
2019-02-07 23:47:47 +05:30 |
|
Windel Bouwman
|
3d2d04596c
|
Merge pull request #343 from ZapAnton/fix_various_clippy
Fixed various small clippy warnings
|
2019-02-07 17:35:29 +01:00 |
|
veera venky
|
1479d6bc77
|
Added index to tuple
|
2019-02-07 14:56:14 +05:30 |
|
Adam Kelly
|
fd344ec1e0
|
Remove unnecessary to_bigint().unwrap() everywhere.
|
2019-02-06 17:38:01 +00:00 |
|
ZapAnton
|
3464828499
|
Fixed various small clippy warnings
|
2019-02-06 13:24:24 +03:00 |
|
Windel Bouwman
|
040a377d06
|
Merge branch 'master' into fix_redundant_field_names
|
2019-02-06 08:14:14 +01:00 |
|
ZapAnton
|
fb9fa27555
|
Fixed the 'redundant_field_names' clippy warnings
This replaces all the occurrences of the Struct {field : field}
with the Struct {field}.
Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
2019-02-05 21:56:16 +03:00 |
|
ZapAnton
|
0d3b218237
|
Fixed the 'toplevel_ref_arg' clippy warning
This replaces all the occurrences of the
'let ref var = another_var' with the
'let var = &another_var'
Relevant clippy warning: https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg
|
2019-02-05 21:45:56 +03:00 |
|
Homer McMillan
|
7446a52c18
|
Fix error messages in tuple/list comparisons
|
2019-02-05 00:27:36 -05:00 |
|
Homer McMillan
|
696bf8e9a9
|
rustfmt
|
2019-02-04 23:27:45 -05:00 |
|
Homer McMillan
|
608a13eabb
|
Add comparison operations for tuple
|
2019-02-04 23:26:16 -05:00 |
|
Windel Bouwman
|
caac5a34d5
|
Merge branch 'master' into tuple_add
|
2019-02-04 08:05:07 +01:00 |
|
ben
|
8f9b733a77
|
Add tuple.__mul__
|
2019-02-03 13:59:43 +13:00 |
|
ben
|
b13b4741ad
|
Add tuple.__add__. Also stop rustfmt from trying to format generated parser.
|
2019-02-02 17:40:17 +13:00 |
|
Windel Bouwman
|
892493e464
|
Rename PyObjectKind into PyObjectPayload
|
2019-01-30 18:06:27 +01:00 |
|
coolreader18
|
80573b0544
|
Format PyObject's correctly and nicely
|
2018-12-26 18:09:49 -06:00 |
|
Windel Bouwman
|
4095e0cad7
|
Modify location of set_attr so that we are able to create str python objects for the dictionary.
|
2018-12-12 22:06:19 +01:00 |
|
Windel Bouwman
|
be462afaa4
|
Add method to list and tuple class.
|
2018-11-17 12:31:24 +01:00 |
|
Windel Bouwman
|
96c1c5a328
|
Use rusts internal hash algorithm.
|
2018-11-12 21:24:53 +01:00 |
|
Windel Bouwman
|
99af466a88
|
Move max function test cases to snippet dir. Implement key and default argument on max function.
|
2018-11-07 17:26:18 +01:00 |
|
Windel Bouwman
|
d72abebdd0
|
Unify object kinds tuple and list into sequence.
|
2018-11-03 12:26:31 +01:00 |
|
Windel Bouwman
|
810ef7df1c
|
Add bytearray object
|
2018-11-03 11:09:15 +01:00 |
|
Windel Bouwman
|
b7a0b0f2f3
|
Removal of ToRust trait to prevent incorrect str representation
|
2018-11-02 20:27:05 +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
|
1d854a8fbb
|
Modify isinstance call signature to take reference to a python reference.
|
2018-10-27 17:58:54 +02:00 |
|
Windel Bouwman
|
104bc56bc1
|
Add hash builtin function.
|
2018-10-21 23:33:06 +02:00 |
|
Windel Bouwman
|
525807c319
|
Add __getitem__ on list, tuple and str
|
2018-10-21 21:09:38 +02:00 |
|
Éloi Rivard
|
2f29798ced
|
Fixed __contains__ comparison on lists, tuples and iter objects
|
2018-10-17 19:26:24 +02:00 |
|
Éloi Rivard
|
e415ee1fbf
|
Basic membership implementation
|
2018-10-17 13:57:38 +02:00 |
|
Windel Bouwman
|
1a2a4adcef
|
Lets delete some clones
|
2018-09-02 19:41:37 +02:00 |
|
Adam Kelly
|
7277e63a53
|
Add vm.to_repr and call for formatting list/tuple/dict elements.
|
2018-09-02 12:09:57 +01:00 |
|
Adam Kelly
|
c8d8528bff
|
object.__str__ delegates to __repr__.
|
2018-09-02 12:09:57 +01:00 |
|