Commit Graph

  • cb0b6a80c5 Merge pull request #759 from RustPython/joey/convert-bytes Joey 2019-03-30 14:48:43 -07:00
  • a49895ef63 Cleanup slice_new and added more slice tests ben 2019-03-31 09:55:18 +13:00
  • 5625f7e15e Allow arbitrary in slice, and convert slice.__new__ to new style ben 2019-03-31 09:29:21 +13:00
  • 7d18a1ce60 Fix #746: invalid slice with start or stop =-1 when step<0 jgirardet 2019-03-30 21:47:20 +01:00
  • c2d04f97d8 bytes: add tests for NotImplemented Joey Hain 2019-03-30 13:33:50 -07:00
  • 83c1d4fe10 Merge remote-tracking branch 'origin/master' into joey/convert-bytes Joey Hain 2019-03-30 13:31:43 -07:00
  • d9efe4ea37 Require a #[pymethod] for a method to be recognized coolreader18 2019-03-29 16:16:31 -05:00
  • 8376ec2d98 Use doc comments for python __doc__ coolreader18 2019-03-29 15:17:58 -05:00
  • ab6031871c impl PyStringRef using py_class coolreader18 2019-03-29 14:51:42 -05:00
  • 4222d87e31 Merge branch 'master' into coolreader18/py_class-proc-macro coolreader18 2019-03-29 13:54:55 -05:00
  • c5c91818a5 Merge pull request #755 from skinny121/int_new_args Joey 2019-03-29 09:13:25 -07:00
  • c724fdaabe Merge pull request #761 from adrian17/re coolreader18 2019-03-29 10:58:11 -04:00
  • ce9a909b9d Change kind identifier to fully use python terminology ben 2019-03-29 19:03:13 +13:00
  • b5dc5a28e7 Merge branch 'master' into int_new_args ben 2019-03-29 18:51:19 +13:00
  • ff85838556 Add #[py_class] attribute proc macro coolreader18 2019-03-29 00:16:34 -05:00
  • 6618def266 Merge pull request #763 from adrian17/more-args coolreader18 2019-03-28 19:10:03 -04:00
  • 8f1ec3dd23 Convert slice::{start, stop, stop} to new args style Adrian Wielgosik 2019-03-28 23:06:38 +01:00
  • d5e2b3a8b6 Convert iterators next() to new args style Adrian Wielgosik 2019-03-28 22:42:21 +01:00
  • 792c6a103e Convert re to new style args Adrian Wielgosik 2019-03-27 18:56:42 +01:00
  • 73cd680d8d Add support for trailing comma in function defs. Parser code simplications. Windel Bouwman 2019-03-28 17:50:41 +01:00
  • 149aefe470 Merge pull request #757 from RustPython/joey/convert-bytearray Joey 2019-03-28 08:16:49 -07:00
  • da4df08516 Merge pull request #758 from RustPython/joey/convert-builtins Joey 2019-03-28 08:16:35 -07:00
  • e1865fed82 Merge pull request #743 from RustPython/coolreader18/update-deps coolreader18 2019-03-28 11:16:21 -04:00
  • 6fd6cc647b Renamed ArgKind, and member to be consistent with python inspect module ben 2019-03-28 22:00:55 +13:00
  • c8f4474e7f Implement handling of optional attribute in proc macro ben 2019-03-28 21:46:26 +13:00
  • 657d025592 Change syntax of attributes in FromArgs proc macro ben 2019-03-28 21:34:11 +13:00
  • b621a13415 Merge branch 'master' into coolreader18/update-deps coolreader18 2019-03-27 22:32:42 -04:00
  • e0aca86473 bytes: convert methods to new args style Joey Hain 2019-03-27 19:17:27 -07:00
  • e4272126cf bytes: return NotImplemented where appropriate Joey Hain 2019-03-27 19:15:38 -07:00
  • b0d7960cc5 bytes: move methods to impl block Joey Hain 2019-03-27 19:14:37 -07:00
  • 62842e6d19 convert some builtins Joey Hain 2019-03-27 19:00:34 -07:00
  • 57fa041d08 bytearray: convert to new args style Joey 2019-03-27 18:05:33 -07:00
  • e048037146 Merge pull request #756 from adrian17/objobject Joey 2019-03-27 17:51:20 -07:00
  • 89f63e4c9a Convert objobject.rs to new args style Adrian Wielgosik 2019-03-27 18:58:30 +01:00
  • c2eb6643f3 Merge pull request #754 from adrian17/master Windel Bouwman 2019-03-27 21:09:01 +01:00
  • 40dd75d513 Upgrade lalrpop Adrian Wielgosik 2019-03-26 20:22:33 +01:00
  • 3ca387b509 Enhance FromArgs derive proc macro to allow positional, and positional or keyword arguments. ben 2019-03-28 05:55:15 +13:00
  • 1cda87a239 Merge pull request #752 from RustPython/more_dict_cleanup Windel Bouwman 2019-03-27 15:53:14 +01:00
  • c644176547 Modules have attributes, not items. Adam Kelly 2019-03-26 15:38:40 +00:00
  • 4cb7f026de Remove unnecessary cast to pyobject in kwarg construction. Adam Kelly 2019-03-26 15:38:19 +00:00
  • 14d3aab528 Merge pull request #753 from adrian17/master Windel Bouwman 2019-03-26 19:34:05 +01:00
  • c5203a4934 Remove .gcno files before a coverage run Adrian Wielgosik 2019-03-26 19:00:06 +01:00
  • 5ef8220d20 Merge pull request #751 from RustPython/scope_holds_dictionaries Joey 2019-03-26 09:33:31 -07:00
  • 4a5592d461 Change types inside Scope to PyDictRef. Adam Kelly 2019-03-26 15:16:30 +00:00
  • e68eb9c409 Merge pull request #750 from RustPython/joey/cleanup-type-protocol Adam 2019-03-26 12:00:12 +00:00
  • 625d2357bd Fix wasm Joey Hain 2019-03-25 19:34:24 -07:00
  • 8bdc766bed Use name field directly Joey Hain 2019-03-25 19:32:58 -07:00
  • 6474a4a6ef Remove objtype::get_type_name() Joey Hain 2019-03-25 19:18:07 -07:00
  • cc4f3fdb40 Clean up TypeProtocol Joey Hain 2019-03-25 19:18:01 -07:00
  • e819ca6b87 Merge branch 'master' into coolreader18/update-deps coolreader18 2019-03-25 21:41:32 -04:00
  • ac2a5e281c Add comment explaining bytes -> Uint8Array conversion coolreader18 2019-03-24 13:36:13 -04:00
  • 17b816fbf8 Fix objset compilation error caused by merge race. Adam Kelly 2019-03-25 20:37:47 +00:00
  • cac9da4c35 Merge pull request #748 from RustPython/attributes_and_dictionaries Adam 2019-03-25 20:30:46 +00:00
  • 20c09f025a Merge pull request #747 from adrian17/master Windel Bouwman 2019-03-25 20:41:39 +01:00
  • 6ae10ed938 Fix build and add extend_class macro usage for set and frozenset Windel Bouwman 2019-03-25 20:23:13 +01:00
  • 983be0f944 Merge pull request #725 from palaviv/frozen-set-2 Windel Bouwman 2019-03-25 19:54:52 +01:00
  • e47032f9e4 Merge pull request #749 from adrian17/tests-cleanup Windel Bouwman 2019-03-25 19:38:11 +01:00
  • 2131a8130c Clean up some tests Adrian Wielgosik 2019-03-25 17:55:17 +01:00
  • 16e04cf298 Run rustpython tests without cargo middleman Adrian Wielgosik 2019-03-25 17:54:04 +01:00
  • 4ab59a8e4c Do not run benchmarks in the main test suite Adrian Wielgosik 2019-03-25 17:53:13 +01:00
  • e44b02b88f Avoid trace log in tests Adrian Wielgosik 2019-03-25 17:52:37 +01:00
  • 55e0fb1f19 AST class for nodes instead of just using object everywhere. Adam Kelly 2019-03-25 16:39:25 +00:00
  • bbb7162472 Various dictionary changes. Adam Kelly 2019-03-25 16:37:20 +00:00
  • 602f2a83da Update grcov Adrian Wielgosik 2019-03-25 17:35:21 +01:00
  • 17c3f9f024 builtin_locals can just return a reference to the locals dict. Adam Kelly 2019-03-25 16:34:07 +00:00
  • 3562b8f59c Store class attributes inside PyClass struct. Adam Kelly 2019-03-25 11:21:01 +00:00
  • 9989795141 Merge pull request #742 from RustPython/emoji-support Adam 2019-03-25 10:39:09 +00:00
  • ca11e7dea7 Add support for emoji as name. Windel Bouwman 2019-03-24 20:16:38 +01:00
  • 0409e8197b Merge pull request #744 from RustPython/joey/range-new-style Joey 2019-03-24 11:49:34 -07:00
  • f2d562a4cc pyint: use as_bigint() everywhere Joey 2019-03-24 10:05:25 -07:00
  • 9a0113deed range: represent w/ int refs Joey 2019-03-24 09:57:26 -07:00
  • c2e1e9b0dc Convert range to new args style Joey 2019-03-24 08:51:26 -07:00
  • 565719dcda Update cargo dependencies coolreader18 2019-03-24 11:26:41 -05:00
  • 3b582760b4 Merge pull request #733 from RustPython/coolreader18/wasm-browser-dom coolreader18 2019-03-24 10:47:46 -05:00
  • 9d78fa5df2 Merge pull request #719 from adrian17/type-subclasses Joey 2019-03-24 08:22:11 -07:00
  • 6450612bdf Merge branch 'master' into coolreader18/wasm-browser-dom coolreader18 2019-03-24 08:54:51 -05:00
  • 0ac1c1f19c Add line continuation for the WASM demo terminal coolreader18 2019-03-24 08:42:18 -05:00
  • d0c4fcb2fa Doing what is needed for all our non-latin friends. Windel Bouwman 2019-03-24 13:14:38 +01:00
  • e39df6daef Basic implementation of T.__subclasses__(). Adrian Wielgosik 2019-03-22 19:18:33 +01:00
  • a895ab35ae Make PyWeak::downgrade take a reference Adrian Wielgosik 2019-03-22 19:13:26 +01:00
  • 9a6f7aa8a1 Make PyRef::clone not require T implementing Clone Adrian Wielgosik 2019-03-22 19:12:33 +01:00
  • fbd0860f1b Merge pull request #740 from skinny121/into_object_cleanup Joey 2019-03-23 21:28:39 -07:00
  • 12564da369 Rustfmt? coolreader18 2019-03-23 22:46:21 -05:00
  • ec433cdbb9 Fix rustfmt again (?) coolreader18 2019-03-23 22:17:21 -05:00
  • 3f363585e8 Panic if value poped of stack isn't a code object. ben 2019-03-24 16:08:17 +13:00
  • 5441f3f89c Merge pull request #739 from RustPython/joey/range-getitem-either Joey 2019-03-23 19:10:37 -07:00
  • 946103bca8 Merge branch 'master' into coolreader18/wasm-browser-dom coolreader18 2019-03-23 20:12:26 -05:00
  • 84d47d21cf Rename to just Either Joey 2019-03-23 17:51:12 -07:00
  • 6eb93a7000 Move code methods into impl PyCodeRef ben 2019-03-24 13:50:50 +13:00
  • 0f2889a0e5 Fix weird rustfmt coolreader18 2019-03-23 19:46:46 -05:00
  • db8e648646 Make PyFunction.code a PyCodeRef, PyGenerator.frame a FrameRef, and other improvements to increase use of specific ref types. ben 2019-03-24 13:41:37 +13:00
  • dc68101577 Refactor type_new_class to use more specific ref types ben 2019-03-24 12:07:29 +13:00
  • 3c15d892c5 Avoid some cloning Joey 2019-03-23 15:57:06 -07:00
  • e5066da94e Merge remote-tracking branch 'origin/master' into joey/range-getitem-either Joey 2019-03-23 15:50:12 -07:00
  • b6f1ecdb4b Fix example Joey 2019-03-23 15:49:31 -07:00
  • a1560103ea Merge pull request #737 from skinny121/object_type_pyclassref Joey 2019-03-23 15:41:19 -07:00
  • a5558e0e32 Introduce Either extractor and convert range.__getitem__ Joey 2019-03-23 15:05:12 -07:00
  • faf1925a25 Remove usages of PyClassRef::from_pyobj ben 2019-03-24 09:08:03 +13:00
  • 00540dec35 Fix wasm, to reflect that PyObject.typ is now a PyClassRef ben 2019-03-24 08:12:07 +13:00
  • 6fa059fd6c Make PyObject.typ a PyClassRef ben 2019-03-23 18:52:53 +13:00