Commit Graph

865 Commits

Author SHA1 Message Date
Matthew Constable
0beceefd0c Add a few tests for sets which reflect new changes. 2019-02-03 17:51:06 +00:00
Matthew Constable
da5046100b Able to create set from iterable. 2019-02-03 17:25:24 +00:00
Matthew Constable
b433b7fcf0 Implemented remove() method on set. 2019-02-03 17:01:32 +00:00
Matthew Constable
c022ac46e6 Refactored adding to set using hash into helper function. 2019-02-03 16:09:44 +00:00
Matthew Constable
6acb7eb006 Handle attempt to add non-hashable items to a set. 2019-02-03 15:46:13 +00:00
Matthew Constable
d5801162bd Sets use python __hash__ functions when items are added - need to re-implement set creation from iterable 2019-02-03 15:25:24 +00: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
rmliddle
dda3d7ffb7 Bug fix for sequential Writes, New File Writes 2019-01-21 20:03:36 +11:00
rmliddle
3845e23881 -Logging length in FileIO write, +Bytes to String in TextIOBase 2019-01-19 14:13:12 +11:00
rmliddle
b54738978a Remaining IO open classes: TextBaseIO, TextWrapperIO 2019-01-17 21:20:31 +11:00
rmliddle
30165f6c8a open builtin 2019-01-16 20:16:56 +11:00
rmliddle
edc720e79f Buffered Objects for Open 2019-01-14 20:32:27 +11:00
rmliddle
2bbd4fd18f BufferedIOBase Read 2019-01-13 10:54:47 +11:00
Windel Bouwman
ade4c88d90 Merge pull request #256 from RustPython/fix-deployment-again
Fix the deploy condition for missing spaces around equals sign
2019-01-12 22:44:38 +01:00
Windel Bouwman
e41b9179f5 Merge pull request #254 from RustPython/list_index
Added list.index()
2019-01-12 10:25:42 +01:00
Shing Lyu
83f05c6448 Fix the deploy condition for missing spaces around equals sign 2019-01-10 22:09:33 +01:00
Shing Lyu
5e8eb8a001 Added list.index() 2019-01-10 22:01:42 +01:00
Windel Bouwman
ce36919fe3 Merge pull request #255 from adamchainz/patch-1
Update example
2019-01-10 20:27:51 +01:00
Adam Johnson
32a58f8897 Update example
Improve spelling, grammar, and HTML a bit on the example page.
2019-01-10 14:07:08 +00:00
Windel Bouwman
cab2e0d076 Merge pull request #250 from RustPython/fix-deploymnet
Limit the deployment only to the specific build job
2019-01-09 16:36:46 +01:00
rmliddle
5e1324fd23 os modes 2019-01-09 20:56:08 +11:00
Shing Lyu
7c8ebee43b Limit the deployment only to the specfic build job 2019-01-08 22:37:31 +01:00
rmliddle
9041129bb8 read_into on FileIO 2019-01-08 18:10:35 +11:00
rmliddle
6deb71d84f os.open impl 2019-01-08 12:14:43 +11:00
rmliddle
dc6238bb0c __offset__ workaround 2019-01-05 21:38:33 +11:00
rmliddle
b783657477 file_io_readinto implementation for fixed length buffer reads 2019-01-04 19:35:33 +11:00
rmliddle
15d0c39c81 fixes to bytearray len 2019-01-04 19:34:28 +11:00
Windel Bouwman
6d0a25fb1c Merge pull request #248 from coolreader18/dockerfile
Create dockerfiles for the rustpython binary and wasm demo
2019-01-03 19:26:38 +01:00
coolreader18
3e3d28fa1d Create dockerfiles for the rustpython binary and wasm demo 2019-01-02 18:57:27 -06:00
rmliddle
cbd8d7b171 len attributes on byte types 2019-01-03 08:16:04 +11:00
Windel Bouwman
a28b665396 Merge pull request #246 from rmliddle/bytes-representation
Bytes representation changed from hex to utf-8
2019-01-02 22:07:21 +01:00
rmliddle
3d6742a9e8 change to bytes repr 2019-01-02 21:25:48 +11:00