Commit Graph

324 Commits

Author SHA1 Message Date
Windel Bouwman
c2db23db2b Merge pull request #417 from janczer/fix_lt_le_ge_gt_float
float.{__lt__, __le__, __ge__, __gt__} fix comparing with non float type
2019-02-10 12:10:58 +01:00
Windel Bouwman
fc38d55b59 Merge pull request #381 from nficca/implement-range-count
Implement range.count
2019-02-10 11:46:10 +01:00
Windel Bouwman
e69605328b Merge pull request #426 from skinny121/recursive_repr
Fixed #191, fixes recursive repr() for the standard collections
2019-02-10 08:35:02 +01:00
Ryan Liddle
7422d27201 Merge pull request #422 from HomerMcMillan/range-reversed
Fix range reversed #421
2019-02-10 15:08:34 +11:00
ben
5b637385ea Fixed #191, fixes recursive repr() for the standard collections 2019-02-10 13:22:03 +13:00
Homer McMillan
0611e765e2 Add extra test to builtin_range.py 2019-02-09 18:40:46 -05:00
Nic Ficca
316e94bd42 Add tests 2019-02-09 16:28:04 -05:00
Tommaso Thea Cioni
b9d773824c Uncommented a line of code like a TODO said. 2019-02-09 20:24:24 +01:00
Windel Bouwman
ac37026010 Merge pull request #385 from OddCoincidence/reversed
Add reversed builtin and range.__reversed__
2019-02-09 19:32:44 +01:00
Windel Bouwman
7807dc3d2c Merge pull request #388 from veera83372/sys-doc
Added __doc__ for sys module
2019-02-09 18:59:45 +01:00
Joey Hain
22a430cdc5 Don't use magic methods directly 2019-02-09 08:20:04 -08:00
Joey Hain
969ddf2ea0 Merge remote-tracking branch 'upstream/master' into reversed 2019-02-09 08:13:03 -08:00
janczer
8d1d6ce1ee float.{__lt__, __le__, __ge__, __gt__} fix comparing with non float type 2019-02-09 17:05:32 +01:00
Windel Bouwman
3c25c14311 Merge pull request #400 from palaviv/Add-set-funcs
Add set.{__eq__,__gt__,__ge__,__le__,__lt__,issubset,issuperset}
2019-02-09 16:31:05 +01:00
Windel Bouwman
601e4c9dc9 Merge pull request #416 from silmeth/zero-division
fix floordiv and divmod by zero for ints and floats
2019-02-09 16:29:52 +01:00
silmeth
6c56c22f0f fix floordiv and divmod by zero for ints and floats 2019-02-09 15:15:54 +01:00
Adam Kelly
5c5d27203a Support for all co_* that can implemented currently. 2019-02-09 12:22:51 +00:00
Adam Kelly
1869a9f1ed Passing version of code.py tests. 2019-02-09 12:15:16 +00:00
Adam Kelly
7b2508a730 Start adding methods to code object. 2019-02-09 12:15:16 +00:00
Adam
8ad95c4a57 Merge pull request #326 from lausek/master
int type: rounding, index, trunc, int (#304)
2019-02-09 11:23:14 +00:00
Adam
b87fcdce34 Merge pull request #285 from orf/handle-missing-file
Improve test coverage of os.open/open
2019-02-09 11:20:11 +00:00
Adam
c5b94a4d82 Merge pull request #408 from janczer/add_floats_div_mul
Add floats.{__truediv__, __mul__}
2019-02-09 11:03:01 +00:00
ben
7abf02180a implement slice negative step handling 2019-02-09 15:48:07 +13:00
ben
907dfb6770 Add slice type and use BigInts in slice payload. 2019-02-09 12:07:04 +13:00
Windel Bouwman
85475e4e30 Merge pull request #347 from silmeth/master
Fix Range’s len() + division and mod by 0
2019-02-08 21:04:31 +01:00
janczer
d4b82007df Add floats.{__truediv__, __mul__} 2019-02-08 20:34:33 +01:00
Windel Bouwman
32bfcf36fd Merge pull request #384 from skinny121/iter_lazy_2
Add enumerate and zip types
2019-02-08 20:05:20 +01:00
Benedykt Jaworski
b9245309d5 Merge branch 'master' into master 2019-02-08 18:45:00 +01:00
veera venky
cf2d07502b Removed strict testing for __doc__ string 2019-02-08 22:26:28 +05:30
ZapAnton
da68dfef78 tests: Removed tests for the __doc__ 2019-02-08 19:41:47 +03:00
Aviv Palivoda
9ec2eef579 Add set.{issubset,issuperset} 2019-02-08 18:33:04 +02:00
Aviv Palivoda
2bc946b748 Add set.__lt__ 2019-02-08 18:27:37 +02:00
Aviv Palivoda
adee66168b Add set.__le__ 2019-02-08 18:25:33 +02:00
Aviv Palivoda
358aa6b2c0 Add set.__gt__ 2019-02-08 17:50:36 +02:00
veera venky
61cbb49647 Added __doc__ for sys module 2019-02-08 21:08:30 +05:30
Aviv Palivoda
0c737ae8d2 Add set.__eq__ 2019-02-08 17:31:45 +02:00
Aviv Palivoda
6274c3fe8b Add set.__ge__ 2019-02-08 17:18:14 +02:00
Joey Hain
1ebacafb00 Add reversed builtin and range.__reversed__ 2019-02-08 00:19:14 -08:00
ben
5896f049ef Add enumerate and zip types and made them lazy. 2019-02-08 20:57:16 +13:00
Joey Hain
54bcb08518 Add range.{__bool__, __contains__}
- Also fix range.index for negative steps
2019-02-07 20:31:32 -08:00
veera venky
b85cf91a23 Added __doc__ atrribute for tuple 2019-02-07 23:47:47 +05:30
Benedykt Jaworski
f823eb9403 Merge branch 'master' into master 2019-02-07 17:20:54 +01:00
Tom Forbes
6c18126382 Improve test coverage of os.open 2019-02-07 07:30:53 -07:00
veera venky
1479d6bc77 Added index to tuple 2019-02-07 14:56:14 +05:30
lausek
02d99758fe round() for int 2019-02-06 18:38:37 +01: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
Benedykt Jaworski
ff244df3eb Merge branch 'master' into master 2019-02-06 10:24:59 +01:00
silmeth
af0fdcb9e3 fix zero-division tests 2019-02-06 10:15:44 +01:00
ZapAnton
dfd0ea23c0 int type: Added tests for the __rxor__ 2019-02-06 12:08:26 +03:00