Commit Graph

1260 Commits

Author SHA1 Message Date
Windel Bouwman
a8873dbaff Merge pull request #460 from janczer/add_clear_method_set
Add clear method to set
2019-02-13 22:51:18 +01:00
Adam
b88b87f210 Merge pull request #462 from adrian17/lambda_parsing
Change lambda parsing to be closer to Python official grammar. Fixes #427
2019-02-13 20:44:55 +00:00
Adam
233242c3ad Merge pull request #429 from adrian17/master
Fix callable(), add tests.
2019-02-13 20:38:27 +00:00
Adrian Wielgosik
7dfb0728fd Change lambda parsing to be closer to Python grammar. Fixes #427 2019-02-13 21:01:13 +01:00
janczer
b77165c5ad Fix fmt set.clear 2019-02-13 14:44:50 +01:00
janczer
d07b3dff98 Add clear method to set 2019-02-13 14:37:05 +01:00
Ryan Liddle
3d4fd5fc86 Merge pull request #456 from yuvipanda/os-name
Implement os.name
2019-02-13 19:35:32 +11:00
Ryan Liddle
c6c1e7f60e Merge pull request #453 from OddCoincidence/int-float-comparison
Fix int to float comparison
2019-02-13 19:31:00 +11:00
yuvipanda
252c3be5f8 Add newline to os_info test file 2019-02-13 00:01:06 -08:00
yuvipanda
9dc45fd728 Implement os.name 2019-02-12 23:51:36 -08:00
Windel Bouwman
392262d3f4 Merge pull request #454 from janczer/call_wrap_functions
Call wrap functions insted of magic
2019-02-13 07:05:26 +01:00
Windel Bouwman
db7a64fe5a Merge pull request #451 from adrian17/list_copy
Add list.copy()
2019-02-13 07:04:24 +01:00
Windel Bouwman
74c5d4dae1 Merge pull request #452 from matrizx/master
Replaced cluttered match statements with if let
2019-02-13 07:02:48 +01:00
Joey Hain
5fd912b13a Remove float comparisons from int.__eq__, add int.__ne__ 2019-02-12 21:56:25 -08:00
janczer
4959defff8 Call wrap functions insted of magic 2019-02-13 06:34:44 +01:00
Joey Hain
2041b7cef6 Fix int to float comparison 2019-02-12 18:44:03 -08:00
matrizx
c041c8cbc5 Replaced cluttered match statements with if let 2019-02-12 16:55:12 -08:00
Adrian Wielgosik
ecfc70ef99 Add list.copy() 2019-02-13 00:21:42 +01:00
Adrian Wielgosik
a8f650b709 Fix callable(), add tests. 2019-02-12 19:26:10 +01:00
Windel Bouwman
e5af4caecf Merge pull request #424 from janczer/add_object_lt_le_gt_ge
Add object.{__lt__, __le__, __gt__, __gt__}
2019-02-12 19:21:07 +01:00
Windel Bouwman
de98ac696b Merge pull request #442 from OddCoincidence/float-parsing
Support float(<str>) and float(<bytes>)
2019-02-12 18:45:50 +01:00
janczer
9277e67b15 Add not_implemented to float.{__le__, __gt__, __ge__} 2019-02-12 18:32:26 +01:00
janczer
9601673044 Fix the reflections of methods lt, le, gt, ge 2019-02-12 18:20:04 +01:00
janczer
1ff1bcda6b Fix the call __gt__ 2019-02-12 17:56:11 +01:00
Windel Bouwman
17bde53ca3 Add end kwarg to print function. 2019-02-12 17:23:33 +01:00
Windel Bouwman
2645bfd47a Merge pull request #448 from ZapAnton/fix_clippy_warnings
Fixed several clippy warnings
2019-02-12 17:05:53 +01:00
Windel Bouwman
a75eea56ab Merge pull request #446 from RustPython/none_str
Add __repr__ and __new__ to NoneType.
2019-02-12 17:00:46 +01:00
janczer
0887b55da8 Add object.{__lt__, __le__, __gt__, __gt__} 2019-02-12 15:32:07 +01:00
ZapAnton
604883dc86 Fixed the len_zero clippy warning 2019-02-12 17:13:09 +03:00
ZapAnton
08d767b010 Fixed the unnecessary_mut_passed clippy warning 2019-02-12 17:12:11 +03:00
ZapAnton
e8467c3bfe Fixed the redundant_closure clippy warning 2019-02-12 17:10:53 +03:00
ZapAnton
a0f1f51863 Fixed the useless_asref clippy warnings 2019-02-12 17:09:52 +03:00
ZapAnton
ef65612008 Fixed the clone_double_ref clippy warning 2019-02-12 16:59:15 +03:00
ZapAnton
206ccc55fb Fixed the len_without_is_empty clippy warning 2019-02-12 16:49:34 +03:00
ZapAnton
38930984ec Fixed the redundant_pattern_matching clippy warning 2019-02-12 16:45:44 +03:00
ZapAnton
291dba6bb6 Fixed the toplevel_ref_arg clippy warning 2019-02-12 16:44:47 +03:00
ZapAnton
5fe373555f Fixed the match_bool clippy warning 2019-02-12 16:43:59 +03:00
ZapAnton
45b9ef9719 Fixed the op_ref clippy warnings 2019-02-12 16:42:53 +03:00
ZapAnton
050bf459b0 Fixed the into_iter_on_ref clippy warning 2019-02-12 16:40:08 +03:00
ZapAnton
9144109f7d Fixed the useless_vec clippy warning 2019-02-12 16:39:38 +03:00
ZapAnton
66569160fc Fixed the redundant_closure clippy warning 2019-02-12 16:38:15 +03:00
ZapAnton
8b6d0b3721 Fixed the op_ref clippy warning 2019-02-12 16:37:02 +03:00
ZapAnton
00cfa47f64 Fixed the should_implement_trait clippy warning 2019-02-12 16:35:28 +03:00
ZapAnton
606ddd2216 Fixed the needless_return clippy warnings 2019-02-12 16:30:03 +03:00
ZapAnton
0d1b85a8da Fixed the collapsible_if clippy warning 2019-02-12 16:28:49 +03:00
ZapAnton
d86ffc40f6 Fixed the redundant_field_names clippy warnings 2019-02-12 16:07:24 +03:00
Adam Kelly
a735bb3dfc Add __repr__ and __new__ to NoneType. 2019-02-12 10:09:13 +00:00
Adam
8835b47d1f Merge pull request #444 from skinny121/object_format
Add object.__format__
2019-02-12 08:52:20 +00:00
ben
d14aeef2e5 Handle passing no format_spec into format() 2019-02-12 20:24:57 +13:00
ben
5c12367f59 Merge branch 'master' into object_format 2019-02-12 20:09:27 +13:00