Jeong YunWon
|
6ddb690e09
|
Remove _vm parameter when it is not required
|
2020-02-06 11:07:51 +09:00 |
|
Jeong YunWon
|
58744df1d5
|
Revert 08e66b5002
which is not required anymore
|
2020-02-06 03:56:40 +09:00 |
|
Jeong YunWon
|
1bac582921
|
&str::to_string -> &str::to_owned for literals
|
2020-02-05 22:55:33 +09:00 |
|
Jeong YunWon
|
b2ba6b2013
|
objtype::class_*_attr into PyClassRef methods
|
2020-01-29 21:30:33 +09:00 |
|
Jeong YunWon
|
8c7e01b4f6
|
pyslot guess slot name from function name
|
2020-01-15 10:28:39 +09:00 |
|
Jeong YunWon
|
266bdceb8d
|
impl PyNoneRef -> impl PyNone
|
2019-12-26 22:17:29 +09:00 |
|
Jeong YunWon
|
6c0f852b62
|
Refactor pymethod return types to be smaller as possible
|
2019-10-11 03:27:23 +09:00 |
|
HyeockJinKim
|
100416f4f2
|
Add __eq__, __ne__ of none
Issue #1442
|
2019-10-10 03:49:09 +09:00 |
|
coolreader18
|
c46b5b50bd
|
Fix weirdness with type.__new__()/type()/metaclass.__new__()
|
2019-09-29 23:14:31 -05:00 |
|
Johan
|
dd6ca78c19
|
extend_class for PyNone (#1436)
* extend_class for PyNone
* Apply clippy
|
2019-09-29 19:07:41 +02:00 |
|
Noah
|
0def37d78e
|
Make PyString.value private
|
2019-09-19 17:45:48 -05:00 |
|
Marcin Pajkowski
|
e65e9ff7c3
|
Make func_ref an &PyObjectRef
|
2019-08-15 13:45:47 +02:00 |
|
Windel Bouwman
|
310f89ec21
|
Remove bytecode compilation. Add feature to enable verbose logging in vm.
|
2019-07-07 15:23:43 +02:00 |
|
Joey Hain
|
cc4f3fdb40
|
Clean up TypeProtocol
|
2019-03-25 19:18:01 -07:00 |
|
Adrian Wielgosik
|
9a6f7aa8a1
|
Make PyRef::clone not require T implementing Clone
It seems to be a weird consequence of using PhantomData,
so I just rolled a custom Clone.
|
2019-03-24 11:56:15 +01: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
|
b354b86b7b
|
Fix none_new, return same object that is in PyContext
|
2019-03-23 13:00:17 +13:00 |
|
ben
|
5c7812734d
|
Use more specific ref type than PyObjectRef in PyContext
|
2019-03-23 13:00:12 +13:00 |
|
Adam Kelly
|
50437f8a75
|
Use class_get_attr in various places where we need the internal interface
|
2019-03-22 19:51:02 +00:00 |
|
coolreader18
|
a9051ab462
|
Convert all &mut VirtualMachine to &VirtualMachine
|
2019-03-22 01:48:14 -05:00 |
|
ben
|
08e66b5002
|
Create workaround for properties on None
|
2019-03-20 19:58:56 +13: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 |
|
ben
|
3f301bd684
|
Implement property attributes and functions
|
2019-03-14 17:19:43 +13:00 |
|
Joey Hain
|
5971fc3bd4
|
rename PyObjectPayload2 to PyValue
|
2019-03-10 13:48:51 -07:00 |
|
Joey Hain
|
45bc8c8f7a
|
Move PyRef to pyobject module
|
2019-03-10 13:01:46 -07:00 |
|
Adam Kelly
|
adf473faf4
|
Use macro for NoneType.
|
2019-03-07 17:06:34 +00:00 |
|
Adam Kelly
|
22811c0d56
|
Add PyNone and new style definition for NoneType methods.
|
2019-03-07 17:00:24 +00:00 |
|
Adam Kelly
|
5afbfafa8b
|
Remove special case for None payload from boolval.
|
2019-03-06 16:04:26 +00:00 |
|
Joey
|
eec76ef8e8
|
Don't require objtype import to use arg_check! macro
|
2019-02-21 08:38:02 -08:00 |
|
Joey
|
df76ffe116
|
Replace most relative imports with 2018-style crate
|
2019-02-20 08:50:53 -08:00 |
|
Adrian Wielgosik
|
21299ecf3d
|
Refactor arg_check macro
|
2019-02-13 21:05:23 +01:00 |
|
Adam Kelly
|
a735bb3dfc
|
Add __repr__ and __new__ to NoneType.
|
2019-02-12 10:09:13 +00:00 |
|