Commit Graph

  • 84457e6e92 Add some benchmark scripts. Windel Bouwman 2019-04-17 15:04:50 +02:00
  • 2a8b586622 Fix caching of rust modules. Windel Bouwman 2019-04-17 14:03:18 +02:00
  • 240c1e42db Merge pull request #839 from RustPython/nonlocal Windel Bouwman 2019-04-17 14:02:04 +02:00
  • 6d1b807c77 Improve error message of unwrap operation on nonlocal scope. Windel Bouwman 2019-04-17 12:59:56 +02:00
  • 06563a36f6 Support mutual importing modules. Windel Bouwman 2019-04-17 12:33:09 +02:00
  • 75e8f81e77 Merge pull request #767 from skinny121/slice_new Windel Bouwman 2019-04-17 12:11:04 +02:00
  • 780ee8a767 Merge pull request #840 from RustPython/coolreader18/fix-unsetenv-test Windel Bouwman 2019-04-17 12:08:02 +02:00
  • 9b71424d4e Use slice.xxx_index() methods in setslice and delslice ben 2019-04-17 20:02:08 +12:00
  • f2873a519d Merge branch 'master' into slice_new ben 2019-04-17 19:44:46 +12:00
  • 11bf84e8c1 Fix test again coolreader18 2019-04-16 21:59:34 -05:00
  • 96d6c518e9 Fix os.unsetenv test for windows coolreader18 2019-04-16 19:40:01 -05:00
  • 6abf1511e9 Add nonlocal support. Windel Bouwman 2019-04-16 17:19:57 +02:00
  • d7275c7712 Merge pull request #837 from skinny121/main_rs_cleanup coolreader18 2019-04-16 06:58:18 -05:00
  • 827f830d09 Merge pull request #836 from RustPython/coolreader18/no-proc-macro-hack coolreader18 2019-04-16 06:51:44 -05:00
  • 224863583b Use new_syntax error in main.rs ben 2019-04-16 19:13:39 +12:00
  • dc63fc8ce7 Switch to span-based errors for pyclass and pyimpl coolreader18 2019-04-15 22:14:12 -05:00
  • 08babef619 Remove the __inside_vm hack for procedural macros coolreader18 2019-04-15 20:24:16 -05:00
  • 78db5ea311 Merge pull request #835 from RustPython/coolreader18/weakproxy Windel Bouwman 2019-04-15 17:35:04 +02:00
  • 2c3f4b6de4 Merge pull request #816 from RustPython/dict_changed_during_iteration Adam 2019-04-15 15:53:37 +01:00
  • dfbaf3cdf0 Remove pub from PyDict.entries (easy TODO) Adam Kelly 2019-04-15 13:23:15 +01:00
  • c9b479c43b Guard for changes in dictionary size during iteration. Adam Kelly 2019-04-11 09:19:23 +01:00
  • 1612c954a1 Add weakproxy test coolreader18 2019-04-14 20:14:54 -05:00
  • cc76bf7a1f Add weakproxy class coolreader18 2019-04-14 20:09:15 -05:00
  • 5855baf4ec Merge pull request #834 from dkaste/rust-2018-macros coolreader18 2019-04-14 17:06:45 -05:00
  • a8e064b1c0 Import TypeProtocol before use in type_check! Darren Kaste 2019-04-14 17:19:44 -04:00
  • daaeb78831 Prefix helper macro calls with $crate Darren Kaste 2019-04-14 17:08:35 -04:00
  • 79623f4e7a str: proper titlecase support Joey 2019-04-14 12:23:09 -07:00
  • 143e329f79 Merge pull request #831 from palaviv/exception-context coolreader18 2019-04-14 13:31:10 -05:00
  • 2ffd1c9484 Fix typo Aviv Palivoda 2019-04-14 20:39:28 +03:00
  • 4068a36ce8 Use assertRaises Aviv Palivoda 2019-04-14 20:38:34 +03:00
  • b6ce407391 Remove else and finally from in_exc_handler Aviv Palivoda 2019-04-14 19:05:28 +03:00
  • aec7f84960 Print exception context Aviv Palivoda 2019-04-14 18:52:01 +03:00
  • 188758929d Add more tests to exception context Aviv Palivoda 2019-04-14 18:42:23 +03:00
  • 3ec9b01928 Add exception __context__ Aviv Palivoda 2019-04-14 18:22:15 +03:00
  • 2c2925a684 Support reraise Aviv Palivoda 2019-04-12 17:22:52 +03:00
  • 51aa817a81 Merge pull request #829 from skinny121/unittest_rustpython Windel Bouwman 2019-04-14 10:49:21 +02:00
  • 71b6e2abf0 Merge pull request #806 from RustPython/symbol-table Windel Bouwman 2019-04-14 10:44:43 +02:00
  • 307689a15e comment out lines that reference mappingproxy as type doesn't yet have a __dict__ ben 2019-04-14 17:47:51 +12:00
  • 8f3319e01d Merge pull request #827 from RustPython/joey/titlecase coolreader18 2019-04-13 22:59:04 -04:00
  • 762c281dd4 address feedback Joey 2019-04-13 19:07:15 -07:00
  • a708ce2eb2 Remove needless format! ben 2019-04-14 12:15:55 +12:00
  • d24dd170e9 Changes to RustPython to support importing and running unittest ben 2019-04-14 12:09:54 +12:00
  • c0d328ad18 Merge pull request #828 from skinny121/rust_1_34_update coolreader18 2019-04-13 19:20:06 -04:00
  • 6650ad895a Fix a bunch of clippy warnings ben 2019-04-14 10:07:50 +12:00
  • 1f8181b561 Update formatting to be consistent with rustfmt included in 1.34 ben 2019-04-14 09:40:59 +12:00
  • 8839461028 str: improve {is,}title impl and add tests Joey 2019-04-13 12:45:09 -07:00
  • 56765681f8 Merge pull request #826 from RustPython/joey/fix-compile coolreader18 2019-04-13 14:21:26 -05:00
  • 16644daffa Fix sub-crate compilation Joey 2019-04-13 12:04:33 -07:00
  • 733d3a1d1f Merge master branch Windel Bouwman 2019-04-13 12:51:55 +02:00
  • be4e3170af Merge pull request #822 from jgirardet/addbytesm Windel Bouwman 2019-04-13 12:41:35 +02:00
  • 83ea419c63 Add load and store of global to name protocol. Windel Bouwman 2019-04-13 11:55:10 +02:00
  • 78ab68a64e Merge pull request #817 from skinny121/function_metadata Adam 2019-04-13 09:44:33 +01:00
  • 73dbcfbe01 Add bytes.center fix str.center add some tests introduce is_byte jgirardet 2019-04-12 16:30:57 +02:00
  • bd78f7e12b add capitalize jgirardet 2019-04-13 08:21:37 +02:00
  • 2c887905a1 Merge pull request #766 from jgirardet/seq coolreader18 2019-04-12 16:41:36 -05:00
  • 22203975fa Merge pull request #821 from palaviv/excpetion-cause coolreader18 2019-04-12 16:08:54 -05:00
  • 256abe63b6 Use vm.new_type_error Aviv Palivoda 2019-04-12 23:08:26 +03:00
  • 20e0cc8bd7 Use assertRaises Aviv Palivoda 2019-04-12 23:06:53 +03:00
  • a91cfd16bf Fix WASM import error coolreader18 2019-04-12 14:28:26 -04:00
  • 774b0d8e45 Merge pull request #823 from adrian17/remove-impl coolreader18 2019-04-12 13:27:06 -05:00
  • 76659fd985 Merge pull request #820 from skinny121/gen_throw Windel Bouwman 2019-04-12 19:38:54 +02:00
  • 456c8a19ce Merge pull request #819 from palaviv/os-env Windel Bouwman 2019-04-12 19:33:33 +02:00
  • 585e6e5428 Drop IntoPyNativeFunc impl to fix Nightly/Beta breakages. Adrian Wielgosik 2019-04-12 19:28:09 +02:00
  • 76c597f2af Add global bytecode and testcase. Windel Bouwman 2019-04-12 19:24:23 +02:00
  • 785854ac9e Merge pull request #818 from RustPython/dir_str_bug Adam 2019-04-12 15:26:49 +01:00
  • 908f758cbe Print cause on exception Aviv Palivoda 2019-04-12 15:50:17 +03:00
  • 80ec464d84 Use dict.update to combine class and object attrs in object_dir. Adam Kelly 2019-04-12 12:25:19 +01:00
  • 63643e1fdb Implement generator.throw ben 2019-04-12 20:30:37 +12:00
  • 6c4b092641 Support exception __cause__ Aviv Palivoda 2019-04-12 10:50:45 +03:00
  • 28cf4c0010 Symbol role scan fully covered. Windel Bouwman 2019-04-11 22:18:29 +02:00
  • b293956258 Use original _Environ as much as possible Aviv Palivoda 2019-04-11 19:15:37 +03:00
  • 1272829793 Comment unsupported code from _collections_abc.py Aviv Palivoda 2019-04-11 19:03:08 +03:00
  • eb40e08d8a Add _collections_abc.py from CPython Aviv Palivoda 2019-04-11 19:02:04 +03:00
  • 69e49e6cba Simplify os.py Aviv Palivoda 2019-04-11 18:44:09 +03:00
  • 4293b11429 Add environ class Aviv Palivoda 2019-04-11 18:37:42 +03:00
  • c33593efa9 Remove getenv and add environ Aviv Palivoda 2019-04-09 09:31:31 +03:00
  • 951659a54d Add os.unsetenv Aviv Palivoda 2019-04-08 19:20:58 +03:00
  • 9b475a2c41 Add os.putenv Aviv Palivoda 2019-04-08 19:15:02 +03:00
  • 72467069be Add os.getenv Aviv Palivoda 2019-04-08 19:10:31 +03:00
  • 42a3b7a75c Merge pull request #815 from RustPython/refactor_ast Adam 2019-04-11 16:43:19 +01:00
  • 8569145751 Define classes for all the ast types. Adam Kelly 2019-04-11 15:03:39 +01:00
  • 8a14665575 Ast refactor: Everything can fail. Adam Kelly 2019-04-11 14:49:24 +01:00
  • d7e0ceec12 New (PyRef<T>) style types. Adam Kelly 2019-04-11 09:34:12 +01:00
  • aa38a1aa51 Start refactor of ast. Adam Kelly 2019-04-10 10:59:04 +01:00
  • 664554bc5e Fix dir bug - not including object attributes correctly. Adam Kelly 2019-04-11 15:21:56 +01:00
  • 7cf3135878 Merge pull request #812 from RustPython/dict_eq Windel Bouwman 2019-04-11 13:33:18 +02:00
  • 2164cb5e65 Produce correct value for __qualname__ and add attributes to class. ben 2019-04-11 20:11:26 +12:00
  • 84eff4a7ac Add __name__ and __module__ to functions ben 2019-04-10 20:56:40 +12:00
  • b70f989952 dict equality - objects always equal themselves. Adam Kelly 2019-04-11 08:39:03 +01:00
  • bd5772d914 Implement dict.__eq__ Adam Kelly 2019-04-09 12:03:02 +01:00
  • 939f109375 Merge branch 'dict_into_iter' Adam Kelly 2019-04-11 08:29:13 +01:00
  • aeb84936ff Merge branch 'master' into dict_into_iter Adam Kelly 2019-04-11 08:28:12 +01:00
  • 58a393f047 Merge pull request #804 from jgirardet/refactore_bytes Windel Bouwman 2019-04-11 08:20:01 +02:00
  • ef55efb631 Merge pull request #814 from RustPython/coolreader18/pyproperty-attr coolreader18 2019-04-10 22:19:00 -05:00
  • 6a190e39f3 Fix __radd__ and __rmul__ coolreader18 2019-04-10 20:41:06 -05:00
  • dd4539b1a6 Change to use PyClassImpl::extend_class coolreader18 2019-04-10 18:02:30 -05:00
  • c5f4eab142 Change objint to impl style with properties coolreader18 2019-04-10 17:55:24 -05:00
  • 2bdaa02700 Improve error messages coolreader18 2019-04-10 17:45:07 -05:00
  • d099165e3b Rename item_name -> item_ident coolreader18 2019-04-10 17:41:45 -05:00
  • 47bd9680f9 Change ClassItem to enum coolreader18 2019-04-10 17:41:25 -05:00