Aviv Palivoda
|
84e89d37e2
|
Use __class__ cell in super
|
2019-03-22 16:37:28 +02:00 |
|
Aviv Palivoda
|
6230a25c4b
|
Use first argument in super
|
2019-03-22 16:37:28 +02:00 |
|
coolreader18
|
5e74d53fb4
|
Merge pull request #716 from palaviv/fix-format
Fix format
|
2019-03-22 09:32:54 -05:00 |
|
Aviv Palivoda
|
474577beca
|
Fix format
|
2019-03-22 16:23:15 +02:00 |
|
coolreader18
|
a9e2cc90d4
|
Merge pull request #714 from RustPython/coolreader18/immutable-vm-ref
Convert all &mut VirtualMachine to &VirtualMachine
|
2019-03-22 07:36:45 -05:00 |
|
coolreader18
|
79666c255a
|
Fix some issues wrt mutability
|
2019-03-22 07:24:06 -05:00 |
|
coolreader18
|
b0d8935731
|
Merge branch 'master' into coolreader18/immutable-vm-ref
|
2019-03-22 07:21:45 -05:00 |
|
Adam
|
e7eff34e13
|
Merge pull request #709 from RustPython/avoid_attribute_protocol
Avoid attribute protocol
|
2019-03-22 11:42:30 +00:00 |
|
Adam Kelly
|
23ee751880
|
Use vm.get_attribute to access attributes of modules.
|
2019-03-22 10:54:28 +00:00 |
|
coolreader18
|
243826679c
|
Remove unnecessary &mut
|
2019-03-22 01:51:44 -05:00 |
|
coolreader18
|
a9051ab462
|
Convert all &mut VirtualMachine to &VirtualMachine
|
2019-03-22 01:48:14 -05:00 |
|
Windel Bouwman
|
0838e301c7
|
Merge pull request #706 from RustPython/immutable-vm
Put RefCell around frames member of VirtualMachine.
|
2019-03-22 07:06:18 +01:00 |
|
Windel Bouwman
|
08520a68cf
|
Merge pull request #700 from RustPython/coolreader18/wasm-example-npm
Change the WASM example to use rustpython from npm
|
2019-03-21 18:40:20 +01: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
|
19fc202e1a
|
Classmethod/staticmethod - rewrite using structs and new style methods.
|
2019-03-21 13:03:51 +00:00 |
|
Adam
|
ce120c13b7
|
Merge pull request #705 from RustPython/into_pystringref
Introduce IntoPyStringRef to make vm.get_attribute more usable.
|
2019-03-21 12:13:19 +00:00 |
|
Adam Kelly
|
e66b5078a8
|
Introduce TryIntoRef<T> to make vm.get_attribute more usable.
|
2019-03-21 10:58:32 +00:00 |
|
Joey
|
59807710f7
|
Merge remote-tracking branch 'origin/master' into joey/proper-pyref-display
|
2019-03-21 03:43:40 -07:00 |
|
Adam
|
5a1a436c1e
|
Merge pull request #708 from skinny121/descriptor_set_delete
Implement calling __set__ and __delete__ magic methods
|
2019-03-21 10:43:10 +00:00 |
|
ben
|
4ad8d5ed9b
|
Make property.__get__ owner parameter optional
|
2019-03-21 19:57:35 +13:00 |
|
ben
|
a5f6a7b10d
|
Implement calling __set__ and __delete__
|
2019-03-21 19:34:47 +13:00 |
|
coolreader18
|
f5bbc7f664
|
Merge pull request #701 from RustPython/coolreader18/fix-wasm-import-json
Fix the WASM build
|
2019-03-21 01:01:02 -05:00 |
|
coolreader18
|
ed60b19612
|
Use vm.{,de}serialize in rustpython_wasm
|
2019-03-21 00:10:02 -05:00 |
|
coolreader18
|
d024e7ed8d
|
Switch from an stdlib function to a vm method
|
2019-03-21 00:08:36 -05:00 |
|
coolreader18
|
7a980b3b47
|
Merge branch 'master' into coolreader18/fix-wasm-import-json
|
2019-03-20 23:58:19 -05:00 |
|
Joey Hain
|
0b1b6682c1
|
Fix Display impl for PyRef
|
2019-03-20 18:32:25 -07:00 |
|
Joey Hain
|
54753b3d14
|
list, tuple: return NotImplemented for unsupported comparisons
|
2019-03-20 18:32:08 -07:00 |
|
Windel Bouwman
|
8c0419e6b4
|
Put RefCell around frames member of VirtualMachine. This allows for VirtualMachine to be immutable.
|
2019-03-20 20:29:08 +01:00 |
|
coolreader18
|
6c660c9a6f
|
Merge pull request #699 from RustPython/coolreader18/fix-clippy1
Fix a bunch of clippy lints (again)
|
2019-03-20 09:03:41 -05:00 |
|
coolreader18
|
3731148237
|
Merge branch 'master' into coolreader18/fix-clippy1
|
2019-03-20 09:03:07 -05:00 |
|
coolreader18
|
e35cc813a8
|
Rename to Unnamed and Named
|
2019-03-20 08:59:37 -05:00 |
|
Windel Bouwman
|
4c485202d1
|
Merge pull request #703 from RustPython/add_class_cell
Add __class__ cell to method scopes.
|
2019-03-20 13:56:03 +01:00 |
|
Adam Kelly
|
1958e47022
|
Add __class__ cell to method scopes.
|
2019-03-20 09:20:28 +00:00 |
|
Adam
|
32cb59909e
|
Merge pull request #694 from skinny121/setattr
Various fixes for getattr/setattr/hasattr
|
2019-03-20 08:35:00 +00:00 |
|
ben
|
08e66b5002
|
Create workaround for properties on None
|
2019-03-20 19:58:56 +13:00 |
|
ben
|
a5050ebafe
|
Make property return itself if invoke by class binding
|
2019-03-20 19:58:54 +13:00 |
|
ben
|
6c3a402eca
|
Fix setting attributes on modules
|
2019-03-20 19:58:48 +13:00 |
|
ben
|
48dd507cad
|
Remove dict from object
|
2019-03-20 19:58:46 +13:00 |
|
ben
|
c77b1f3cf5
|
Fix bug with __getattr__
|
2019-03-20 19:56:25 +13:00 |
|
ben
|
63d40edbc6
|
Added bunch af attribute has/get/set/delete tests and fixed getattr and
hasattr handling of exceptions.
|
2019-03-20 19:56:23 +13:00 |
|
ben
|
4e42bd077c
|
Implement __setattr__ based on @nhynes(#540) PR
|
2019-03-20 19:53:50 +13:00 |
|
coolreader18
|
de1bc937e7
|
Use json straight from json.rs
|
2019-03-19 22:20:10 -05:00 |
|
coolreader18
|
b7916cdb53
|
Fix varargs errors
|
2019-03-19 22:15:09 -05:00 |
|
coolreader18
|
ef3b9105ef
|
Rename object_is back to payload_is
|
2019-03-19 20:59:48 -05:00 |
|
coolreader18
|
01bed2a051
|
Change the WASM example to use rustpython from npm
|
2019-03-19 20:54:53 -05:00 |
|
coolreader18
|
33b99b203f
|
Some minor things
|
2019-03-19 20:34:35 -05:00 |
|
coolreader18
|
ff5c203b0e
|
impl From<&ast::Varargs> for bytecode::Varargs
|
2019-03-19 20:13:03 -05:00 |
|
coolreader18
|
b30d56df29
|
Fix some more clippy warnings
|
2019-03-19 20:02:06 -05:00 |
|
coolreader18
|
ab53883f67
|
Change varargs from Option<Option<_>> to its own enum
|
2019-03-19 19:53:22 -05:00 |
|
coolreader18
|
4c9527be47
|
Merge branch 'master' into coolreader18/fix-clippy1
|
2019-03-19 19:19:36 -05:00 |
|