Jeong YunWon
758073db07
Add _msg back to assert_raises
2019-09-17 18:52:16 +09:00
Jeong YunWon
dc8057a1c2
Refactor snippets/testutil
2019-09-17 17:37:24 +09:00
Jeong YunWon
c349f77207
Add {set,frozenset}.__r*__
2019-05-29 21:51:20 +09:00
Jeong YunWon
979e1253ae
Fix set/frozenset comparison
2019-05-29 21:51:20 +09:00
Jeong YunWon
81186ea5b7
Fix set() hash collision based on dictdatatype::Dict
2019-05-16 00:02:39 +09:00
Aviv Palivoda
3986e2f87d
Add set.isdisjoint
2019-04-21 16:41:36 +03:00
Aviv Palivoda
5ae921dc57
update function support iterable
2019-04-07 23:26:59 +03:00
Aviv Palivoda
848350d334
ior support only set and frozenset
2019-04-07 23:06:42 +03:00
Aviv Palivoda
3ed8727ee5
symmetric_difference support iterable
2019-04-07 23:01:49 +03:00
Aviv Palivoda
e011e3f327
intersection and difference support iterable
2019-04-07 22:36:56 +03:00
Aviv Palivoda
fa369ff779
Limit non-operator versions to set and frozenset
2019-04-07 22:09:37 +03:00
Aviv Palivoda
3bc1e3598c
Use PyIterable
2019-04-07 21:26:20 +03:00
Aviv Palivoda
ed8c1e1a95
Implement set and frozenset with PySetInner
2019-04-05 19:58:17 +03:00
Aviv Palivoda
2626a800ab
Support frozenset
2019-03-23 17:27:33 +02:00
Aviv Palivoda
b530733c1a
Add assertRaises context manager to testutils
2019-02-23 13:11:26 +02:00
Aviv Palivoda
fc10560308
Add set.{__ior__,__iand__,__isub__,__ixor__}
2019-02-22 16:50:40 +02:00
Aviv Palivoda
7cf25440fa
Add set.__iter__
2019-02-22 16:25:55 +02:00
Aviv Palivoda
21b6616e8e
Add set.symmetric_difference_update
2019-02-21 19:33:20 +02:00
Aviv Palivoda
1621d78326
Add set.difference_update
2019-02-21 19:02:05 +02:00
Aviv Palivoda
a4b814e9a7
Add set.intersection_update
2019-02-21 18:55:22 +02:00
Aviv Palivoda
5f3664e87d
Add set.update
2019-02-21 18:34:47 +02:00
Aviv Palivoda
a89b0593da
Add set.pop
2019-02-21 18:34:47 +02:00
Windel Bouwman
a47e979f29
Merge branch 'master' into add_list_copy
2019-02-18 08:08:31 +01:00
Joey Hain
47e95486f0
Reuse and improve ergonomics of assert_raises utility
...
- Move assert_raises to testutils
- Add optional message argument, with reasonable default
- Reverse order of expr and exception type for readability
- Lambda argument no longer takes parameter
- Convert applicable snippets to use assert_raises
2019-02-16 09:32:42 -08:00
Tom Schuster
4762d654b4
implement set.discard
2019-02-15 20:46:00 +01:00
janczer
f45f307a55
Add copy method to list object
2019-02-15 19:48:48 +01:00
Windel Bouwman
a541b509a9
Merge branch 'master' into Add-set-funcs3
2019-02-15 16:53:10 +01:00
Aviv Palivoda
412df7472f
set raises TypeError when unhashable element is passed in creation
2019-02-15 15:34:55 +02:00
Aviv Palivoda
49e10ed497
Add set.symmetric_difference
2019-02-15 15:13:05 +02:00
Aviv Palivoda
938688cb69
Add set.difference
2019-02-15 15:13:05 +02:00
Aviv Palivoda
23ef487927
Add set.intersection
2019-02-15 15:13:05 +02:00
Aviv Palivoda
83c4eda62c
Add set.union
2019-02-15 15:13:05 +02:00
janczer
d07b3dff98
Add clear method to set
2019-02-13 14:37:05 +01:00
Windel Bouwman
cf31805c2c
Fix set test by add __hash__ method.
2019-02-10 13:30:22 +01:00
ben
5b637385ea
Fixed #191 , fixes recursive repr() for the standard collections
2019-02-10 13:22:03 +13:00
Aviv Palivoda
9ec2eef579
Add set.{issubset,issuperset}
2019-02-08 18:33:04 +02:00
Aviv Palivoda
2bc946b748
Add set.__lt__
2019-02-08 18:27:37 +02:00
Aviv Palivoda
adee66168b
Add set.__le__
2019-02-08 18:25:33 +02:00
Aviv Palivoda
358aa6b2c0
Add set.__gt__
2019-02-08 17:50:36 +02:00
Aviv Palivoda
0c737ae8d2
Add set.__eq__
2019-02-08 17:31:45 +02:00
Aviv Palivoda
6274c3fe8b
Add set.__ge__
2019-02-08 17:18:14 +02:00