Commit Graph

1690 Commits

Author SHA1 Message Date
Windel Bouwman
3bc9232eeb Merge pull request #272 from ZapAnton/fix_readme_testing
README: Clarified the 'Testing' section
2019-02-03 12:27:56 +01:00
Windel Bouwman
cdcddcc6c6 Merge pull request #281 from chaconnewu/198
Use call_or_unsupported for operators.
2019-02-03 11:50:09 +01:00
Windel Bouwman
1d7149e131 Merge pull request #280 from HomerMcMillan/list-pop
Add list.pop
2019-02-03 11:49:01 +01:00
Tom Forbes
a72dbf1d0c Use XDG paths to store Python history 2019-02-03 10:07:50 +01:00
Windel Bouwman
38bf2dde3d Merge pull request #274 from skinny121/tuple_mul
Add tuple.__mul__
2019-02-03 08:05:20 +01:00
Windel Bouwman
37e9f98859 Merge pull request #277 from 0xflotus/patch-1
fixed small errors
2019-02-03 08:02:21 +01:00
Homer McMillan
7b27fbf369 Add list.pop
Also include IndexError in the __builtin__ module.
2019-02-03 00:49:52 -05:00
Yu Wu
561eb8ed4f Use call_or_unsupported for operators. 2019-02-02 21:47:28 -08:00
Homer McMillan
8852435a3d Run cargo fmt 2019-02-02 23:05:32 -05:00
Homer McMillan
2b74727783 Fix broken test 2019-02-02 22:41:34 -05:00
Homer McMillan
ea1a7bb395 Add list.{__lt__, __gt__, __le__, __ge__} 2019-02-02 22:04:26 -05:00
holygits
8854430651 Better error handling for file io
Add FileNotFoundError
Add PermissionError
Minor idomatic clean ups
2019-02-03 14:53:21 +13:00
0xflotus
167aefa829 Update builtins.md 2019-02-03 02:35:05 +01:00
0xflotus
dae5b146ff fixed converter 2019-02-03 02:30:58 +01:00
ben
8f9b733a77 Add tuple.__mul__ 2019-02-03 13:59:43 +13:00
holygits
e8d1e10226 Implement __rshift__ and __lshift__ for integer 2019-02-03 12:38:38 +13:00
ZapAnton
8558b84b16 README: Replaced the 'pipenv shell' and the 'pytest -v' commands with the single 'pipenv run pytest -v' command in the 'Testing' section 2019-02-03 02:19:59 +03:00
ZapAnton
b55150c7bd README: Added the 'pipenv install' command to the 'Testing' section 2019-02-03 02:15:57 +03:00
ZapAnton
23de5581bd Added tests for the isdecimal method 2019-02-03 02:05:57 +03:00
ZapAnton
46b939721f str: Added the isdecimal method 2019-02-03 01:51:47 +03:00
Michael Recachinas
e557ff290a Suppress warning and rename obj to _zelf in arg_check 2019-02-02 21:39:06 +00:00
Michael Recachinas
f0abcff53d Add int.__doc__ (addresses #261) 2019-02-02 21:37:49 +00:00
Michael Recachinas
e0b41d1386 Add bool.__doc__ (addresses #260) 2019-02-02 21:25:14 +00:00
ben
b13b4741ad Add tuple.__add__. Also stop rustfmt from trying to format generated parser. 2019-02-02 17:40:17 +13:00
coolreader18
f47864f0ac Return Ok(()) from destroy() 2019-01-31 16:33:11 -06:00
coolreader18
136a476cd8 Call assert_valid() in destroy() 2019-01-31 16:13:55 -06:00
coolreader18
b32b732abe Run cargo fmt 2019-01-30 14:35:00 -06:00
coolreader18
d0a4f9d7f5 Make destroy() method public 2019-01-30 12:40:08 -06:00
coolreader18
f064bcaf57 Add ids() function to VMStore and destroy() method to VirtualMachine 2019-01-30 12:33:32 -06:00
coolreader18
13b2f83084 Fix vms.get() 2019-01-30 12:30:56 -06:00
coolreader18
4020ee7d41 Add a bare-bones VirtualMachine class to the WASM library 2019-01-30 12:18:59 -06:00
Windel Bouwman
328f81a28e Merge pull request #266 from coolreader18/format-mk-module
Format module building in a more readable way
2019-01-30 18:09:17 +01:00
Windel Bouwman
892493e464 Rename PyObjectKind into PyObjectPayload 2019-01-30 18:06:27 +01:00
coolreader18
37b5669bed Fix syntax error 2019-01-30 10:13:55 -06:00
coolreader18
f193291471 Merge branch 'master' into format-mk-module 2019-01-30 10:09:47 -06:00
Windel Bouwman
31523fe4d7 Merge pull request #265 from rmliddle/implement-io
File-IO: IO Module and Open Builtin
2019-01-29 20:43:28 +01:00
rmliddle
deb0688a99 Changed buffer imp. to use type + removed ByteArray Kind 2019-01-29 18:40:40 +11:00
coolreader18
e9bfea834a Format module building in a more readable way 2019-01-28 23:02:43 -06:00
Windel Bouwman
d627230434 Merge pull request #263 from coolreader18/string-str
Remove unnecessary to_string conversions
2019-01-28 20:38:54 +01:00
Windel Bouwman
d365563010 Merge pull request #264 from coolreader18/fix-trim-warnings
Fix warnings from using trim_left and trim_right
2019-01-28 20:36:06 +01:00
rmliddle
0ee535e49a Removed append + create 2019-01-28 20:14:19 +11:00
rmliddle
3ce9972c9c removed os.O_NONBLOCK from snippet 2019-01-28 20:07:57 +11:00
rmliddle
507f7bdca9 Fix for os open (optional params not allowed) 2019-01-28 19:38:06 +11:00
rmliddle
c011db2819 fmt w/nightly 2019-01-28 19:21:27 +11:00
rmliddle
7b23d0e917 rust fmt 2019-01-28 18:54:50 +11:00
rmliddle
9a86bbd718 ByteArray Usage 2019-01-28 18:30:19 +11:00
coolreader18
989357fe81 Fix warnings from using trim_left and trim_right 2019-01-27 23:02:27 -06:00
coolreader18
5ecff1b37e Remove unnecessary to_string conversions 2019-01-27 21:45:21 -06:00
rmliddle
c2e73cc829 Test Snippets for buffered_read, open builtin 2019-01-23 19:16:03 +11:00
rmliddle
9efc68efcb Generalized Mode Handling 2019-01-22 21:59:10 +11:00