Commit Graph

1793 Commits

Author SHA1 Message Date
Windel Bouwman
79b4f62300 Merge pull request #642 from RustPython/joey/function-to-any
Convert function, method, builtin_*, frame, and generator to Any payload
2019-03-10 09:12:20 +01:00
Ryan Liddle
f57d2e22bf Merge pull request #649 from jaroel/context-manager-open
Make IOBase a context manager
2019-03-10 13:41:26 +11:00
Ryan Liddle
6072954024 Merge pull request #647 from RustPython/joey/no-arg-functions
Allow functions that don't take any args
2019-03-10 13:34:53 +11:00
Roel Bruggink
8f6257b37f Make open a context manager 2019-03-10 03:11:28 +01:00
Joey Hain
cd3ca16693 Allow functions that don't take any args 2019-03-09 16:46:29 -08:00
Joey
6eea40799b generator 2019-03-09 09:28:15 -08:00
Joey
53e4591911 frame 2019-03-09 09:28:12 -08:00
Joey
c1180fc564 builtin_function_or_method 2019-03-09 08:45:46 -08:00
Joey Hain
5a74121c76 method 2019-03-09 07:11:28 -08:00
Joey Hain
dd56d1d5a2 function 2019-03-09 07:09:53 -08:00
Joey
010969f2d2 Merge pull request #641 from RustPython/py_module_use
Use py_module at more places.
2019-03-09 07:04:43 -08:00
Joey
1444a1f98c Merge pull request #640 from RustPython/type_annotations2
Add __annotations__ attribute to functions.
2019-03-09 07:04:32 -08:00
Joey
fae776d4ae Merge pull request #638 from adrian17/tuple_list
Convert most tuple/list methods to new args style
2019-03-09 07:04:02 -08:00
Windel Bouwman
6ba5b091e9 Use py_module at more places. 2019-03-09 12:38:14 +01:00
Windel Bouwman
adde4e731f Merge pull request #616 from coolreader18/wasm-syntax-error-location
[WASM] Add row and column info of a syntax error to the JS error
2019-03-09 12:13:23 +01:00
Windel Bouwman
c1ddcbb05f Merge pull request #632 from palaviv/socket-errors
Socket OSError
2019-03-09 11:55:03 +01:00
Windel Bouwman
3f492e5a3f Add __annotations__ attribute to functions. 2019-03-09 11:48:35 +01:00
Aviv Palivoda
8df0e46c32 Try to fix windows CI errors 2019-03-09 09:29:33 +02:00
Adam
56bb6d23cc Merge pull request #634 from RustPython/joey/map-zip-filter-enumerate-to-any
Convert map, zip, filter, and enumerate to Any payload
2019-03-09 06:42:04 +00:00
Adam
3730ca2b43 Merge pull request #551 from coolreader18/store-rcs-in-stored-vm
[WASM] Keep a PyObjectWeakRef to the PyObjectRef being moved to a closure
2019-03-09 06:36:01 +00:00
Adam
9e827cfc9d Merge pull request #631 from RustPython/py_module_payload
Replace PyObjectPayload::Module with PyModule.
2019-03-09 06:33:15 +00:00
Joey Hain
a2951f8a8b enumerate 2019-03-08 18:29:58 -08:00
Joey Hain
9544a47f46 filter 2019-03-08 18:29:57 -08:00
Joey Hain
9d8bdd7012 zip 2019-03-08 18:29:51 -08:00
Joey Hain
303e19d713 map 2019-03-08 18:29:41 -08:00
coolreader18
f1b156dfbf Merge branch 'master' into store-rcs-in-stored-vm 2019-03-08 20:03:13 -06:00
Adam
9a3b731894 Merge pull request #612 from RustPython/type_annotations2
Compile type annotations on function.
2019-03-08 21:34:40 +00:00
Adrian Wielgosik
10531191bb Convert most tuple/list methods to new args style 2019-03-08 20:43:20 +01:00
Windel Bouwman
8362b8da80 Merge pull request #623 from RustPython/code-of-conduct
Add a code of conduct
2019-03-08 18:53:43 +01:00
Windel Bouwman
502f8098b4 Change returns into return. 2019-03-08 18:51:20 +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
3f665ce673 Replace PyObjectPayload::Module with PyModule. 2019-03-08 08:43:07 +00:00
Adam
0febcb9c23 Merge pull request #625 from RustPython/py_class
Add PyClass.
2019-03-08 08:10:35 +00:00
Adam
21382fadbd Merge branch 'master' into py_class 2019-03-08 08:04:23 +00:00
Adam
50de0856ff Merge pull request #627 from RustPython/joey/list-tuple-any
Convert list and tuple to Any payload
2019-03-08 07:22:42 +00:00
Adam
d44129c53c Merge pull request #629 from coolreader18/anyrustvalue-debug
Have AnyRustValue actually format with its own Debug impl
2019-03-08 06:50:55 +00:00
Adam
9b317af586 Merge pull request #628 from coolreader18/objcode-any
Convert CodeObject payload to AnyRustValue
2019-03-08 06:50:26 +00:00
Adam
406ec46ce8 Merge pull request #619 from skinny121/class_property
Fix __class__
2019-03-08 06:47:55 +00:00
Adam
62a2344ba5 Merge pull request #621 from RustPython/pynone
Pynone
2019-03-08 06:47:27 +00:00
Joey
1bcbb28715 Convert list and tuple to Any payload 2019-03-07 21:10:43 -08:00
coolreader18
87a58786af Have AnyRustValue actually format with its own Debug impl 2019-03-07 22:20:10 -06:00
coolreader18
231ab682b9 Convert CodeObject payload to AnyRustValue 2019-03-07 22:18:23 -06:00
ben
4b1cd72355 Add todo for using PyClassRef when that lands 2019-03-08 17:04:32 +13:00
coolreader18
c563a6d498 Convert Python errors to JS errors with row 2019-03-07 20:48:14 -06:00
Joey
3495b04e1a Merge pull request #624 from adrian17/string
Convert most remaining string methods to implicit args
2019-03-07 18:33:12 -08:00
coolreader18
5569f8d322 Merge branch 'master' of git://github.com/RustPython/RustPython into wasm-syntax-error-location 2019-03-07 20:27:11 -06:00
Joey
29e902957e Merge pull request #615 from adrian17/float
Migrate PyFloat to new method style
2019-03-07 12:42:14 -08:00