Commit Graph

  • 30c8e477e4 style: rustfmt silmeth 2019-02-05 21:54:03 +01:00
  • d96e0ecf40 make division and modulo by 0 throw ZeroDivisionError silmeth 2019-02-05 21:28:48 +01:00
  • 0a1eb4b91b make len(range) throw OverflowError on too big ints + impl __repr__ silmeth 2019-02-05 20:58:38 +01:00
  • fb9fa27555 Fixed the 'redundant_field_names' clippy warnings ZapAnton 2019-02-05 01:01:11 +03:00
  • 74b84d4be1 Merge branch 'float-conversion' of github.com:makarchuk/RustPython into float-conversion Timur 2019-02-05 21:56:14 +03:00
  • 4b2787ea1d Comment out math from tests due to Travis errors Timur 2019-02-05 21:54:13 +03:00
  • b43c511542 fix range len() for negative and non-divisible steps silmeth 2019-02-05 19:49:14 +01:00
  • b0cbb23b43 Fixed the 'collapsible_if' clippy warnings ZapAnton 2019-02-05 02:09:17 +03:00
  • 0d3b218237 Fixed the 'toplevel_ref_arg' clippy warning ZapAnton 2019-02-05 01:57:13 +03:00
  • 526ed98d93 Fixed the 'needless_return' clippy warnings ZapAnton 2019-02-05 01:40:34 +03:00
  • 7134885775 Spellcheck stratusjerry 2019-02-05 13:39:16 -05:00
  • d445e3082a Fixed the 'unneeded_field_pattern' clippy warnings ZapAnton 2019-02-05 01:32:18 +03:00
  • 1a6840280b Fixed the 'ptr_arg' clippy warnings ZapAnton 2019-02-05 00:37:06 +03:00
  • 6fb91ddfed Fixed the 'len_zero' clippy warnings ZapAnton 2019-02-04 23:13:11 +03:00
  • 57e2beef3a Fixed the 'useless_format' clippy warning ZapAnton 2019-02-04 22:33:25 +03:00
  • 7941480fca Merge pull request #269 from mrecachinas/add-int-doc Windel Bouwman 2019-02-05 18:26:28 +01:00
  • 0f0ceeaa00 Merge pull request #332 from lausek/imports Windel Bouwman 2019-02-05 18:25:41 +01:00
  • fa91cc36e8 Merge pull request #329 from ZapAnton/int_invert Windel Bouwman 2019-02-05 18:14:21 +01:00
  • e481063ca6 Fixed duplicate os error. Windel Bouwman 2019-02-05 18:13:08 +01:00
  • 815dd0937a Merge pull request #309 from holygits/add-os-error Windel Bouwman 2019-02-05 17:59:14 +01:00
  • 676f60296d Merge pull request #330 from ichyo/string-len Windel Bouwman 2019-02-05 17:57:58 +01:00
  • 8e006274ed Merge pull request #325 from rmliddle/implement-io Windel Bouwman 2019-02-05 17:49:52 +01:00
  • b710eedb04 Merge pull request #324 from veera83372/refactor-py Windel Bouwman 2019-02-05 17:45:10 +01:00
  • f4af599167 added ImportError as builtin lausek 2019-02-05 17:41:05 +01:00
  • c7e6935e1c Get rid of exp usages Timur Makarchuk 2019-02-05 19:21:31 +03:00
  • 6ea784e78e Merge pull request #323 from vokar97/handle-index-overflow Adam 2019-02-05 16:00:07 +00:00
  • aee5090bd2 Merge pull request #321 from HomerMcMillan/tuple_comparisons Adam 2019-02-05 15:54:54 +00:00
  • d1b034e3b9 Avoid using \xhh for string ichyo 2019-02-05 23:54:39 +09:00
  • f8db0f1c94 raise ImportError in import list lausek 2019-02-05 15:42:39 +01:00
  • fc779c2e3a Use the number of characters instead of bytes for str.__len__ ichyo 2019-02-05 23:18:38 +09:00
  • 3d07ecdd1c int type: trunc and index lausek 2019-02-05 14:08:08 +01:00
  • 8c469a6466 int type: Added tests for the __invert__ ZapAnton 2019-02-05 15:25:07 +03:00
  • 5db2025dec int type: Added __invert__ ZapAnton 2019-02-05 15:20:17 +03:00
  • aa2dff4bd9 Format os.rs rmliddle 2019-02-05 23:08:45 +11:00
  • 86e94f587b Comment fix and use of i64 instead of i32 rmliddle 2019-02-05 22:47:33 +11:00
  • 73ae085ed8 implemented rounding funcs for int (#304) lausek 2019-02-05 12:47:30 +01:00
  • eca75b3611 Comment and formatted on windows rust_file call rmliddle 2019-02-05 22:18:24 +11:00
  • 0daa03875c windows fixes for os module Ryan Liddle 2019-02-05 22:14:14 +11:00
  • ea4059a18f Refactored: whats_left_to_implement.py veera venky 2019-02-05 16:04:01 +05:30
  • ca815baeaf Factored out unix dependency rmliddle 2019-02-05 20:57:06 +11:00
  • ebbd3d9f22 Add error handling for objsequence and objstr index overflow Vladimir Karamyshev 2019-02-05 10:17:43 +03:00
  • de3762cabf Add .run(); fix .addToScope(); add panic-catcher for debugging coolreader18 2019-02-05 00:39:16 -06:00
  • 7446a52c18 Fix error messages in tuple/list comparisons Homer McMillan 2019-02-05 00:27:36 -05:00
  • 63c83086c7 Merge pull request #320 from HomerMcMillan/tuple_comparisons Windel Bouwman 2019-02-05 06:24:30 +01:00
  • ed53a353c2 Merge pull request #316 from OddCoincidence/range-use-bigint Windel Bouwman 2019-02-05 06:21:04 +01:00
  • 2be174050a Merge pull request #305 from veera83372/master Windel Bouwman 2019-02-05 06:19:26 +01:00
  • aea929a284 Merge pull request #319 from holygits/fix-fileno Windel Bouwman 2019-02-05 06:18:30 +01:00
  • fb58ca3e6c Add comparison tests for tuple Homer McMillan 2019-02-04 23:31:39 -05:00
  • 696bf8e9a9 rustfmt Homer McMillan 2019-02-04 23:27:45 -05:00
  • 608a13eabb Add comparison operations for tuple Homer McMillan 2019-02-04 23:26:16 -05:00
  • 5cad1b0215 Revert 'file_no' -> 'fileno' attr naming holygits 2019-02-05 16:39:22 +13:00
  • f7c91c7df0 Add add_to_scope() method for WASM VM coolreader18 2019-02-04 20:36:19 -06:00
  • 9ac8e55695 Represent range with BigInts Joey Hain 2019-02-04 17:38:23 -08:00
  • 3bec2260bb Rename VMStore coolreader18 2019-02-04 18:58:53 -06:00
  • 9a37825f7b Add OSError Fix heirarchy or existing os errors holygits 2019-02-05 10:29:36 +13:00
  • d3fedecd61 Adding 'int.__bool__' method veera venky 2019-02-05 00:33:09 +05:30
  • f4a78d4148 Merge pull request #307 from veera83372/object-methods Windel Bouwman 2019-02-04 21:49:19 +01:00
  • b7b4a8a51b Merge branch 'master' into add-int-doc Windel Bouwman 2019-02-04 21:47:09 +01:00
  • 47d43a7fef Merge pull request #306 from HomerMcMillan/range-builtin Windel Bouwman 2019-02-04 21:46:07 +01:00
  • 1c07a2285d Merge pull request #268 from mrecachinas/add-bool-doc Windel Bouwman 2019-02-04 21:34:58 +01:00
  • 41d73c49a1 Merge branch 'master' into range-builtin HomerMcMillan 2019-02-04 15:14:43 -05:00
  • c8f2515f4b Added object expected methods to left to implement list veera venky 2019-02-05 01:42:32 +05:30
  • 64bd33e787 Add built in range type (addresses #294) Homer McMillan 2019-02-04 15:08:13 -05:00
  • 9dded0cb7b Replace context.new_property with context.new_str for int.__doc__ Michael Recachinas 2019-02-04 19:46:58 +00:00
  • 804def1522 Replace context.new_property with context.new_str for bool.__doc__ Michael Recachinas 2019-02-04 19:37:24 +00:00
  • b25aab006e Add type conversion to functions calls in math Timur 2019-02-04 22:16:49 +03:00
  • 2b22cd443e Implement clippy thoughts into rustpython_parser Windel Bouwman 2019-02-04 18:18:40 +01:00
  • 7096434f95 Implement some clippy tips Windel Bouwman 2019-02-04 17:17:54 +01:00
  • 55aa12b68f Merge pull request #299 from holygits/fix-unicode-handling Windel Bouwman 2019-02-04 13:48:41 +01:00
  • b7f6db753f Merge branch 'master' into fix-unicode-handling Windel Bouwman 2019-02-04 08:39:21 +01:00
  • 4242b66992 Merge pull request #301 from mrnugget/remove_dereference Windel Bouwman 2019-02-04 08:37:32 +01:00
  • 1e576b5baa Merge pull request #273 from skinny121/tuple_add Windel Bouwman 2019-02-04 08:27:41 +01:00
  • 0146e5f51c Remove unnecessary dereferences/references in compiler Thorsten Ball 2019-02-04 08:15:22 +01:00
  • caac5a34d5 Merge branch 'master' into tuple_add Windel Bouwman 2019-02-04 08:05:07 +01:00
  • 44e9658f52 Merge pull request #297 from HomerMcMillan/issue_295 Windel Bouwman 2019-02-04 07:48:17 +01:00
  • 235aa864f4 Merge pull request #296 from agude/int_conj Windel Bouwman 2019-02-04 07:43:13 +01:00
  • 371f8f81dc Merge pull request #298 from idbentley/alphebetize_exceptions Windel Bouwman 2019-02-04 07:42:42 +01:00
  • 33a3ec8832 Handle unicode string slicing with graphemes holygits 2019-02-04 15:40:30 +13:00
  • f2db23bb35 correct order of errors. idbentley 2019-02-03 16:40:14 -05:00
  • 055e577424 Fix panic on out of bounds negative index (addresses #295) Homer McMillan 2019-02-03 16:38:04 -05:00
  • 19557e8344 Alphebetize exception related code idbentley 2019-02-03 16:36:25 -05:00
  • 33523d492c Change int.conjugate() to return a new int Alexander Gude 2019-02-03 13:27:57 -08:00
  • 0f87d151a0 Merge pull request #289 from chaconnewu/198fix Windel Bouwman 2019-02-03 21:27:59 +01:00
  • 7c6fdbacf1 Merge pull request #279 from HomerMcMillan/list-orderable-ops Windel Bouwman 2019-02-03 21:25:35 +01:00
  • a95747f161 Add .conjugate() method to int type Alexander Gude 2019-02-03 11:18:23 -08:00
  • 190b2a43d9 Fixed formatting Matthew Constable 2019-02-03 18:34:35 +00:00
  • 0beceefd0c Add a few tests for sets which reflect new changes. Matthew Constable 2019-02-03 17:51:06 +00:00
  • da5046100b Able to create set from iterable. Matthew Constable 2019-02-03 17:25:24 +00:00
  • b433b7fcf0 Implemented remove() method on set. Matthew Constable 2019-02-03 17:01:32 +00:00
  • 353d881bac Fix missing seq_mul import Homer McMillan 2019-02-03 11:33:11 -05:00
  • 168e0e5471 Merge branch 'master' into list-orderable-ops HomerMcMillan 2019-02-03 11:17:09 -05:00
  • c022ac46e6 Refactored adding to set using hash into helper function. Matthew Constable 2019-02-03 16:09:44 +00:00
  • 6acb7eb006 Handle attempt to add non-hashable items to a set. Matthew Constable 2019-02-03 15:46:13 +00:00
  • d5801162bd Sets use python __hash__ functions when items are added - need to re-implement set creation from iterable Matthew Constable 2019-02-03 15:25:24 +00:00
  • 34c99b0c99 Merge pull request #278 from holygits/improve-fio-errs Windel Bouwman 2019-02-03 16:03:41 +01:00
  • 38ee8aeed6 Fix reverse method for calling div. Yu Wu 2019-02-03 07:02:36 -08:00
  • 384ae474de Merge pull request #282 from orf/use-xdg Windel Bouwman 2019-02-03 15:40:24 +01:00
  • a7d011f9c7 Merge pull request #270 from ZapAnton/str_isdecimal Windel Bouwman 2019-02-03 15:37:20 +01:00
  • ac0ea87ead Merge pull request #271 from holygits/bitshift Windel Bouwman 2019-02-03 15:35:50 +01:00
  • 00f86d1454 Merge pull request #288 from 11Takanori/fix-typo Windel Bouwman 2019-02-03 14:58:24 +01:00