Windel Bouwman
|
b8aa38db1a
|
Merge pull request #653 from RustPython/joey/pyobject-2.0-prep
Remove PyObjectPayload enum
|
2019-03-11 17:33:51 +01:00 |
|
Joey Hain
|
2449c12bf9
|
Merge remote-tracking branch 'origin/master' into make_module_not_mk_module
Conflicts:
vm/src/stdlib/weakref.rs
|
2019-03-10 20:43:11 -07:00 |
|
Joey Hain
|
053ceb1a30
|
Move payload boxing into PyObject::new
|
2019-03-10 20:19:28 -07:00 |
|
Joey Hain
|
e2e13af7ea
|
Remove PyObjectPayload
|
2019-03-10 13:45:38 -07:00 |
|
Joey Hain
|
6024e3ea0c
|
Fix irrefutable pattern errors
|
2019-03-10 12:43:25 -07:00 |
|
ben
|
7c5be7d6b7
|
Add proper weakref type
|
2019-03-11 07:49:12 +13:00 |
|
Adam Kelly
|
0ff5155af9
|
Rename mk_module to make_module.
|
2019-03-10 17:10:51 +00:00 |
|
Roel Bruggink
|
8f6257b37f
|
Make open a context manager
|
2019-03-10 03:11:28 +01:00 |
|
Windel Bouwman
|
6ba5b091e9
|
Use py_module at more places.
|
2019-03-09 12:38:14 +01:00 |
|
Aviv Palivoda
|
76c43457b5
|
Add more OSError exceptions to socket
|
2019-03-08 17:05:05 +02:00 |
|
Aviv Palivoda
|
de0e76baf8
|
socket connect and bind throws OSError with indicative error message
|
2019-03-08 16:43:11 +02:00 |
|
Aviv Palivoda
|
3fae8ccfbc
|
Handle unknown socket kind
|
2019-03-08 16:19:26 +02:00 |
|
Aviv Palivoda
|
40c10ab70a
|
Handle unknown address family
|
2019-03-08 16:16:59 +02:00 |
|
Adam Kelly
|
a72af4d967
|
Remove None and NotImplemented payloads and replace with NoPayload
|
2019-03-06 16:04:26 +00:00 |
|
Windel Bouwman
|
c1a5e31c3c
|
Extend re module.
|
2019-03-05 20:24:48 +01:00 |
|
Adam
|
d278fb841c
|
Merge pull request #597 from RustPython/type_hints
Add type annotations to parser.
|
2019-03-05 14:43:30 +00:00 |
|
Windel Bouwman
|
05929b3d7b
|
Add ellipsis type, test and do rustfmt.
|
2019-03-05 07:19:00 +01:00 |
|
Windel Bouwman
|
e25742f184
|
Add ellipsis syntax.
|
2019-03-04 21:09:03 +01:00 |
|
Windel Bouwman
|
f7a22254a6
|
Add return annotation and fix tests in parser.
|
2019-03-04 20:29:34 +01:00 |
|
Windel Bouwman
|
6544f60d9b
|
Add type annotations to parser.
|
2019-03-04 19:24:34 +01:00 |
|
Aviv Palivoda
|
933c8dc792
|
Use py_module macro
|
2019-03-04 18:30:37 +02:00 |
|
Aviv Palivoda
|
d2061004a3
|
Use py_class macro
|
2019-03-04 18:27:33 +02:00 |
|
Adam
|
4ce0a7c216
|
Merge pull request #586 from RustPython/joey/float-range-any-payload
Convert more objects to `Any` payload
|
2019-03-04 14:40:06 +00:00 |
|
Joey Hain
|
2d71f6de28
|
bytes and bytearray
|
2019-03-03 20:01:07 -08: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 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 |
|
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 |
|
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 |
|
coolreader18
|
f364ea5943
|
Fix a bunch of clippy lints
|
2019-03-01 18:41:45 -06: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 |
|
Joey Hain
|
67f8c02087
|
cleanup
|
2019-02-27 20:05:04 -08:00 |
|
Joey Hain
|
713edc57ee
|
Convert some objstring methods to new style.
|
2019-02-27 19:53:31 -08:00 |
|
Aviv Palivoda
|
8087ccf274
|
Add socket.getsockname
|
2019-02-27 20:47:53 +02:00 |
|
Aviv Palivoda
|
dc0bd73d12
|
Fix compiler warnings
|
2019-02-27 20:23:02 +02:00 |
|
Aviv Palivoda
|
4191ba67b3
|
Copy instead of clone
|
2019-02-27 20:19:10 +02:00 |
|
Aviv Palivoda
|
716eb4afca
|
Add validation to connect and bind address
|
2019-02-27 19:54:39 +02:00 |
|
Aviv Palivoda
|
dff6b0be36
|
Rename sk to socket_kind
|
2019-02-27 19:54:39 +02:00 |
|
Aviv Palivoda
|
2bdbc40a45
|
socket.recv read amount of bytes asked
|
2019-02-27 19:50:31 +02:00 |
|
ricky han
|
0a2aa1e64b
|
fix compile
|
2019-02-26 17:39:56 -05:00 |
|
Windel Bouwman
|
d6242ac6e3
|
Use py_module macro on ast module.
|
2019-02-26 22:27:59 +01:00 |
|
Windel Bouwman
|
f2e60b24e1
|
Add initial platform module.
|
2019-02-26 21:42:38 +01:00 |
|