Windel Bouwman
|
be4e3170af
|
Merge pull request #822 from jgirardet/addbytesm
add capitalize bytes.center + fix str.center
|
2019-04-13 12:41:35 +02:00 |
|
jgirardet
|
73dbcfbe01
|
Add bytes.center
fix str.center
add some tests
introduce is_byte
|
2019-04-13 08:23:40 +02:00 |
|
jgirardet
|
bd78f7e12b
|
add capitalize
|
2019-04-13 08:21:37 +02:00 |
|
coolreader18
|
2c887905a1
|
Merge pull request #766 from jgirardet/seq
Fix #746: invalid slice with start or stop =-1 when step<0
|
2019-04-12 16:41:36 -05:00 |
|
Windel Bouwman
|
76659fd985
|
Merge pull request #820 from skinny121/gen_throw
Implement generator.throw
|
2019-04-12 19:38:54 +02:00 |
|
Adam Kelly
|
80ec464d84
|
Use dict.update to combine class and object attrs in object_dir.
|
2019-04-12 12:25:19 +01:00 |
|
ben
|
63643e1fdb
|
Implement generator.throw
|
2019-04-12 20:30:37 +12:00 |
|
Adam Kelly
|
664554bc5e
|
Fix dir bug - not including object attributes correctly.
|
2019-04-11 15:35:01 +01:00 |
|
Adam Kelly
|
b70f989952
|
dict equality - objects always equal themselves.
|
2019-04-11 08:39:03 +01:00 |
|
Adam Kelly
|
bd5772d914
|
Implement dict.__eq__
|
2019-04-11 08:31:13 +01:00 |
|
Adam Kelly
|
aeb84936ff
|
Merge branch 'master' into dict_into_iter
|
2019-04-11 08:28:12 +01:00 |
|
Windel Bouwman
|
58a393f047
|
Merge pull request #804 from jgirardet/refactore_bytes
refactor bytes
|
2019-04-11 08:20:01 +02:00 |
|
coolreader18
|
6a190e39f3
|
Fix __radd__ and __rmul__
|
2019-04-10 20:41:06 -05:00 |
|
coolreader18
|
dd4539b1a6
|
Change to use PyClassImpl::extend_class
|
2019-04-10 18:02:30 -05:00 |
|
coolreader18
|
c5f4eab142
|
Change objint to impl style with properties
|
2019-04-10 17:55:24 -05:00 |
|
jgirardet
|
9d25a216de
|
fix some tests, run clippy
|
2019-04-10 21:39:16 +02:00 |
|
jgirardet
|
751c3d52e2
|
use vec! for int arg in bytes new
|
2019-04-10 13:24:31 +02:00 |
|
Adam Kelly
|
8f840d5376
|
Pick code review nits.
|
2019-04-10 09:28:54 +01:00 |
|
Adam Kelly
|
9a92159413
|
Remove unneeded Cell on DictIter.
|
2019-04-10 09:26:03 +01:00 |
|
Jimmy Girardet
|
977f56ade1
|
add bytes.fromhex
|
2019-04-10 10:08:10 +02:00 |
|
Jimmy Girardet
|
5cc83a35aa
|
hex
|
2019-04-09 17:08:38 +02:00 |
|
Jimmy Girardet
|
9b763072fe
|
add upper lower
|
2019-04-09 16:23:56 +02:00 |
|
Jimmy Girardet
|
6c745f68dd
|
fix typo, fix bytesinner.add now return Vec[u8]
|
2019-04-09 14:43:13 +02:00 |
|
Jimmy Girardet
|
2940c7cc28
|
add islpaha isalnum isdigit islower isupper isspace istitle
|
2019-04-09 14:33:29 +02:00 |
|
Adam Kelly
|
ec5fd550de
|
Implement IntoIterator for PyDictRef.
|
2019-04-09 11:30:52 +01:00 |
|
Adam Kelly
|
25d3f83e4d
|
Add __len__ to dictionary views.
|
2019-04-09 11:28:25 +01:00 |
|
Adam
|
31fd2936c5
|
Merge pull request #796 from RustPython/dict_iters
Dict iters
|
2019-04-09 11:11:14 +01:00 |
|
Adam Kelly
|
f3f3d8a478
|
Merge branch 'Ryex-ryex-list.__delitem__slice_error'
|
2019-04-09 10:31:55 +01:00 |
|
Adam
|
39042e6475
|
Merge pull request #805 from Ryex/ryex-list.__setitem__
implement list.__setitem__ with slice and int indexing
|
2019-04-09 10:24:48 +01:00 |
|
Adam Kelly
|
d9216c87f1
|
Remove done todo.
|
2019-04-09 10:17:17 +01:00 |
|
Rachel Powers
|
1101b6571c
|
fix error related to #746 but for list.__delitem__
|
2019-04-08 16:17:57 -06:00 |
|
Rachel Powers
|
b2a1f6580b
|
fix error when start or stop of slice is -1 and step != 1
|
2019-04-08 15:56:06 -06:00 |
|
jgirardet
|
b535958310
|
add getitem, fix contain error_message
|
2019-04-08 23:12:40 +02:00 |
|
jgirardet
|
8232a4d285
|
finish contains
|
2019-04-08 21:27:44 +02:00 |
|
Rachel Powers
|
4e277cfcc2
|
move to useing PyIterable
|
2019-04-08 12:41:28 -06:00 |
|
Adam Kelly
|
29e9753e51
|
Even newer style class definitions.
|
2019-04-08 15:02:04 +01:00 |
|
Adam Kelly
|
2d127b9834
|
Use macro to generate full set of views and iterators.
|
2019-04-08 12:11:59 +01:00 |
|
Adam Kelly
|
5c4755ffd7
|
Separate iterators for items/keys/values.
|
2019-04-08 11:08:45 +01:00 |
|
Adam Kelly
|
9c32de954b
|
Add iterator for dictionary keys.
|
2019-04-08 10:35:09 +01:00 |
|
Jimmy Girardet
|
86928114fa
|
resolve conflict
|
2019-04-08 10:33:56 +02:00 |
|
jgirardet
|
c487f12222
|
Merge branch 'master' into seq
|
2019-04-08 09:36:37 +02:00 |
|
Rachel Powers
|
a23b5bc470
|
cleanup and cargo fmt
|
2019-04-07 19:32:11 -06:00 |
|
Joey
|
7910c95ff0
|
Merge pull request #785 from palaviv/set-inner
refactor objset using inner
|
2019-04-07 18:20:37 -07:00 |
|
Rachel Powers
|
4d8a56aea1
|
list.__setitem__ with slice and int indexing
optimisation is uncertain
correctness is uncertain
but it does appear to work
|
2019-04-07 19:09:44 -06:00 |
|
jgirardet
|
ec65b8480f
|
add contains
|
2019-04-08 00:45:53 +02:00 |
|
jgirardet
|
3c736c1f94
|
iter
|
2019-04-08 00:11:20 +02:00 |
|
Aviv Palivoda
|
abc72e9992
|
contains return bool
|
2019-04-07 23:54:42 +03:00 |
|
jgirardet
|
dddf9fee39
|
gt lt ge le
|
2019-04-07 22:42:47 +02:00 |
|
jgirardet
|
ec98b4d6bf
|
repr len eq
|
2019-04-07 22:36:13 +02:00 |
|
Aviv Palivoda
|
5ae921dc57
|
update function support iterable
|
2019-04-07 23:26:59 +03:00 |
|