Adam
|
2c747168de
|
Merge pull request #926 from youknowone/number-hashes
Fix number hashes for small numbers
|
2019-05-13 09:02:19 +01:00 |
|
Jeong YunWon
|
64afd5ccf8
|
Add os.supports_* placeholders
|
2019-05-13 01:15:19 +09:00 |
|
Jeong YunWon
|
c768b25673
|
Refine hash types and refactor hash impl
|
2019-05-13 01:10:52 +09:00 |
|
Aviv Palivoda
|
3986e2f87d
|
Add set.isdisjoint
|
2019-04-21 16:41:36 +03:00 |
|
ben
|
6650ad895a
|
Fix a bunch of clippy warnings
|
2019-04-14 10:07:50 +12:00 |
|
Aviv Palivoda
|
abc72e9992
|
contains return bool
|
2019-04-07 23:54:42 +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
|
a0aa88d2fb
|
clear return implicit None
|
2019-04-07 20:02:27 +03:00 |
|
Aviv Palivoda
|
2a3a88c2f2
|
Use match_class macro to avoid unwanted clones
|
2019-04-05 19:59:01 +03:00 |
|
Aviv Palivoda
|
a685216f29
|
Use new arg style for set and frozenset new
|
2019-04-05 19:59:01 +03:00 |
|
Aviv Palivoda
|
ed8c1e1a95
|
Implement set and frozenset with PySetInner
|
2019-04-05 19:58:17 +03:00 |
|
ben
|
ea872521d6
|
Make object by default hashable
|
2019-04-04 20:11:53 +13:00 |
|
Adrian Wielgosik
|
c918e9d5d3
|
Split iterators into separate types
|
2019-04-01 19:45:14 +02:00 |
|
Adrian Wielgosik
|
bbfca26b27
|
Move PyIteratorValue to objiter.rs
|
2019-04-01 19:45:10 +02:00 |
|
Joey Hain
|
cc4f3fdb40
|
Clean up TypeProtocol
|
2019-03-25 19:18:01 -07:00 |
|
Adam Kelly
|
17b816fbf8
|
Fix objset compilation error caused by merge race.
|
2019-03-25 20:37:47 +00:00 |
|
Windel Bouwman
|
6ae10ed938
|
Fix build and add extend_class macro usage for set and frozenset
|
2019-03-25 20:23:13 +01:00 |
|
Aviv Palivoda
|
590b659548
|
Change validate_set_or_frozenset to a function
|
2019-03-23 23:24:57 +02:00 |
|
Aviv Palivoda
|
dc05d5f94b
|
Remove Refcell around PyFrozenSet elements
|
2019-03-23 17:28:50 +02:00 |
|
Aviv Palivoda
|
2626a800ab
|
Support frozenset
|
2019-03-23 17:27:33 +02:00 |
|
ben
|
c1d5ce715f
|
Change isinstance/issubclass to accept PyClassRef instead of PyCObject.
Also changed PyValue::class to return a PyClassRef.
|
2019-03-23 19:32:31 +13:00 |
|
ben
|
5c7812734d
|
Use more specific ref type than PyObjectRef in PyContext
|
2019-03-23 13:00:12 +13:00 |
|
coolreader18
|
a9051ab462
|
Convert all &mut VirtualMachine to &VirtualMachine
|
2019-03-22 01:48:14 -05:00 |
|
Adam Kelly
|
c6e7d8901f
|
Remove use of PyObject::new from objset.
|
2019-03-19 17:14:51 +00:00 |
|
Adam Kelly
|
6b3f61f3ca
|
Merge branch 'master' into objdict_refactor
|
2019-03-19 10:19:03 +00:00 |
|
Adam Kelly
|
9eeeeeae48
|
Change return type of vm.to_repr and vm.to_str to PyStringRef.
|
2019-03-16 09:42:54 +00:00 |
|
Joey
|
7bfd2e6e84
|
Move function items out of pyobject module
|
2019-03-15 21:27:11 -07:00 |
|
Joey
|
fa9e48a5b3
|
Take &mut VirtualMachine insteadof &PyContext
|
2019-03-14 21:43:19 -07:00 |
|
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 |
|
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
|
157d18d7a1
|
Convert iterator
|
2019-03-09 14:45:55 -08:00 |
|
Joey Hain
|
bf1fe9e5f2
|
Convert set payload
|
2019-03-04 21:46:17 -08:00 |
|
coolreader18
|
f364ea5943
|
Fix a bunch of clippy lints
|
2019-03-01 18:41:45 -06:00 |
|
Joey Hain
|
3dcbc4d2aa
|
Fix set
|
2019-02-25 22:20:15 -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 |
|
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 |
|