Commit Graph

1033 Commits

Author SHA1 Message Date
Joey Hain
1ebacafb00 Add reversed builtin and range.__reversed__ 2019-02-08 00:19:14 -08:00
Windel Bouwman
a4b99253c9 Merge pull request #382 from OddCoincidence/range-bool-contains
Add range.{__bool__, __contains__}
2019-02-08 08:05:40 +01:00
Joey Hain
54bcb08518 Add range.{__bool__, __contains__}
- Also fix range.index for negative steps
2019-02-07 20:31:32 -08:00
Windel Bouwman
3dc2ab979d Merge pull request #378 from veera83372/tuple-methods
Added __doc__ atrribute for tuple
2019-02-07 21:09:18 +01:00
Windel Bouwman
385fb03d7a Merge pull request #327 from ZapAnton/float_doc
Float type: Added __doc__
2019-02-07 21:08:42 +01:00
veera venky
b85cf91a23 Added __doc__ atrribute for tuple 2019-02-07 23:47:47 +05:30
Windel Bouwman
3d2d04596c Merge pull request #343 from ZapAnton/fix_various_clippy
Fixed various small clippy warnings
2019-02-07 17:35:29 +01:00
Windel Bouwman
4e584efa57 Merge pull request #374 from ZapAnton/set_doc
(frozen)set type: Added __doc__
2019-02-07 17:29:07 +01:00
Windel Bouwman
c24a88c5ad Merge pull request #369 from ZapAnton/bytes_doc
bytes type: Added __doc__
2019-02-07 17:28:25 +01:00
Ryan Liddle
4d02a1e037 Merge pull request #376 from veera83372/tuple-index
Added index to tuple
2019-02-07 21:49:26 +11:00
veera venky
1479d6bc77 Added index to tuple 2019-02-07 14:56:14 +05:30
Windel Bouwman
d3158f3db5 Merge pull request #372 from RustPython/eliminate_repeated_to_bigint
Eliminate repeated to bigint
2019-02-07 06:22:58 +01:00
ZapAnton
694cbda03d (frozen)set type: Added __doc__ 2019-02-07 00:57:29 +03:00
Windel Bouwman
8f2c959143 Merge pull request #368 from ZapAnton/list_doc
list type: Added __doc__
2019-02-06 20:44:39 +01:00
Adam Kelly
df89c439d9 Fix accidentally broken test. 2019-02-06 17:55:01 +00:00
Adam Kelly
fd344ec1e0 Remove unnecessary to_bigint().unwrap() everywhere. 2019-02-06 17:38:01 +00:00
Adam Kelly
aca0238379 Allow new_int to take anything with ToBigInt. 2019-02-06 17:36:22 +00:00
Adam Kelly
a83fd7c1af Add __code__ to functions. 2019-02-06 16:01:07 +00:00
Windel Bouwman
eb0da4f61c Merge pull request #366 from rmliddle/develop
Fixes build on Windows
2019-02-06 14:15:30 +01:00
ZapAnton
ca63f899d6 list type: Added __doc__ 2019-02-06 15:18:45 +03:00
ZapAnton
1992e02b76 bytes type: Added __doc__ 2019-02-06 15:16:41 +03:00
ZapAnton
2d7164df92 float type: Added __doc__ 2019-02-06 14:44:30 +03:00
rmliddle
f89dc0061b included all not unix in static pathbuf 2019-02-06 22:37:35 +11:00
rmliddle
51d5f9d3a4 changed String to PathBuf 2019-02-06 21:46:50 +11:00
ZapAnton
3464828499 Fixed various small clippy warnings 2019-02-06 13:24:24 +03:00
Windel Bouwman
03fb016415 Merge pull request #333 from ZapAnton/fix_useless_format
Fixed the 'useless_format' clippy warning
2019-02-06 11:16:21 +01:00
rmliddle
401f477fc8 Format main.rs 2019-02-06 21:01:55 +11:00
Ryan Liddle
9e53091c0f Merge branch 'implement-io' of https://github.com/rmliddle/RustPython into implement-io 2019-02-06 21:00:37 +11:00
Ryan Liddle
2f0647e847 factored out xdg to cfg functions to allow windows builds to succeed 2019-02-06 20:59:54 +11:00
Windel Bouwman
c21772c969 Merge pull request #365 from ZapAnton/int_rxor
int type: Added __rxor__
2019-02-06 10:55:55 +01:00
Windel Bouwman
62cad730d3 Merge pull request #364 from HomerMcMillan/string_is_methods
Fix string is* methods
2019-02-06 10:55:06 +01:00
Windel Bouwman
baa59ec2fc Merge branch 'master' into fix_useless_format 2019-02-06 10:50:07 +01:00
Windel Bouwman
2c693d9a2e Merge pull request #336 from ZapAnton/fix_redundant_field_names
Fixed the 'redundant_field_names' clippy warnings
2019-02-06 10:48:45 +01:00
ZapAnton
dfd0ea23c0 int type: Added tests for the __rxor__ 2019-02-06 12:08:26 +03:00
ZapAnton
b682eb939e int type: Added __rxor__ 2019-02-06 12:04:47 +03:00
Homer McMillan
00ef668022 String is* methods return false on empty string #363 2019-02-06 03:15:03 -05:00
Homer McMillan
94dc6ece64 Fix python tests that travis didn't like 2019-02-06 02:42:44 -05:00
Windel Bouwman
040a377d06 Merge branch 'master' into fix_redundant_field_names 2019-02-06 08:14:14 +01:00
Windel Bouwman
a26279111d Merge pull request #353 from OddCoincidence/range-index
Add range.index
2019-02-06 08:00:11 +01:00
Windel Bouwman
f13cb62393 Merge pull request #357 from veera83372/object-methods
Added __doc__ atrribute for object
2019-02-06 07:53:01 +01:00
Windel Bouwman
8a53547e2b Merge pull request #355 from NLincoln/compliant-complex-repr
repr() of complex numbers is compliant with cpython
2019-02-06 07:52:31 +01:00
Windel Bouwman
819e5a01e4 Merge pull request #354 from HomerMcMillan/bytes_iter
Add bytes.__iter__
2019-02-06 07:45:10 +01:00
Windel Bouwman
0a3f15ae22 Merge pull request #348 from skinny121/iter_lazy
Made filter and map lazy
2019-02-06 07:43:07 +01:00
Homer McMillan
0085470c83 Add tests for bytearray 2019-02-06 01:26:51 -05:00
Homer McMillan
1270aee628 Add is* methods to bytearray 2019-02-06 01:22:23 -05:00
veera venky
3de17b9083 Added __doc__ atrribute for object 2019-02-06 08:35:57 +05:30
Nathan
12e6de0503 repr() of complex numbers is compliant with cpython 2019-02-05 20:59:41 -06:00
Homer McMillan
35a06bc428 Add bytes.__iter__ 2019-02-05 21:44:14 -05:00
Joey Hain
49a23a8483 remove misleading contains method 2019-02-05 16:26:12 -08:00
ben
6d494fb9ee Merge branch 'master' into iter_lazy 2019-02-06 12:46:16 +13:00