Jeong YunWon
|
0bf7ff96b8
|
Special handling for base -1, 0, 1 for big exp
|
2019-05-02 23:11:00 +09:00 |
|
Jeong YunWon
|
c18615b6e5
|
Fix __builtins__.pow to perform modpow for 3rd argument
|
2019-05-02 22:59:08 +09:00 |
|
Jeong YunWon
|
8d4562b0bb
|
Fix __builtins__.pow to reflect __rpow__
|
2019-05-02 22:59:06 +09:00 |
|
Jeong YunWon
|
eb9ca06ee7
|
Add int.__rpow__
|
2019-05-02 22:59:05 +09:00 |
|
Jeong YunWon
|
614378d720
|
Add int.__pow__ negative exp impl
|
2019-05-02 22:44:28 +09:00 |
|
Jeong YunWon
|
c138dea992
|
Remove int.__pow__ float handling
|
2019-05-02 14:23:35 +09:00 |
|
coolreader18
|
8f3b62ba0e
|
Merge pull request #895 from youknowone/pyrange-extend
extend_class for PyRange
|
2019-05-01 20:15:58 -05:00 |
|
coolreader18
|
3051702a2d
|
Merge branch 'master' into pyrange-extend
|
2019-05-01 20:15:50 -05:00 |
|
coolreader18
|
fc729fd610
|
Merge pull request #892 from youknowone/float-round
Add basic float.__round__ without ndigits support
|
2019-05-01 20:07:02 -05:00 |
|
coolreader18
|
fa148a4aed
|
Merge branch 'master' into float-round
|
2019-05-01 20:06:52 -05:00 |
|
coolreader18
|
3e7d43e27c
|
Merge pull request #889 from adrian17/iter-class
Convert iterators to pyclass macros
|
2019-05-01 16:32:46 -05:00 |
|
Adrian Wielgosik
|
c7fd54e809
|
Convert iterators to pyclass macros
|
2019-05-01 21:26:37 +02:00 |
|
Windel Bouwman
|
1f002e8df3
|
Merge pull request #887 from youknowone/to_int
objint::to_int to call __int__
|
2019-05-01 19:08:54 +02:00 |
|
Windel Bouwman
|
08b716f694
|
Merge pull request #898 from youknowone/builtins-divmod
Fix __builtins__.divmod to reflect __rdivmod__
|
2019-05-01 14:23:38 +02:00 |
|
Windel Bouwman
|
eb5cef20ba
|
Merge pull request #897 from youknowone/test-utils
Temporary fix to assertRaises and assert_raises prints errors
|
2019-05-01 14:11:23 +02:00 |
|
Windel Bouwman
|
7358017671
|
Merge pull request #902 from lili668668/bytearray_append
Add bytearray.append
|
2019-05-01 14:10:17 +02:00 |
|
Tzu-Yin Hong
|
4ef65d8ac3
|
Add bytearray.append
|
2019-05-01 15:53:28 +08:00 |
|
Jeong YunWon
|
0d891cba2c
|
Temporary fix to assertRaises and assert_raises prints errors
|
2019-05-01 12:07:01 +09:00 |
|
coolreader18
|
b542b39f5e
|
Merge pull request #893 from youknowone/float-overflow
PyFloat overflow handling + missing methods
|
2019-04-30 21:36:27 -05:00 |
|
Jeong YunWon
|
14dd85a596
|
Fix __builtins__.divmod to reflect __rdivmod__
|
2019-05-01 05:14:52 +09:00 |
|
Jeong YunWon
|
22a35c9b90
|
extend_class for PyRangeIterator
|
2019-05-01 05:13:05 +09:00 |
|
Jeong YunWon
|
1c814ff2b5
|
Add float.__rpow__
|
2019-05-01 04:02:34 +09:00 |
|
Jeong YunWon
|
09710b5222
|
Add float.__rdivmod__ and div/mod tests
|
2019-05-01 03:40:28 +09:00 |
|
Jeong YunWon
|
813307f8f9
|
Refactor PyFloat using try_float()
|
2019-05-01 01:22:56 +09:00 |
|
Jeong YunWon
|
a0ad4368c6
|
Add float.pow OverflowError handling
|
2019-05-01 01:22:52 +09:00 |
|
Jeong YunWon
|
a318e4e09e
|
objfloat.rs try_float for common operand handling
|
2019-05-01 01:21:14 +09:00 |
|
Jeong YunWon
|
599f1f678f
|
extend_class for PyRange
|
2019-05-01 00:51:47 +09:00 |
|
Windel Bouwman
|
177704f1ea
|
Merge pull request #891 from ntrinquier/add-methods-for-numeric-types
Add methods for the complex type
|
2019-04-30 08:16:44 +02:00 |
|
Jeong YunWon
|
c951cb3cfd
|
float.__round__ for ndigits == 0
|
2019-04-30 06:09:48 +09:00 |
|
Jeong YunWon
|
132d34fc67
|
Add range.__eq__
|
2019-04-29 15:10:59 -05:00 |
|
coolreader18
|
9c4a0710f3
|
Merge pull request #880 from youknowone/fix-range-negative
Fix range() to support negative index + Add range.__eq__
|
2019-04-29 15:09:20 -05:00 |
|
Jeong YunWon
|
b7c7591639
|
Fix float.__trunc__ to handle abnormal values
|
2019-04-30 03:30:35 +09:00 |
|
Jeong YunWon
|
4c8f655d4e
|
float.__round__ inf/nan support
|
2019-04-30 03:30:30 +09:00 |
|
Nicolas Trinquier
|
490db0a84f
|
Add support for complex type for the to_complex function
|
2019-04-29 20:13:01 +02:00 |
|
Jeong YunWon
|
68e15a2bd8
|
Add basic float.__round__ without ndigits support
|
2019-04-30 03:11:31 +09:00 |
|
coolreader18
|
fd91d26444
|
Merge pull request #890 from palaviv/exc-stack
Add exceptions stack to VirtualMachine
|
2019-04-29 13:07:00 -05:00 |
|
Aviv Palivoda
|
56ef6ec5f8
|
Change to is_some
|
2019-04-29 20:08:15 +03:00 |
|
Nicolas Trinquier
|
eebdbfe679
|
Add int and float methods for the complex type
|
2019-04-29 18:39:10 +02:00 |
|
Nicolas Trinquier
|
f8373aa38a
|
Add mul method for the complex type
|
2019-04-29 18:34:35 +02:00 |
|
Windel Bouwman
|
e3e2e7f905
|
Merge pull request #869 from skinny121/isinstance_tuple_arg
Accept a tuple for the second argument of isinstance and issubclass
|
2019-04-29 13:34:40 +02:00 |
|
Adam
|
63a71d6b50
|
Merge pull request #855 from RustPython/nonlocal-errors
Add check for nonlocal on top level.
|
2019-04-29 11:30:39 +01:00 |
|
ben
|
4a4631a622
|
Use match_class instead of Either in isinstance/issubclass
|
2019-04-29 19:41:42 +12:00 |
|
ben
|
81dd5faa81
|
Accept a tuple for the second argument of isinstance and issubclass
|
2019-04-29 19:41:42 +12:00 |
|
Windel Bouwman
|
2c7f3b5bb1
|
Merge pull request #888 from youknowone/math-rounding
Add trunc, ceil, floor to math module
|
2019-04-29 08:05:15 +02:00 |
|
coolreader18
|
9feeee059e
|
Merge pull request #886 from youknowone/pycomplex
Add complex.__bool__, complex.__sub__, OverflowError/float support of complex.__add__
|
2019-04-28 18:44:21 -05:00 |
|
Jeong YunWon
|
388b62aae2
|
objint::to_int to call __int__
|
2019-04-29 04:39:52 +09:00 |
|
Jeong YunWon
|
6afe78c9a6
|
Add math.ceil / math.floor
|
2019-04-29 04:26:10 +09:00 |
|
Jeong YunWon
|
c3714c2eca
|
Add math.trunc
|
2019-04-29 04:26:10 +09:00 |
|
Windel Bouwman
|
53dea486d2
|
Merge pull request #878 from sanxiyn/fix-just
Fix justification
|
2019-04-28 19:13:33 +02:00 |
|
Windel Bouwman
|
bea6b48d1f
|
Merge pull request #885 from youknowone/pyfloat
Add __int__, __float__, __trunc__, __rmod__ to float
|
2019-04-28 19:08:32 +02:00 |
|