Adam Kelly
|
aeaa94966f
|
Remove PyObject::new from objmap.
|
2019-03-19 16:24:19 +00:00 |
|
Adam Kelly
|
6b3f61f3ca
|
Merge branch 'master' into objdict_refactor
|
2019-03-19 10:19:03 +00:00 |
|
Joey
|
c57be01711
|
Merge pull request #691 from RustPython/joey/builtin-print-newargs
Convert print() builtin to new args style
|
2019-03-18 09:35:46 -07:00 |
|
Windel Bouwman
|
39ee9172ff
|
Merge pull request #693 from RustPython/joey/just-use-pyfuncargs
FromArgs: use PyFuncArgs instead of iterator
|
2019-03-17 07:34:59 +01:00 |
|
Joey
|
18b57188ba
|
Add a custom derive for FromArgs
|
2019-03-16 17:13:23 -07:00 |
|
Joey
|
7cb889d42c
|
Rebase against #693 and simplify
|
2019-03-16 16:38:28 -07:00 |
|
Joey
|
6550c52fa9
|
None doesn't mean no sep/end
|
2019-03-16 16:29:09 -07:00 |
|
Joey
|
55e7982835
|
Don't need while let
|
2019-03-16 16:29:09 -07:00 |
|
Joey
|
e83686cf3c
|
Add clarifying note to KwArgs docs
|
2019-03-16 16:29:09 -07:00 |
|
Joey
|
d3b9714754
|
Convert print() builtin to new args style
|
2019-03-16 16:29:09 -07:00 |
|
Joey
|
7be5b8dafe
|
FromArgs: use PyFuncArgs instead of iterator
|
2019-03-16 16:07:59 -07:00 |
|
Joey
|
3242ff3003
|
Merge pull request #690 from RustPython/joey/kwargs-surprise-positional
Handle unexpected positional argument in KwArgs
|
2019-03-16 12:58:35 -07:00 |
|
Joey
|
60ed1bd0a7
|
Handle unexpected positional argument in KwArgs
|
2019-03-16 10:18:46 -07:00 |
|
Joey
|
a32ebd530e
|
Merge pull request #688 from RustPython/joey/pyobject-function-split
Move function items out of pyobject module
|
2019-03-16 09:15:51 -07:00 |
|
Joey
|
9de7285d23
|
Merge remote-tracking branch 'origin/master' into joey/pyobject-function-split
Conflicts:
vm/src/frame.rs
vm/src/obj/objbytearray.rs
vm/src/obj/objbytes.rs
vm/src/obj/objcomplex.rs
|
2019-03-16 08:37:18 -07:00 |
|
Adam
|
94e3cb8363
|
Merge pull request #682 from RustPython/prefer_pyvalue_into_ref
Prefer pyvalue into ref
|
2019-03-16 10:14:21 +00:00 |
|
Adam Kelly
|
9eeeeeae48
|
Change return type of vm.to_repr and vm.to_str to PyStringRef.
|
2019-03-16 09:42:54 +00:00 |
|
Adam Kelly
|
2f5c3ef1df
|
Use PyStringRef to check type of dictionary keys.
|
2019-03-16 09:42:54 +00:00 |
|
Adam Kelly
|
a718a5a723
|
Refactor dict methods to new style declarations.
|
2019-03-16 09:42:54 +00:00 |
|
Adam Kelly
|
da6c56a001
|
Use extend_class in declaration of dictionary.
|
2019-03-16 09:22:02 +00:00 |
|
Adam Kelly
|
1f1b48c612
|
into_ref now needs the vm rather than a context.
|
2019-03-16 09:21:12 +00:00 |
|
Windel Bouwman
|
dbce329190
|
Merge pull request #687 from chylli/fix-any-memory-leak
#639
|
2019-03-16 10:18:27 +01:00 |
|
Chylli
|
6923490afc
|
more test
|
2019-03-16 13:55:29 +08:00 |
|
Chylli
|
40a4e373af
|
try
|
2019-03-16 13:52:57 +08:00 |
|
Chylli
|
144a8ae179
|
more test
|
2019-03-16 13:33:14 +08:00 |
|
Joey
|
7bfd2e6e84
|
Move function items out of pyobject module
|
2019-03-15 21:27:11 -07:00 |
|
Chylli
|
cf82a256da
|
test any
|
2019-03-16 11:16:09 +08:00 |
|
Adam
|
0e6e8b617d
|
Merge branch 'master' into prefer_pyvalue_into_ref
|
2019-03-15 22:11:51 +00:00 |
|
Windel Bouwman
|
7a4d653268
|
Merge pull request #679 from RustPython/joey/vm-not-pycontext
Make it possible to implement PyValue in stdlib
|
2019-03-15 19:23:39 +01:00 |
|
Windel Bouwman
|
bbe2704678
|
Merge pull request #684 from palaviv/selenium
Selenium tests for WASM
|
2019-03-15 19:19:03 +01:00 |
|
Windel Bouwman
|
ca47ddc02c
|
Merge pull request #672 from coolreader18/wasm-vm-exec_single
Use compile::Mode::Single for the demo terminal
|
2019-03-15 19:10:25 +01:00 |
|
Adam Kelly
|
e8e8544b4b
|
Avoid use of PyObject in objcomplex.
|
2019-03-15 16:09:04 +00:00 |
|
Aviv Palivoda
|
abb4d41e5b
|
Add selenium test to travis
|
2019-03-15 17:24:34 +02:00 |
|
coolreader18
|
5b5d3e789a
|
Merge branch 'coolreader18/wasm-remove-hashmap-rcs'
|
2019-03-15 07:25:43 -05:00 |
|
Adam Kelly
|
871ac15675
|
Avoid use of PyObject in objbytes.
|
2019-03-15 12:22:19 +00:00 |
|
Adam Kelly
|
7aa9b94243
|
Avoid use of PyObject in objbytearray.
|
2019-03-15 12:21:48 +00:00 |
|
Adam Kelly
|
a0acc7aa6a
|
Avoid use of PyObject in frame.rs.
|
2019-03-15 12:21:05 +00:00 |
|
Adam Kelly
|
111208b46f
|
Remove PyRef::new/new_with_type.
|
2019-03-15 11:36:25 +00:00 |
|
Aviv Palivoda
|
f281aab721
|
Move selenium test to wasm folder
|
2019-03-15 10:01:10 +02:00 |
|
Aviv Palivoda
|
3d95b70e0f
|
Add selenium test for wasm
|
2019-03-15 09:13:55 +02:00 |
|
Joey
|
976afeda31
|
Add helper for obtaining class from module
|
2019-03-14 23:08:07 -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 |
|
coolreader18
|
a1e0c03a34
|
Merge pull request #670 from coolreader18/pyvaluepayload
Add PyObjectPayload trait and use it for PyObject.payload
|
2019-03-14 21:05:55 -05:00 |
|
coolreader18
|
8c1f18157d
|
Remove leftover trace from debugging
|
2019-03-14 20:41:23 -05:00 |
|
coolreader18
|
f093aa4d6a
|
Merge branch 'master' into pyvaluepayload
|
2019-03-14 20:25:51 -05:00 |
|
coolreader18
|
d7299bac99
|
Remove the Rcs around the WASM global HashMaps
|
2019-03-14 18:13:26 -05:00 |
|
coolreader18
|
2af998ea86
|
Prevent recursion for Debug impls
|
2019-03-14 17:54:38 -05:00 |
|
Adam
|
529da3fdfe
|
Merge pull request #678 from RustPython/py_value_into_ref
Py value into ref
|
2019-03-14 16:22:46 +00:00 |
|
Joey
|
574be4ed3e
|
Merge pull request #674 from RustPython/subclass_str
Fix subclasses of string. (Fixes #130)
|
2019-03-14 08:54:09 -07:00 |
|