Commit Graph

  • 4666a09b20 Merge pull request #735 from RustPython/joey/range-cleanup Joey 2019-03-23 14:35:18 -07:00
  • 590b659548 Change validate_set_or_frozenset to a function Aviv Palivoda 2019-03-23 23:24:57 +02:00
  • da3dfa6c03 Merge pull request #734 from RustPython/joey/socket-cleanup Joey 2019-03-23 14:18:14 -07:00
  • 3177824474 Fix test- Joey 2019-03-23 12:57:17 -07:00
  • 18ed00a653 Range cleanups Joey 2019-03-23 12:48:28 -07:00
  • e4e7da3d54 Some socket cleanups Joey 2019-03-23 12:21:55 -07:00
  • cecc2e1835 Merge pull request #732 from palaviv/super-classmethod coolreader18 2019-03-23 14:17:06 -05:00
  • 0aabe88c5d Put browser class methods into impl blocks coolreader18 2019-03-23 14:04:14 -05:00
  • 9050799cc4 Merge branch 'master' into coolreader18/wasm-browser-dom coolreader18 2019-03-23 13:22:07 -05:00
  • 65e00a8f32 Merge pull request #730 from RustPython/joey/remove-frompyobjecterf Joey 2019-03-23 11:05:10 -07:00
  • 1d820a9586 Use payload_is Aviv Palivoda 2019-03-23 20:01:11 +02:00
  • 2f9a49d077 Support classmethod super Aviv Palivoda 2019-03-23 19:56:00 +02:00
  • af0194d51e Merge pull request #731 from RustPython/cleaning-tweaks Joey 2019-03-23 10:49:09 -07:00
  • f413beb051 Fix test Joey 2019-03-23 10:03:40 -07:00
  • fa8d3524bf Use extend_class macro even more Windel Bouwman 2019-03-23 17:49:49 +01:00
  • 2aee2981e3 Remove FromPyObjectRef, replace with downcast Joey 2019-03-23 09:38:00 -07:00
  • dc05d5f94b Remove Refcell around PyFrozenSet elements Aviv Palivoda 2019-03-23 11:06:18 +02:00
  • 2626a800ab Support frozenset Aviv Palivoda 2019-03-23 11:04:40 +02:00
  • a830d8e131 Add PyDocument and PyElement coolreader18 2019-03-23 09:36:15 -05:00
  • 430bc4bac2 Fix vm.import when there are no frames on stack coolreader18 2019-03-23 09:35:53 -05:00
  • 9b4d719197 Merge pull request #728 from RustPython/remove_attribute_protocol Windel Bouwman 2019-03-23 13:13:34 +01:00
  • 441560b691 Delete Attribute Protocol. Adam Kelly 2019-03-23 10:23:24 +00:00
  • 386f90fa25 Remove PyContext.get_attr. Adam Kelly 2019-03-23 10:19:42 +00:00
  • 9630c5cee1 Merge pull request #727 from RustPython/wasm_no_attribute_protocol Windel Bouwman 2019-03-23 12:13:02 +01:00
  • 8fa315110e Merge pull request #726 from RustPython/bool_magic_methods Windel Bouwman 2019-03-23 11:41:36 +01:00
  • c8bdb249b0 Remove attribute protocol from wasm. Adam Kelly 2019-03-23 10:11:39 +00:00
  • 9ebbde8126 Replace special cases in boolval with __bool__ method on types. Adam Kelly 2019-03-23 09:31:42 +00:00
  • 26a238085f Merge pull request #724 from RustPython/cleaning-tweaks Adam 2019-03-23 09:14:50 +00:00
  • cea5341473 Merge pull request #723 from skinny121/isinstance_classref Adam 2019-03-23 09:14:16 +00:00
  • b93f96d491 Increase usage of extend_class macro. Windel Bouwman 2019-03-23 09:16:32 +01:00
  • 983cb9e886 Fix Never::class signature ben 2019-03-23 19:35:42 +13:00
  • 4e7e503785 Fix wasm build, to reflect that isinstance now takes a PyClassRef ben 2019-03-23 19:05:56 +13:00
  • ad584df120 Allow context.set_attr to accept PyRef values in addition to PyObjectRef ben 2019-03-23 16:05:04 +13:00
  • c1d5ce715f Change isinstance/issubclass to accept PyClassRef instead of PyCObject. Also changed PyValue::class to return a PyClassRef. ben 2019-03-23 13:34:30 +13:00
  • b7fa08eb36 Merge pull request #722 from RustPython/joey/unboxed-payload-2 Joey 2019-03-22 20:29:36 -07:00
  • 3f98a8ab1b Merge pull request #721 from skinny121/context_ref_types Joey 2019-03-22 19:14:01 -07:00
  • 050bf0730e Remove HeldRcInner Joey 2019-03-22 19:10:22 -07:00
  • 85ffde7382 Fix wasm Joey Hain 2019-03-22 18:37:06 -07:00
  • c06b1c70df Fix merge issue Joey Hain 2019-03-22 18:05:24 -07:00
  • 7b4b0979f4 Merge remote-tracking branch 'origin/master' into joey/unboxed-payload-2 Joey Hain 2019-03-22 18:04:15 -07:00
  • bb161a5a67 Remove Box from PyObject Joey Hain 2019-03-22 18:04:09 -07:00
  • b354b86b7b Fix none_new, return same object that is in PyContext ben 2019-03-23 08:59:05 +13:00
  • 5c7812734d Use more specific ref type than PyObjectRef in PyContext ben 2019-03-23 08:40:38 +13:00
  • 79a7aed46d Make logo larger coolreader18 2019-03-22 18:12:08 -05:00
  • c430b5a597 Fix logo in README coolreader18 2019-03-22 18:10:46 -05:00
  • cf78d6b3eb Add logo to README coolreader18 2019-03-22 18:09:05 -05:00
  • 52943bf73c Merge pull request #710 from RustPython/class_get_attr_2 Adam 2019-03-22 22:21:55 +00:00
  • bcc3aa0910 Merge pull request #720 from RustPython/cleaning-tweaks Joey 2019-03-22 13:56:39 -07:00
  • c67cb07d9d Rename class_has_item and class_has_attr. Adam Kelly 2019-03-22 20:54:14 +00:00
  • 50437f8a75 Use class_get_attr in various places where we need the internal interface Adam Kelly 2019-03-21 13:21:10 +00:00
  • 909b38e774 Adapt objobject to avoid AttributeProtocol. Adam Kelly 2019-03-21 13:20:16 +00:00
  • 66adc25201 objtype - replace AttributeProtocol access with class_get_attr. Adam Kelly 2019-03-21 13:19:29 +00:00
  • 68ba050030 Use the extend class macro more. Windel Bouwman 2019-03-22 20:45:34 +01:00
  • c8026f980e Merge pull request #718 from RustPython/master coolreader18 2019-03-22 13:57:12 -05:00
  • 8f6d8a78de Keepalive WASM webpack build coolreader18 2019-03-22 13:14:08 -05:00
  • 162c2dc207 Merge branch 'coolreader18/multiline-repl' coolreader18 2019-03-22 11:27:05 -05:00
  • 7ed4bc4aa8 Merge pull request #698 from palaviv/super Windel Bouwman 2019-03-22 17:13:13 +01:00
  • 2c8657c3b3 Add load_cell to NameProtocol Aviv Palivoda 2019-03-22 10:45:58 +02:00
  • 84e89d37e2 Use __class__ cell in super Aviv Palivoda 2019-03-21 18:56:18 +02:00
  • 6230a25c4b Use first argument in super Aviv Palivoda 2019-03-19 22:50:58 +02:00
  • 5e74d53fb4 Merge pull request #716 from palaviv/fix-format coolreader18 2019-03-22 09:32:54 -05:00
  • 474577beca Fix format Aviv Palivoda 2019-03-22 16:23:15 +02:00
  • a9e2cc90d4 Merge pull request #714 from RustPython/coolreader18/immutable-vm-ref coolreader18 2019-03-22 07:36:45 -05:00
  • 18be23a2ec Merge branch 'master' into coolreader18/multiline-repl coolreader18 2019-03-22 07:29:53 -05:00
  • 36ff4e37d3 Use vm.get_attribute coolreader18 2019-03-22 07:29:14 -05:00
  • 5c8c4a849d Merge branch 'master' into coolreader18/multiline-repl coolreader18 2019-03-22 07:27:10 -05:00
  • 79666c255a Fix some issues wrt mutability coolreader18 2019-03-22 07:24:06 -05:00
  • b0d8935731 Merge branch 'master' into coolreader18/immutable-vm-ref coolreader18 2019-03-22 07:21:45 -05:00
  • e7eff34e13 Merge pull request #709 from RustPython/avoid_attribute_protocol Adam 2019-03-22 11:42:30 +00:00
  • 23ee751880 Use vm.get_attribute to access attributes of modules. Adam Kelly 2019-03-21 13:06:45 +00:00
  • 2c93c79ac8 Immutable prompt variable coolreader18 2019-03-22 01:53:55 -05:00
  • 243826679c Remove unnecessary &mut coolreader18 2019-03-22 01:51:44 -05:00
  • a9051ab462 Convert all &mut VirtualMachine to &VirtualMachine coolreader18 2019-03-22 01:48:14 -05:00
  • 0838e301c7 Merge pull request #706 from RustPython/immutable-vm Windel Bouwman 2019-03-22 07:06:18 +01:00
  • 88d6926f78 Make the REPL handle continuation better coolreader18 2019-03-21 20:25:16 -05:00
  • 08520a68cf Merge pull request #700 from RustPython/coolreader18/wasm-example-npm Windel Bouwman 2019-03-21 18:40:20 +01:00
  • 90db9812e5 Merge pull request #707 from RustPython/joey/proper-pyref-display Joey 2019-03-21 09:32:02 -07:00
  • 19fc202e1a Classmethod/staticmethod - rewrite using structs and new style methods. Adam Kelly 2019-03-21 13:03:51 +00:00
  • ce120c13b7 Merge pull request #705 from RustPython/into_pystringref Adam 2019-03-21 12:13:19 +00:00
  • e66b5078a8 Introduce TryIntoRef<T> to make vm.get_attribute more usable. Adam Kelly 2019-03-20 14:34:41 +00:00
  • 59807710f7 Merge remote-tracking branch 'origin/master' into joey/proper-pyref-display Joey 2019-03-21 03:43:40 -07:00
  • 5a1a436c1e Merge pull request #708 from skinny121/descriptor_set_delete Adam 2019-03-21 10:43:10 +00:00
  • 4ad8d5ed9b Make property.__get__ owner parameter optional ben 2019-03-21 19:57:35 +13:00
  • a5f6a7b10d Implement calling __set__ and __delete__ ben 2019-03-20 21:16:10 +13:00
  • f5bbc7f664 Merge pull request #701 from RustPython/coolreader18/fix-wasm-import-json coolreader18 2019-03-21 01:01:02 -05:00
  • ed60b19612 Use vm.{,de}serialize in rustpython_wasm coolreader18 2019-03-21 00:10:02 -05:00
  • d024e7ed8d Switch from an stdlib function to a vm method coolreader18 2019-03-21 00:08:36 -05:00
  • 7a980b3b47 Merge branch 'master' into coolreader18/fix-wasm-import-json coolreader18 2019-03-20 23:58:19 -05:00
  • 0b1b6682c1 Fix Display impl for PyRef Joey Hain 2019-03-20 18:32:25 -07:00
  • 54753b3d14 list, tuple: return NotImplemented for unsupported comparisons Joey Hain 2019-03-20 18:32:08 -07:00
  • 8c0419e6b4 Put RefCell around frames member of VirtualMachine. This allows for VirtualMachine to be immutable. Windel Bouwman 2019-03-20 20:29:08 +01:00
  • 6c660c9a6f Merge pull request #699 from RustPython/coolreader18/fix-clippy1 coolreader18 2019-03-20 09:03:41 -05:00
  • 3731148237 Merge branch 'master' into coolreader18/fix-clippy1 coolreader18 2019-03-20 09:03:07 -05:00
  • e35cc813a8 Rename to Unnamed and Named coolreader18 2019-03-20 08:58:35 -05:00
  • 4c485202d1 Merge pull request #703 from RustPython/add_class_cell Windel Bouwman 2019-03-20 13:56:03 +01:00
  • 1958e47022 Add __class__ cell to method scopes. Adam Kelly 2019-03-20 09:20:28 +00:00
  • 32cb59909e Merge pull request #694 from skinny121/setattr Adam 2019-03-20 08:35:00 +00:00
  • 08e66b5002 Create workaround for properties on None ben 2019-03-17 19:53:16 +13:00
  • a5050ebafe Make property return itself if invoke by class binding ben 2019-03-17 14:49:32 +13:00
  • 6c3a402eca Fix setting attributes on modules ben 2019-03-17 12:38:12 +13:00