Adam Kelly
|
c5789a03a3
|
Proper construction of scope for exec/eval.
|
2019-03-04 14:32:52 +00:00 |
|
Adam
|
5d28f9bc36
|
Merge pull request #594 from skinny121/isinstance_2
Only use real isinstance/issubclass for built-ins
|
2019-03-04 14:31:43 +00:00 |
|
ben
|
b1a070acc2
|
Only use real isinstance/issubclass for builtins and move the real
versions to the vm.
|
2019-03-04 19:55:58 +13:00 |
|
Windel Bouwman
|
9b7c0f78c8
|
Merge pull request #584 from palaviv/socket-udp
Socket UDP
|
2019-03-03 21:01:15 +01:00 |
|
Aviv Palivoda
|
283b331323
|
Use vm.ctx.new_tuple
|
2019-03-03 18:22:20 +02:00 |
|
Aviv Palivoda
|
f09f75ac8d
|
Do implicit bind in socket.sendto
|
2019-03-03 18:15:14 +02:00 |
|
Aviv Palivoda
|
9b5ba068af
|
Return addr in accept
|
2019-03-03 18:15:14 +02:00 |
|
Aviv Palivoda
|
86b60faa61
|
Add socket.{sendto, recvfrom}
|
2019-03-03 18:15:14 +02:00 |
|
Aviv Palivoda
|
e5d1d11c3e
|
Add UDP to socket
|
2019-03-03 18:15:14 +02:00 |
|
Windel Bouwman
|
9271115db7
|
Introduce py_class macro to define classes. (#589)
* Introduce py_class macro to define classes.
* rustfmt
|
2019-03-03 13:25:00 +00:00 |
|
Joey
|
4f944d33ad
|
Merge pull request #588 from arfan/master
fix typo in README.md, will to with
|
2019-03-02 19:44:21 -07:00 |
|
Abdul Arfan
|
0a68b7a3da
|
fix typo in README.md, will to with
|
2019-03-03 09:18:08 +07:00 |
|
Joey Hain
|
4558dbf210
|
Fix build (rustfmt)
|
2019-03-02 13:25:42 -08:00 |
|
Windel Bouwman
|
b98926a0fb
|
Merge pull request #572 from RustPython/joey/fun-with-functions
Derive types, arity, conversions and more from rust fns
|
2019-03-02 20:56:52 +01:00 |
|
Windel Bouwman
|
30ddb48037
|
Use PyResult at more places.
|
2019-03-02 14:10:46 +01:00 |
|
Windel Bouwman
|
8847081e8b
|
Merge pull request #582 from palaviv/socket-any
Use PyObjectPayload::AnyRustValue for socket
|
2019-03-02 13:45:48 +01:00 |
|
Joey Hain
|
3478251d40
|
Merge remote-tracking branch 'origin/master' into joey/fun-with-functions
Conflicts:
vm/src/lib.rs
vm/src/pyobject.rs
wasm/lib/src/vm_class.rs
|
2019-03-02 04:04:22 -08:00 |
|
Joey Hain
|
a70f251b6a
|
PyNativeFuncFactory => IntoPyNativeFunc
|
2019-03-02 03:47:37 -08:00 |
|
Aviv Palivoda
|
af2f790d0d
|
Use PyObjectPayload::AnyRustValue for socket
|
2019-03-02 12:26:23 +02:00 |
|
Aviv Palivoda
|
aed657173f
|
Simplify socket_close
|
2019-03-02 12:26:23 +02:00 |
|
Aviv Palivoda
|
e4007f530e
|
Add get_socket function
|
2019-03-02 12:25:59 +02:00 |
|
Windel Bouwman
|
7bb6f8fdaa
|
Minor clippy fix.
|
2019-03-02 11:22:40 +01:00 |
|
Windel Bouwman
|
8f52e15d32
|
Minor clippy fixes.
|
2019-03-02 11:14:35 +01:00 |
|
Windel Bouwman
|
f3e29c8d5f
|
Merge pull request #581 from coolreader18/wasm-example-crate-alert
Use alert() for the WASM example crate
|
2019-03-02 10:31:40 +01:00 |
|
Windel Bouwman
|
c8afeae0f7
|
Merge pull request #577 from RustPython/kill_scope_variant
Remove Scope variant from PyObject.
|
2019-03-02 10:30:41 +01:00 |
|
Windel Bouwman
|
5b39924389
|
Merge pull request #580 from coolreader18/fix-clippy-lints
Fix a bunch of clippy lints
|
2019-03-02 10:20:16 +01:00 |
|
coolreader18
|
5f8fb896d7
|
Fix lints in rustpython_wasm
|
2019-03-01 20:22:14 -06:00 |
|
coolreader18
|
c99e843769
|
Fix a clippy lint I missed
|
2019-03-01 20:13:50 -06:00 |
|
coolreader18
|
58e1533b12
|
Fix clippy lint for float_is_integer
|
2019-03-01 20:12:54 -06:00 |
|
coolreader18
|
f364ea5943
|
Fix a bunch of clippy lints
|
2019-03-01 18:41:45 -06:00 |
|
coolreader18
|
60603d250e
|
Use alert() for the WASM example crate
|
2019-03-01 18:06:50 -06:00 |
|
Adam Kelly
|
9d6e9ac889
|
Move Scope from pyobject to frame.
|
2019-03-01 20:49:17 +00:00 |
|
Adam Kelly
|
c2e2441388
|
Remove Scope variant from PyObject.
|
2019-03-01 20:47:09 +00:00 |
|
Joey Hain
|
e2e3353441
|
Add factory impl for boxed fn and remove extra constructor
|
2019-03-01 11:39:52 -08:00 |
|
Windel Bouwman
|
387c21f285
|
Merge pull request #570 from coolreader18/wasm-vm-inject_module
Add an `injectModule` method to WASMVirtualMachine
|
2019-03-01 17:16:22 +01:00 |
|
Windel Bouwman
|
e34c8af793
|
Merge pull request #576 from adrian17/raise-type
Support raising exceptions without call
|
2019-03-01 17:00:14 +01:00 |
|
Adrian Wielgosik
|
1519426cb4
|
Support raising exceptions without call
|
2019-02-28 22:06:14 +01:00 |
|
Joey
|
990c29469a
|
Merge remote-tracking branch 'origin/master' into joey/fun-with-functions
Conflicts:
vm/src/pyobject.rs
|
2019-02-28 10:44:46 -08:00 |
|
Windel Bouwman
|
40c1a0f197
|
Merge pull request #562 from coolreader18/wasm-promise-class
[WASM] Add a Promise class to the browser module
|
2019-02-28 17:19:41 +01:00 |
|
Windel Bouwman
|
eaaafacd87
|
Merge pull request #554 from skinny121/isinstance
Call __instancecheck__ and __subclasscheck__
|
2019-02-28 17:14:12 +01:00 |
|
coolreader18
|
500f48621d
|
Merge branch 'master' into wasm-promise-class
|
2019-02-28 07:29:17 -06:00 |
|
Ryan Liddle
|
de322689eb
|
Merge pull request #573 from alexpantyukhin/fix_mut_warning
remove redundant mut
|
2019-02-28 21:07:00 +11:00 |
|
Ryan Liddle
|
f6e99d1e24
|
Merge pull request #574 from RustPython/fetch_ins
fetch_instruction can just return a reference.
|
2019-02-28 21:06:18 +11:00 |
|
Adam Kelly
|
786eb2cbfb
|
fetch_instruction can just return a reference.
|
2019-02-28 08:33:43 +00:00 |
|
ben
|
5779124f11
|
rustfmt
|
2019-02-28 20:40:32 +13:00 |
|
ben
|
e30d91febc
|
Swap naming of is{instance, subclass} <-> real_is{instance, subclass}
|
2019-02-28 20:32:57 +13:00 |
|
ben
|
52c32fab3a
|
Call __instancecheck__ and __subclasscheck__ as part of isinstance and issubclass
|
2019-02-28 20:30:31 +13:00 |
|
Windel Bouwman
|
b0ee1947c7
|
Merge pull request #565 from alexpantyukhin/add_kwarg_handling_to_int
add kwarg handling for int
|
2019-02-28 07:36:08 +01:00 |
|
apantykhin
|
9081cb2b2c
|
remove redundant mut
|
2019-02-28 06:35:08 +00:00 |
|
Windel Bouwman
|
56e55e87fe
|
Merge pull request #568 from RustPython/framestack_2
Framestack 2
|
2019-02-28 07:33:04 +01:00 |
|