Commit Graph

1690 Commits

Author SHA1 Message Date
Windel Bouwman
7dfd8f0ebc Merge pull request #515 from RustPython/joey/compile-error-cleanup
Compile error message cleanup
2019-02-21 20:41:01 +01:00
Adam Gutglick
852dd1086a Added tests to imag/real attributes. 2019-02-21 14:11:23 -05:00
Adam Gutglick
0c1057f079 Added real/imag attributes to int type. 2019-02-21 13:46:18 -05:00
Aviv Palivoda
21b6616e8e Add set.symmetric_difference_update 2019-02-21 19:33:20 +02:00
Aviv Palivoda
1621d78326 Add set.difference_update 2019-02-21 19:02:05 +02:00
Aviv Palivoda
a4b814e9a7 Add set.intersection_update 2019-02-21 18:55:22 +02:00
Joey
eec76ef8e8 Don't require objtype import to use arg_check! macro 2019-02-21 08:38:02 -08:00
Aviv Palivoda
5f3664e87d Add set.update 2019-02-21 18:34:47 +02:00
Aviv Palivoda
a89b0593da Add set.pop 2019-02-21 18:34:47 +02:00
Joey
7e40b7f648 Compile error message cleanup 2019-02-21 08:27:35 -08:00
Adam
e2ee933256 Merge pull request #514 from RustPython/joey/crate-imports
Replace most relative imports with 2018-style crate imports
2019-02-21 15:29:38 +00:00
Adam Kelly
55148d7d5a Use py_module for random. 2019-02-21 14:06:57 +00:00
Adam Kelly
727b895930 Use py_module for math. 2019-02-21 14:06:57 +00:00
Adam Kelly
0175780cc3 py_module macro to make modules definitions more declarative. 2019-02-21 14:06:57 +00:00
Adam Kelly
5ebfd55b20 Add extremely minimal dis module. 2019-02-21 14:02:59 +00:00
Adam Kelly
4b03e6d706 Add Display implementation for CodeObject. 2019-02-21 14:02:59 +00:00
coolreader18
8c222af65b Include details about thread_local! for WASM 2019-02-20 22:33:52 -06:00
Joey
dc3a44f513 Merge pull request #502 from janczer/add_bytearray_lower_upper
Add bytearray.{lower, upper}
2019-02-20 15:49:50 -08:00
janczer
b833c08951 Add bytearray.{lower, upper} 2019-02-20 19:35:39 +01:00
Joey
df76ffe116 Replace most relative imports with 2018-style crate 2019-02-20 08:50:53 -08:00
Windel Bouwman
e058179b04 Merge pull request #458 from ZapAnton/2018_edition
Migrated the project to the Rust 2018 edition
2019-02-20 16:44:31 +01:00
Windel Bouwman
a2ff87b9d7 Merge pull request #506 from janczer/add_check_byte_value
Add checking if value more then 255 in bytearraya
2019-02-20 16:14:09 +01:00
Windel Bouwman
b7dfbebd2d Merge pull request #500 from crw5996/break-continue-fix
Break continue fix
2019-02-20 16:12:57 +01:00
Windel Bouwman
32daf638dc Merge pull request #507 from rmliddle/develop
Readme Update + Inheritance Fix on IO
2019-02-20 16:05:39 +01:00
Joey
b8cb9f73c5 Merge branch 'master' into add_check_byte_value 2019-02-20 06:40:58 -08:00
Joey
f588f58dd1 Merge pull request #503 from janczer/add_pop_bytearray
Add pop to bytearray
2019-02-20 06:33:10 -08:00
rmliddle
6be7623a94 Spelling Fix 2019-02-20 21:36:56 +11:00
Ryan Liddle
3bb00fa5db Merge pull request #505 from RustPython/fix-continue
Fix continue statement
2019-02-20 21:10:45 +11:00
rmliddle
2ad4dddd16 README Update 2019-02-20 21:00:50 +11:00
janczer
51f6ec2325 Add checking if value more then 255 in bytearraya 2019-02-20 07:10:42 +01:00
janczer
24176f7bbb Add more test for bytearray.pop and fix the panic message 2019-02-20 06:58:43 +01:00
janczer
bfdb82b5c1 Add pop to bytearray 2019-02-20 06:50:33 +01:00
Joey
9face190ab Fix continue statement 2019-02-19 19:40:34 -08:00
Joey
53bcd04f8a Merge pull request #499 from RustPython/break-from-nested-for-loops
Fix infinite loop when breaking from nested for loop
2019-02-19 18:33:11 -08:00
Joey
7c06cedf48 Merge pull request #504 from palaviv/fix-key-error
Add KeyError to builtins
2019-02-19 18:24:00 -08:00
chris
9092d1f30b Updated to fix corner case with inner function 2019-02-19 21:11:50 -05:00
chris
d3280429db Merge branch 'break-continue-fix' of https://github.com/crw5996/RustPython into break-continue-fix 2019-02-19 21:03:15 -05:00
chris
5b86b918f1 q!
Merge branch 'master' of https://github.com/RustPython/RustPython into break-continue-fix
2019-02-19 20:47:49 -05:00
coolreader18
8e5073e524 Convert bytes and bytearrays to Uint8Arrays 2019-02-19 17:58:57 -06:00
Joey
cd8c1efb6b Merge pull request #494 from janczer/add_clear_dict_bytes
Add dict.clear and bytes.clear
2019-02-19 15:46:32 -08:00
Chris Wood
a451e4a5b3 Hopefully fixed rustfmt issues 2019-02-19 14:48:23 -05:00
Aviv Palivoda
218cec98cb Add KeyError to builtins 2019-02-19 21:38:39 +02:00
janczer
2963dd5b66 Change error to panic in bytearray.clear 2019-02-19 20:38:38 +01:00
Windel Bouwman
ac95b61e3e Merge pull request #496 from adrian17/arg_check_comments
Document arg_check! macro a bit
2019-02-19 17:42:47 +01:00
rmliddle
724d9c6dcb Fixed Inheritance on String & BytesIO to reflect CPython 2019-02-19 20:41:43 +11:00
chris
6229efca24 Updated Compilation phase to detect whether or not we are currently inside of a loop or not. This is useful to determine whether or not we can use looping specific keywords such as break or continue. 2019-02-19 02:19:14 -05:00
chris
0cc898e19d Updated Compilation phase to detect whether or not we are currently inside of a loop or not. This is useful to determine whether or not we can use looping specific keywords such as break or continue. 2019-02-19 02:18:52 -05:00
janczer
d5c91a8de0 Move clear method from bytes to bytearray 2019-02-19 07:11:13 +01:00
Joey Hain
7965a63ba9 Fix infinite loop when breaking from nested for loop 2019-02-18 18:07:35 -08:00
coolreader18
d716313283 Add content_type option to headers 2019-02-18 15:54:06 -06:00