Commit Graph

968 Commits

Author SHA1 Message Date
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
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
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
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
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
rmliddle
724d9c6dcb Fixed Inheritance on String & BytesIO to reflect CPython 2019-02-19 20:41:43 +11: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
Adrian Wielgosik
e016b68552 Document arg_check! macro a bit 2019-02-18 19:59:28 +01:00
janczer
58369b6fbc Delete unnessesary code from dict.clear 2019-02-18 18:45:49 +01:00
janczer
85110f6fbf Add dict.clear and bytes.clear 2019-02-18 18:21:39 +01:00
Windel Bouwman
fcea8455fa Merge pull request #473 from janczer/add_list_copy
Add copy method to set object
2019-02-18 10:50:20 +01:00
Windel Bouwman
43d9fc5dc0 Merge branch 'master' into fix_equality 2019-02-18 08:12:12 +01:00
Windel Bouwman
a47e979f29 Merge branch 'master' into add_list_copy 2019-02-18 08:08:31 +01:00
Joey Hain
7abaea556a Micro-optimize list.__iadd__ 2019-02-17 14:30:38 -08:00
Joey Hain
dcb29ab1f0 Add list.__iadd__ 2019-02-17 10:54:25 -08:00
Joey Hain
b310d5e24b Use i-methods for in-place operations 2019-02-17 10:47:58 -08:00
Joey Hain
fe3f45f655 Implement remaining binop reverse fallbacks 2019-02-17 09:26:31 -08:00
Calixte Denizet
5a154f9745 Fix list & tuple equality 2019-02-16 14:23:20 +01:00
Calixte Denizet
93c184a745 Fix fmt 2019-02-16 13:25:13 +01:00
Calixte Denizet
dd6b5b9aae Fix list_eq 2019-02-16 13:15:58 +01:00
Calixte Denizet
117c6c8494 Fix list_remove 2019-02-16 13:00:39 +01:00
Calixte Denizet
5d82e2c6b5 Fix equality check in list_count, list_index and list_contains 2019-02-16 12:45:57 +01:00
Calixte Denizet
bf19d652dc Fix issue with equality 2019-02-16 12:45:57 +01:00
Windel Bouwman
159daf061a Change scope from using set_item to set_attr. 2019-02-16 11:18:55 +01:00
Windel Bouwman
163a1311f7 Merge pull request #470 from janczer/add_remove_list
Add remvoe to list object
2019-02-16 10:27:27 +01:00
Windel Bouwman
26f9a7fe1a Merge pull request #483 from OddCoincidence/f-string-format-specs
Support format specs in f-strings
2019-02-16 08:35:21 +01:00
Windel Bouwman
eb55d20b4a Merge pull request #480 from janczer/fix_clippy_issues
Remove return, use function without closure
2019-02-16 08:31:26 +01:00
Windel Bouwman
ec6dc7ca4a Merge pull request #481 from evilpie/discard
implement set.discard
2019-02-16 08:30:57 +01:00
Windel Bouwman
0a70852b3f Merge pull request #478 from silmeth/int-division
big Integers division
2019-02-16 08:22:29 +01:00