Commit Graph

31 Commits

Author SHA1 Message Date
Jeong YunWon
dc8057a1c2 Refactor snippets/testutil 2019-09-17 17:37:24 +09:00
Windel Bouwman
19dd58cbad Add star expression in set literals. 2019-08-02 20:55:37 +02:00
Maxim Kurnikov
848714e18e save passed object into the first .args parameter for dict/mappingproxy KeyError 2019-06-26 23:40:24 +03:00
Jeong YunWon
cc9dcbc9f8 Refactor dictdatatype::Dict 2019-05-16 00:01:44 +09:00
Jeong YunWon
2c77dc208f Add float.__hash__ 2019-05-13 01:09:51 +09:00
Jeong YunWon
e12c6813ef Add dict unpacking support for literal 2019-05-07 04:42:58 +09:00
Adam Kelly
4f0b17e84f Add dict.fromkeys. 2019-04-25 09:07:17 +01:00
Adam Kelly
1c43a6bfbe Add dict.setdefault. 2019-04-25 08:04:54 +01:00
Adam Kelly
ceac014a6c Add dict.popitem. 2019-04-25 08:04:24 +01:00
Jeong YunWon
1d5adc4353 Add built-in dict.pop 2019-04-23 10:34:06 +09:00
Adam Kelly
c9b479c43b Guard for changes in dictionary size during iteration. 2019-04-15 13:25:04 +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
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
23a4b1e9d8 Additional tests for dictionary iteration. 2019-04-09 10:13:44 +01:00
ben
046e4b3fe3 Cleanup dict test snippet 2019-04-09 20:43:59 +12:00
Adam Kelly
5c4755ffd7 Separate iterators for items/keys/values. 2019-04-08 11:08:45 +01:00
ben
32051c9d96 Implement copy and update dict methods 2019-04-07 19:19:39 +12:00
Adam Kelly
584b707356 Add dict.__missing__ support. 2019-04-06 10:15:34 +01:00
Adam Kelly
7b2d92f495 Delete DictProtocol. impl ItemProtocol for PyDictRef. 2019-04-06 10:15:29 +01:00
Adam Kelly
ee9066a713 dict.get shouldn't call into __getitem__ 2019-04-06 10:12:16 +01:00
Adam Kelly
3e42edd261 dict.__new__ - support for dict subtypes. 2019-04-06 10:12:16 +01:00
ben
dda0d561ac Fix order of dict literal 2019-04-06 10:43:39 +13:00
Adam Kelly
77d5f57df1 Add some additional dictionary tests. 2019-04-05 14:36:19 +01:00
Adam Kelly
b943f4a4bb Historic real proper dictionary support. 2019-04-05 09:50:31 +01:00
Aviv Palivoda
24dcc06c24 add dict.keys 2019-03-05 22:46:13 +02:00
Aviv Palivoda
475476df71 Add dict.items 2019-03-05 22:41:42 +02:00
Aviv Palivoda
37118c7d75 Add dict.values 2019-03-05 22:34:45 +02:00
janczer
85110f6fbf Add dict.clear and bytes.clear 2019-02-18 18:21:39 +01:00
coolreader18
427ce4347e Add test for dicts 2018-12-22 00:04:13 -06:00