Commit Graph

  • 9d25a216de fix some tests, run clippy jgirardet 2019-04-10 21:39:16 +02:00
  • 54c7335f1c SyntaxError for non ascii char Jimmy Girardet 2019-04-10 18:05:28 +02:00
  • 751c3d52e2 use vec! for int arg in bytes new jgirardet 2019-04-10 13:24:31 +02:00
  • e04275b199 Missed get_key_values_pairs removal in wasm. Adam Kelly 2019-04-10 09:48:53 +01:00
  • 8f840d5376 Pick code review nits. Adam Kelly 2019-04-10 09:26:18 +01:00
  • 9a92159413 Remove unneeded Cell on DictIter. Adam Kelly 2019-04-10 09:26:03 +01:00
  • 977f56ade1 add bytes.fromhex Jimmy Girardet 2019-04-10 10:08:10 +02:00
  • cbdab226d9 Change #[pymethod(property)] to #[pyproperty] coolreader18 2019-04-09 22:07:21 -05:00
  • 5cc83a35aa hex Jimmy Girardet 2019-04-09 17:08:38 +02:00
  • 9b763072fe add upper lower Jimmy Girardet 2019-04-09 16:23:56 +02:00
  • d84ad431e1 Merge pull request #811 from RustPython/dict_view_len Adam 2019-04-09 14:09:49 +01:00
  • 6c745f68dd fix typo, fix bytesinner.add now return Vec[u8] Jimmy Girardet 2019-04-09 14:43:13 +02:00
  • 2940c7cc28 add islpaha isalnum isdigit islower isupper isspace istitle Jimmy Girardet 2019-04-09 14:33:29 +02:00
  • ec5fd550de Implement IntoIterator for PyDictRef. Adam Kelly 2019-04-09 11:25:18 +01:00
  • 25d3f83e4d Add __len__ to dictionary views. Adam Kelly 2019-04-09 10:44:04 +01:00
  • 31fd2936c5 Merge pull request #796 from RustPython/dict_iters Adam 2019-04-09 11:11:14 +01:00
  • f3f3d8a478 Merge branch 'Ryex-ryex-list.__delitem__slice_error' Adam Kelly 2019-04-09 10:31:55 +01:00
  • 39042e6475 Merge pull request #805 from Ryex/ryex-list.__setitem__ Adam 2019-04-09 10:24:48 +01:00
  • 958a0a2600 Merge pull request #809 from skinny121/dict_test_cleanup Adam 2019-04-09 10:19:32 +01:00
  • d9216c87f1 Remove done todo. Adam Kelly 2019-04-09 10:17:17 +01:00
  • 23a4b1e9d8 Additional tests for dictionary iteration. Adam Kelly 2019-04-09 10:13:44 +01:00
  • 046e4b3fe3 Cleanup dict test snippet ben 2019-04-09 20:43:59 +12:00
  • 981c14fb0d Merge pull request #795 from RustPython/coolreader18/wasm-cleanup1 Windel Bouwman 2019-04-09 07:46:24 +02:00
  • 422ab69b99 Use impl style classes coolreader18 2019-04-08 21:50:38 -05:00
  • c581852b5b Merge branch 'master' into coolreader18/wasm-cleanup1 coolreader18 2019-04-08 21:49:04 -05:00
  • 1568637d26 Merge branch 'master' into coolreader18/wasm-cleanup1 coolreader18 2019-04-08 21:41:45 -05:00
  • 1101b6571c fix error related to #746 but for list.__delitem__ Rachel Powers 2019-04-08 16:17:57 -06:00
  • b2a1f6580b fix error when start or stop of slice is -1 and step != 1 Rachel Powers 2019-04-08 15:56:06 -06:00
  • b535958310 add getitem, fix contain error_message jgirardet 2019-04-08 23:12:40 +02:00
  • 4d53ddedb0 test for if iter raises error Rachel Powers 2019-04-08 14:45:34 -06:00
  • 8e07719e81 Merge branch 'master' of github.com:RustPython/RustPython into symbol-table Windel Bouwman 2019-04-08 22:32:00 +02:00
  • 4c50defa37 extend PyIterable::try_from_object to work with sequences Rachel Powers 2019-04-08 13:46:23 -06:00
  • 8232a4d285 finish contains jgirardet 2019-04-08 21:27:44 +02:00
  • d0e6d2fa32 add tests for custom iters Rachel Powers 2019-04-08 13:18:37 -06:00
  • 4e277cfcc2 move to useing PyIterable Rachel Powers 2019-04-08 12:41:28 -06:00
  • e7e126e31d Fix whats_left.sh coolreader18 2019-04-08 12:30:53 -05:00
  • 21e890daa4 Merge pull request #802 from andrew-ld/master Windel Bouwman 2019-04-08 17:05:52 +02:00
  • b1a95f669f Initial version of symbol table builder. Windel Bouwman 2019-04-08 17:02:27 +02:00
  • 3aa110a296 add .gitignore andrew 2019-04-08 16:03:35 +02:00
  • 2811f27bb5 add a warning andrew 2019-04-08 16:03:24 +02:00
  • 29e9753e51 Even newer style class definitions. Adam Kelly 2019-04-08 15:02:04 +01:00
  • 2d127b9834 Use macro to generate full set of views and iterators. Adam Kelly 2019-04-08 11:58:11 +01:00
  • 5c4755ffd7 Separate iterators for items/keys/values. Adam Kelly 2019-04-08 11:08:45 +01:00
  • 9c32de954b Add iterator for dictionary keys. Adam Kelly 2019-04-06 17:09:41 +01:00
  • 86928114fa resolve conflict Jimmy Girardet 2019-04-08 10:33:56 +02:00
  • c487f12222 Merge branch 'master' into seq jgirardet 2019-04-08 09:36:37 +02:00
  • 0e264426c9 fix import Jimmy Girardet 2019-04-08 09:12:22 +02:00
  • a23b5bc470 cleanup and cargo fmt Rachel Powers 2019-04-07 19:32:11 -06:00
  • 7910c95ff0 Merge pull request #785 from palaviv/set-inner Joey 2019-04-07 18:20:37 -07:00
  • 118c98ccc7 exhaustive (hopefully) test snippets Rachel Powers 2019-04-07 19:12:03 -06:00
  • 4d8a56aea1 list.__setitem__ with slice and int indexing Rachel Powers 2019-04-07 19:09:44 -06:00
  • ec65b8480f add contains jgirardet 2019-04-08 00:45:53 +02:00
  • 3c736c1f94 iter jgirardet 2019-04-08 00:11:20 +02:00
  • abc72e9992 contains return bool Aviv Palivoda 2019-04-07 23:54:42 +03:00
  • dddf9fee39 gt lt ge le jgirardet 2019-04-07 22:42:47 +02:00
  • ec98b4d6bf repr len eq jgirardet 2019-04-07 22:36:13 +02:00
  • 5ae921dc57 update function support iterable Aviv Palivoda 2019-04-07 23:26:59 +03:00
  • 848350d334 ior support only set and frozenset Aviv Palivoda 2019-04-07 23:06:42 +03:00
  • 3ed8727ee5 symmetric_difference support iterable Aviv Palivoda 2019-04-07 23:01:49 +03:00
  • 53aa57dbbe Merge pull request #803 from RustPython/joey/self-by-ref coolreader18 2019-04-07 14:54:08 -05:00
  • e011e3f327 intersection and difference support iterable Aviv Palivoda 2019-04-07 22:36:56 +03:00
  • fa369ff779 Limit non-operator versions to set and frozenset Aviv Palivoda 2019-04-07 21:58:37 +03:00
  • c2e03ed342 fix int.__float__ Joey Hain 2019-04-07 11:55:13 -07:00
  • f538a92007 pybytes.__new__ ok jgirardet 2019-04-07 20:34:27 +02:00
  • 3bc1e3598c Use PyIterable Aviv Palivoda 2019-04-07 21:26:20 +03:00
  • ea61599da4 range: take self by ref Joey Hain 2019-04-07 09:41:52 -07:00
  • e70f174eb6 str: take self by ref Joey Hain 2019-04-07 09:35:39 -07:00
  • aec33634ca int: take self by ref Joey Hain 2019-04-07 09:27:03 -07:00
  • a0aa88d2fb clear return implicit None Aviv Palivoda 2019-04-07 20:02:27 +03:00
  • 2eb8e7bf2b new ok for pybytes jgirardet 2019-04-07 18:55:35 +02:00
  • 48cca16dd7 Merge pull request #801 from skinny121/dict_copy_update Windel Bouwman 2019-04-07 12:24:51 +02:00
  • f03a164c14 use a code generator for not implemented tests andrew 2019-04-07 12:22:10 +02:00
  • f4964dafbf Merge pull request #798 from skinny121/keyword_only_args Windel Bouwman 2019-04-07 12:11:15 +02:00
  • 90ded15339 Merge pull request #799 from RustPython/joey/ref-receiver Adam 2019-04-07 10:02:03 +01:00
  • 8a5d6ca79e Merge pull request #800 from skinny121/warning_classes Adam 2019-04-07 09:51:23 +01:00
  • 7e965c7cc8 check encoding in new jgirardet 2019-04-07 10:12:57 +02:00
  • 32051c9d96 Implement copy and update dict methods ben 2019-04-07 19:19:39 +12:00
  • 02a21cd072 Add builtin warning classes ben 2019-04-07 09:46:45 +12:00
  • 7ca3b77fcd Just a fn coolreader18 2019-04-06 23:55:30 -05:00
  • 5afc558564 Add id() method coolreader18 2019-04-06 23:47:01 -05:00
  • c2716040d2 float: take self by shared ref Joey Hain 2019-04-06 19:05:18 -07:00
  • be55562457 Allow first argument to be a shared ref to a python value Joey Hain 2019-04-06 12:56:09 -07:00
  • 10cbf2ae74 bytes._new stuff jgirardet 2019-04-07 01:49:16 +02:00
  • 51732feaed Use get_item_option from ItemProtocol instead of get_item ben 2019-04-07 07:43:29 +12:00
  • d5a9d96d62 Expose function.__defaults__ and function.__kwdefaults__(only getters) ben 2019-04-07 07:36:07 +12:00
  • 5fd3cf2bcd Implemented keyword only defaults ben 2019-04-06 20:29:25 +13:00
  • d64554dab2 Merge pull request #797 from palaviv/os-dirs Windel Bouwman 2019-04-06 20:25:00 +02:00
  • ea95fb2b4e Merge pull request #794 from RustPython/generic_dict Windel Bouwman 2019-04-06 20:18:22 +02:00
  • 401ca08b65 Use map_err Aviv Palivoda 2019-04-06 21:11:58 +03:00
  • a21aa6eac9 Add os.listdir Aviv Palivoda 2019-04-06 19:14:23 +03:00
  • bf6b12266a Add os.rmdir Aviv Palivoda 2019-04-06 18:30:40 +03:00
  • 2ec6afeb11 Add os.mkdirs Aviv Palivoda 2019-04-06 18:24:06 +03:00
  • eb9378fe90 Add os.mkdir Aviv Palivoda 2019-04-06 18:20:18 +03:00
  • 3aeaa05f1a Merge branch 'master' into coolreader18/wasm-cleanup1 coolreader18 2019-04-06 10:11:07 -05:00
  • e67d5f3c62 Parameterise dictdatatype::Dict by value type. Adam Kelly 2019-04-06 15:27:46 +01:00
  • d577bb7ac9 Merge pull request #787 from palaviv/os-fd Windel Bouwman 2019-04-06 17:02:31 +02:00
  • 1faa7fa202 Merge pull request #783 from Ryex/ryex-impl-list.__delitem__ Windel Bouwman 2019-04-06 16:56:21 +02:00
  • 0f6a25c38e Merge pull request #791 from RustPython/dict_protocols Windel Bouwman 2019-04-06 16:48:30 +02:00
  • a6858befbc Merge pull request #792 from RustPython/docstring-fix Windel Bouwman 2019-04-06 16:39:33 +02:00
  • 04acfe2665 Remove failing line in windows Aviv Palivoda 2019-04-06 17:29:52 +03:00