Commit Graph

  • 48dd507cad Remove dict from object ben 2019-03-17 12:22:31 +13:00
  • c77b1f3cf5 Fix bug with __getattr__ ben 2019-03-17 11:31:31 +13:00
  • 63d40edbc6 Added bunch af attribute has/get/set/delete tests and fixed getattr and hasattr handling of exceptions. ben 2019-03-16 20:49:29 +13:00
  • 4e42bd077c Implement __setattr__ based on @nhynes(#540) PR ben 2019-03-16 17:31:01 +13:00
  • de1bc937e7 Use json straight from json.rs coolreader18 2019-03-19 22:20:10 -05:00
  • b7916cdb53 Fix varargs errors coolreader18 2019-03-19 22:15:09 -05:00
  • ef3b9105ef Rename object_is back to payload_is coolreader18 2019-03-19 20:59:48 -05:00
  • 01bed2a051 Change the WASM example to use rustpython from npm coolreader18 2019-03-19 20:54:53 -05:00
  • 33b99b203f Some minor things coolreader18 2019-03-19 20:34:35 -05:00
  • ff5c203b0e impl From<&ast::Varargs> for bytecode::Varargs coolreader18 2019-03-19 20:13:03 -05:00
  • b30d56df29 Fix some more clippy warnings coolreader18 2019-03-19 20:02:06 -05:00
  • ab53883f67 Change varargs from Option<Option<_>> to its own enum coolreader18 2019-03-19 19:53:22 -05:00
  • 4c9527be47 Merge branch 'master' into coolreader18/fix-clippy1 coolreader18 2019-03-19 19:19:36 -05:00
  • 5b6b33b644 Merge pull request #697 from RustPython/more_pyobject Windel Bouwman 2019-03-19 19:21:44 +01:00
  • 415f44da79 Merge pull request #673 from RustPython/string-io Windel Bouwman 2019-03-19 19:12:08 +01:00
  • 1969c90d98 Merge pull request #696 from palaviv/super Windel Bouwman 2019-03-19 19:08:53 +01:00
  • 5384e07bf3 Remove PyObject::new from tuple and list. Adam Kelly 2019-03-19 17:15:14 +00:00
  • c6e7d8901f Remove use of PyObject::new from objset. Adam Kelly 2019-03-19 17:14:51 +00:00
  • 638196bce4 Eliminate PyObject::new from objenumerate. Adam Kelly 2019-03-19 16:42:40 +00:00
  • d38e89a811 Remove PyObject::new from objgenerator. Adam Kelly 2019-03-19 16:28:53 +00:00
  • aeaa94966f Remove PyObject::new from objmap. Adam Kelly 2019-03-19 16:24:19 +00:00
  • c3d0fddfcf Add PySuper Aviv Palivoda 2019-03-19 18:00:43 +02:00
  • f78f558404 Fix clippy lints coolreader18 2019-03-19 10:52:39 -05:00
  • 4b5e75ea5b Merge pull request #683 from RustPython/objdict_refactor Adam 2019-03-19 11:24:21 +00:00
  • 6b3f61f3ca Merge branch 'master' into objdict_refactor Adam Kelly 2019-03-19 10:19:03 +00:00
  • 50cc9fa91f super works in class methods Aviv Palivoda 2019-03-18 21:56:54 +02:00
  • 76dbd8c6e8 Apply cargo formatting. Windel Bouwman 2019-03-18 20:21:35 +01:00
  • ac2aecd6fe Disable file argument in test. Windel Bouwman 2019-03-18 20:00:55 +01:00
  • 18fc8c150b Merge master Windel Bouwman 2019-03-18 20:00:00 +01:00
  • 3191725022 Refactor into new-style PyObject Windel Bouwman 2019-03-18 17:48:46 +01:00
  • c57be01711 Merge pull request #691 from RustPython/joey/builtin-print-newargs Joey 2019-03-18 09:35:46 -07:00
  • 39ee9172ff Merge pull request #693 from RustPython/joey/just-use-pyfuncargs Windel Bouwman 2019-03-17 07:34:59 +01:00
  • 18b57188ba Add a custom derive for FromArgs Joey 2019-03-16 15:44:29 -07:00
  • 7cb889d42c Rebase against #693 and simplify Joey 2019-03-16 16:38:28 -07:00
  • 6550c52fa9 None doesn't mean no sep/end Joey 2019-03-16 13:10:49 -07:00
  • 55e7982835 Don't need while let Joey 2019-03-16 12:52:43 -07:00
  • e83686cf3c Add clarifying note to KwArgs docs Joey 2019-03-16 12:48:42 -07:00
  • d3b9714754 Convert print() builtin to new args style Joey 2019-03-16 11:23:20 -07:00
  • 7be5b8dafe FromArgs: use PyFuncArgs instead of iterator Joey 2019-03-16 16:07:59 -07:00
  • 3242ff3003 Merge pull request #690 from RustPython/joey/kwargs-surprise-positional Joey 2019-03-16 12:58:35 -07:00
  • 60ed1bd0a7 Handle unexpected positional argument in KwArgs Joey 2019-03-16 10:18:46 -07:00
  • a32ebd530e Merge pull request #688 from RustPython/joey/pyobject-function-split Joey 2019-03-16 09:15:51 -07:00
  • 9de7285d23 Merge remote-tracking branch 'origin/master' into joey/pyobject-function-split Joey 2019-03-16 08:37:18 -07:00
  • 94e3cb8363 Merge pull request #682 from RustPython/prefer_pyvalue_into_ref Adam 2019-03-16 10:14:21 +00:00
  • 9eeeeeae48 Change return type of vm.to_repr and vm.to_str to PyStringRef. Adam Kelly 2019-03-15 16:53:30 +00:00
  • 2f5c3ef1df Use PyStringRef to check type of dictionary keys. Adam Kelly 2019-03-15 14:01:36 +00:00
  • a718a5a723 Refactor dict methods to new style declarations. Adam Kelly 2019-03-15 13:21:35 +00:00
  • da6c56a001 Use extend_class in declaration of dictionary. Adam Kelly 2019-03-15 12:27:55 +00:00
  • 1f1b48c612 into_ref now needs the vm rather than a context. Adam Kelly 2019-03-16 09:21:12 +00:00
  • dbce329190 Merge pull request #687 from chylli/fix-any-memory-leak Windel Bouwman 2019-03-16 10:18:27 +01:00
  • 6923490afc more test Chylli 2019-03-16 13:55:29 +08:00
  • 40a4e373af try Chylli 2019-03-16 13:52:57 +08:00
  • 144a8ae179 more test Chylli 2019-03-16 13:33:14 +08:00
  • 7bfd2e6e84 Move function items out of pyobject module Joey 2019-03-15 21:27:11 -07:00
  • cf82a256da test any Chylli 2019-03-16 11:16:09 +08:00
  • 0e6e8b617d Merge branch 'master' into prefer_pyvalue_into_ref Adam 2019-03-15 22:11:51 +00:00
  • 7a4d653268 Merge pull request #679 from RustPython/joey/vm-not-pycontext Windel Bouwman 2019-03-15 19:23:39 +01:00
  • bbe2704678 Merge pull request #684 from palaviv/selenium Windel Bouwman 2019-03-15 19:19:03 +01:00
  • ca47ddc02c Merge pull request #672 from coolreader18/wasm-vm-exec_single Windel Bouwman 2019-03-15 19:10:25 +01:00
  • e8e8544b4b Avoid use of PyObject in objcomplex. Adam Kelly 2019-03-15 12:22:34 +00:00
  • abb4d41e5b Add selenium test to travis Aviv Palivoda 2019-03-15 10:03:35 +02:00
  • 5b5d3e789a Merge branch 'coolreader18/wasm-remove-hashmap-rcs' coolreader18 2019-03-15 07:25:43 -05:00
  • 871ac15675 Avoid use of PyObject in objbytes. Adam Kelly 2019-03-15 12:22:19 +00:00
  • 7aa9b94243 Avoid use of PyObject in objbytearray. Adam Kelly 2019-03-15 12:21:48 +00:00
  • a0acc7aa6a Avoid use of PyObject in frame.rs. Adam Kelly 2019-03-15 12:21:05 +00:00
  • 111208b46f Remove PyRef::new/new_with_type. Adam Kelly 2019-03-15 11:36:25 +00:00
  • f281aab721 Move selenium test to wasm folder Aviv Palivoda 2019-03-15 09:59:57 +02:00
  • 3d95b70e0f Add selenium test for wasm Aviv Palivoda 2019-03-15 09:13:55 +02:00
  • 976afeda31 Add helper for obtaining class from module Joey 2019-03-14 23:08:07 -07:00
  • fa9e48a5b3 Take &mut VirtualMachine insteadof &PyContext Joey 2019-03-14 21:38:57 -07:00
  • 737ec12fa5 Rename PyValue::{required_type => class} Joey 2019-03-14 20:08:41 -07:00
  • a1e0c03a34 Merge pull request #670 from coolreader18/pyvaluepayload coolreader18 2019-03-14 21:05:55 -05:00
  • 8c1f18157d Remove leftover trace from debugging coolreader18 2019-03-14 20:41:23 -05:00
  • f093aa4d6a Merge branch 'master' into pyvaluepayload coolreader18 2019-03-14 20:25:51 -05:00
  • d7299bac99 Remove the Rcs around the WASM global HashMaps coolreader18 2019-03-14 18:13:26 -05:00
  • 2af998ea86 Prevent recursion for Debug impls coolreader18 2019-03-14 17:54:38 -05:00
  • 529da3fdfe Merge pull request #678 from RustPython/py_value_into_ref Adam 2019-03-14 16:22:46 +00:00
  • 574be4ed3e Merge pull request #674 from RustPython/subclass_str Joey 2019-03-14 08:54:09 -07:00
  • b204c2b33e Add PyValue::into_ref and into_ref_with_type. Adam Kelly 2019-03-14 09:37:19 +00:00
  • 5b41cc4b0d Fix subclasses of string. (Fixes #130) Adam Kelly 2019-03-13 14:44:14 +00:00
  • 964a0410e0 Merge pull request #677 from skinny121/property Joey 2019-03-13 22:20:10 -07:00
  • 3f301bd684 Implement property attributes and functions ben 2019-03-11 20:38:54 +13:00
  • 4b655b9ab7 Fix recursive Scope Debug impl coolreader18 2019-03-13 22:48:16 -05:00
  • 36204f29fe Merge pull request #676 from adrian17/master Joey 2019-03-13 18:54:36 -07:00
  • b50ecf1023 Merge pull request #675 from skinny121/property_type_param Joey 2019-03-13 18:53:54 -07:00
  • 6b1598dbb4 Change some methods to return BigInt directly Adrian Wielgosik 2019-03-13 20:21:07 +01:00
  • f647f346f2 Use Into<BigInt> instead of ToBigInt to avoid copies Adrian Wielgosik 2019-03-13 20:07:57 +01:00
  • 067fc0927d Remove type parameter from PropertyBuilder ben 2019-03-14 07:24:49 +13:00
  • 913bb1438a Merge branch 'master' into wasm-vm-exec_single coolreader18 2019-03-13 08:20:42 -05:00
  • 6436d2cb9c fmt again coolreader18 2019-03-13 08:16:41 -05:00
  • c0b7ddfd2c Add write method to io.StringIO Windel Bouwman 2019-03-13 13:32:57 +01:00
  • 8dcea92bb2 Merge pull request #654 from coolreader18/wasm-explicit-stdout Windel Bouwman 2019-03-13 12:12:14 +01:00
  • f0e285d124 Merge pull request #665 from RustPython/type_mro Windel Bouwman 2019-03-13 12:05:59 +01:00
  • df68acb36b cargo fmt coolreader18 2019-03-12 23:20:17 -05:00
  • bde86d32b1 Use compile::Mode::Single for the demo terminal coolreader18 2019-03-12 22:46:55 -05:00
  • fb8351c5d1 Inline some functions coolreader18 2019-03-12 20:59:03 -05:00
  • 7bac1285d4 Fix all the tests coolreader18 2019-03-12 20:26:33 -05:00
  • f31003614a Fix wasm coolreader18 2019-03-12 19:42:52 -05:00
  • d305d4f74b Clean up a bit coolreader18 2019-03-12 19:06:12 -05:00
  • c0e572767e Rename PyValuePayload to PyObjectPayload coolreader18 2019-03-12 18:59:43 -05:00