Adam Kelly
|
386f90fa25
|
Remove PyContext.get_attr.
|
2019-03-23 11:29:22 +00:00 |
|
Adam Kelly
|
c8bdb249b0
|
Remove attribute protocol from wasm.
|
2019-03-23 10:11:39 +00:00 |
|
ben
|
983cb9e886
|
Fix Never::class signature
|
2019-03-23 19:35:42 +13:00 |
|
ben
|
ad584df120
|
Allow context.set_attr to accept PyRef values in addition to PyObjectRef
|
2019-03-23 19:32:31 +13: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 |
|
Joey
|
b7fa08eb36
|
Merge pull request #722 from RustPython/joey/unboxed-payload-2
Remove Box from PyObject
|
2019-03-22 20:29:36 -07:00 |
|
Joey Hain
|
c06b1c70df
|
Fix merge issue
|
2019-03-22 18:05:24 -07:00 |
|
Joey Hain
|
7b4b0979f4
|
Merge remote-tracking branch 'origin/master' into joey/unboxed-payload-2
|
2019-03-22 18:04:15 -07:00 |
|
Joey Hain
|
bb161a5a67
|
Remove Box from PyObject
|
2019-03-22 18:04:09 -07: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 |
|
Joey
|
90db9812e5
|
Merge pull request #707 from RustPython/joey/proper-pyref-display
Fix the Display impl for PyRef
|
2019-03-21 09:32:02 -07:00 |
|
Adam Kelly
|
e66b5078a8
|
Introduce TryIntoRef<T> to make vm.get_attribute more usable.
|
2019-03-21 10:58:32 +00:00 |
|
Joey Hain
|
0b1b6682c1
|
Fix Display impl for PyRef
|
2019-03-20 18:32:25 -07:00 |
|
coolreader18
|
3731148237
|
Merge branch 'master' into coolreader18/fix-clippy1
|
2019-03-20 09:03:07 -05:00 |
|
ben
|
48dd507cad
|
Remove dict from object
|
2019-03-20 19:58:46 +13:00 |
|
coolreader18
|
ef3b9105ef
|
Rename object_is back to payload_is
|
2019-03-19 20:59:48 -05:00 |
|
coolreader18
|
33b99b203f
|
Some minor things
|
2019-03-19 20:34:35 -05:00 |
|
coolreader18
|
f78f558404
|
Fix clippy lints
|
2019-03-19 10:52:39 -05:00 |
|
Joey
|
9de7285d23
|
Merge remote-tracking branch 'origin/master' into joey/pyobject-function-split
Conflicts:
vm/src/frame.rs
vm/src/obj/objbytearray.rs
vm/src/obj/objbytes.rs
vm/src/obj/objcomplex.rs
|
2019-03-16 08:37:18 -07:00 |
|
Joey
|
7bfd2e6e84
|
Move function items out of pyobject module
|
2019-03-15 21:27:11 -07:00 |
|
Adam
|
0e6e8b617d
|
Merge branch 'master' into prefer_pyvalue_into_ref
|
2019-03-15 22:11:51 +00:00 |
|
Adam Kelly
|
111208b46f
|
Remove PyRef::new/new_with_type.
|
2019-03-15 11:36:25 +00: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
|
f093aa4d6a
|
Merge branch 'master' into pyvaluepayload
|
2019-03-14 20:25:51 -05:00 |
|
Adam Kelly
|
b204c2b33e
|
Add PyValue::into_ref and into_ref_with_type.
|
2019-03-14 09:42:40 +00:00 |
|
Joey
|
964a0410e0
|
Merge pull request #677 from skinny121/property
Implement property attributes and functions
|
2019-03-13 22:20:10 -07:00 |
|
ben
|
3f301bd684
|
Implement property attributes and functions
|
2019-03-14 17:19:43 +13:00 |
|
Joey
|
36204f29fe
|
Merge pull request #676 from adrian17/master
Use Into<BigInt> instead of ToBigInt to avoid copies
|
2019-03-13 18:54:36 -07:00 |
|
Adrian Wielgosik
|
f647f346f2
|
Use Into<BigInt> instead of ToBigInt to avoid copies
|
2019-03-13 20:20:42 +01:00 |
|
ben
|
067fc0927d
|
Remove type parameter from PropertyBuilder
|
2019-03-14 07:24:49 +13:00 |
|
coolreader18
|
fb8351c5d1
|
Inline some functions
|
2019-03-12 20:59:03 -05:00 |
|
coolreader18
|
7bac1285d4
|
Fix all the tests
|
2019-03-12 20:26:33 -05:00 |
|
coolreader18
|
d305d4f74b
|
Clean up a bit
|
2019-03-12 19:06:12 -05:00 |
|
coolreader18
|
c0e572767e
|
Rename PyValuePayload to PyObjectPayload
|
2019-03-12 18:59:43 -05:00 |
|
coolreader18
|
070f5aa322
|
Merge master into pyvaluepayload
|
2019-03-12 18:36:10 -05:00 |
|
coolreader18
|
e49d7146a0
|
Add PyValuePayload trait and use it for PyObject.payload
|
2019-03-12 18:31:59 -05:00 |
|
Adrian Wielgosik
|
b334689e55
|
Remove Option from PyObject.typ; Refactor type hierarchy initialization.
|
2019-03-12 21:58:03 +01:00 |
|
Adam Kelly
|
336aa53b13
|
Allow IdProtocol to compare PyRef and non-PyRef.
|
2019-03-12 18:44:35 +00:00 |
|
Adam Kelly
|
9f96b16624
|
Turn PyClass.mro into a Vec<PyClassRef>
|
2019-03-12 15:09:03 +00:00 |
|
Adam Kelly
|
3082f5faef
|
Trivial implementations of IdProtocol and TypeProtocol for PyClassRef.
|
2019-03-12 13:43:30 +00:00 |
|
Joey
|
db7d736c68
|
Merge pull request #661 from RustPython/obj-improvements
Move classmethod and staticmethod to own files. Also use extend_class…
|
2019-03-11 19:34:35 -07:00 |
|
Windel Bouwman
|
c00d368448
|
Move classmethod and staticmethod to own files. Also use extend_class more.
|
2019-03-11 19:38:26 +01:00 |
|
Adam Kelly
|
3711881a60
|
Add type_pyref() to TypeProtocol.
|
2019-03-11 17:42:28 +00:00 |
|
Windel Bouwman
|
caae69fc35
|
Merge pull request #658 from RustPython/mro
Cleaner type_type declaration, and faster instance checking.
|
2019-03-11 17:40:09 +01:00 |
|
Adam Kelly
|
d7e1d69430
|
Avoid additional clone in objtype::subinstance.
|
2019-03-11 11:44:25 +00: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 |
|