Yonatan Goldschmidt
|
620bea7830
|
Preallocate output string of str.title() with required size
|
2019-05-03 01:14:06 +03:00 |
|
coolreader18
|
3051702a2d
|
Merge branch 'master' into pyrange-extend
|
2019-05-01 20:15:50 -05:00 |
|
coolreader18
|
fa148a4aed
|
Merge branch 'master' into float-round
|
2019-05-01 20:06:52 -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 |
|
Tzu-Yin Hong
|
4ef65d8ac3
|
Add bytearray.append
|
2019-05-01 15:53:28 +08: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 |
|
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 |
|
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 |
|
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 |
|
Windel Bouwman
|
53dea486d2
|
Merge pull request #878 from sanxiyn/fix-just
Fix justification
|
2019-04-28 19:13:33 +02:00 |
|
Jeong YunWon
|
20b2f64cef
|
Add float.__rmod__
|
2019-04-28 22:46:21 +09:00 |
|
Jeong YunWon
|
304cea89b8
|
objint::get_float_value
|
2019-04-28 20:31:07 +09:00 |
|
Jeong YunWon
|
4810a55c82
|
Add float.__trunc__
|
2019-04-28 12:44:25 +09:00 |
|
Jeong YunWon
|
9dda776e25
|
Add float.__int__ / float.__float__
|
2019-04-28 12:41:59 +09:00 |
|
Jeong YunWon
|
dc05459459
|
Add float.__sub__, float.__rsub__
|
2019-04-28 12:20:45 +09:00 |
|
Jeong YunWon
|
a2625916f5
|
Fix complex.__add__ to support float
|
2019-04-28 12:01:54 +09:00 |
|
Jeong YunWon
|
2eae737f3d
|
complex.__add__ can raises OverflowError
|
2019-04-28 06:52:54 +09:00 |
|
Jeong YunWon
|
15e4e678ca
|
Add complex.__bool__
|
2019-04-28 06:19:12 +09:00 |
|
Jeong YunWon
|
ed79ccc6b1
|
PyComplex uses PyClassImpl
|
2019-04-28 06:04:21 +09:00 |
|
Jeong YunWon
|
7fb98c91d2
|
PyFloat uses #[pyclass] #[pyimpl] #[pymethod]
|
2019-04-28 05:47:29 +09:00 |
|
Windel Bouwman
|
88e52ef842
|
Merge pull request #884 from adrian17/imul
Support list.__imul__
|
2019-04-27 21:08:39 +02:00 |
|
Jeong YunWon
|
d87468a1cb
|
Add type.__name__
|
2019-04-28 03:21:26 +09:00 |
|
Adrian Wielgosik
|
9d40a4c9d8
|
Support list.__imul__
|
2019-04-27 17:44:21 +02:00 |
|
Jeong YunWon
|
a7091ca88d
|
Add range.__eq__
|
2019-04-27 00:54:21 +09:00 |
|
Jeong YunWon
|
16353f4f54
|
range negative side bound error
|
2019-04-27 00:13:54 +09:00 |
|
Jeong YunWon
|
16152a1d32
|
Fix range() to support negative index
|
2019-04-27 00:06:29 +09:00 |
|
Seo Sanghyeon
|
0e9acdc12b
|
Fix justification
|
2019-04-26 15:33:37 +09:00 |
|
Windel Bouwman
|
3145d2a8fd
|
Merge pull request #870 from RustPython/dict_fromkeys
Dict fromkeys
|
2019-04-25 20:35:57 +02:00 |
|
Seo Sanghyeon
|
f38f263d93
|
Implement stripping with arguments
|
2019-04-25 20:33:30 +09:00 |
|
Adam Kelly
|
d3f4c8f6e1
|
Use unwrap_or_else for OptionalArg in dictionary.
|
2019-04-25 09:07:17 +01:00 |
|
Adam Kelly
|
4f0b17e84f
|
Add dict.fromkeys.
|
2019-04-25 09:07:17 +01:00 |
|
Adam
|
6f04bebae5
|
Merge pull request #866 from RustPython/dict_popitem
dict.popitem & dict.setdefault
|
2019-04-25 09:06:28 +01:00 |
|
Adam Kelly
|
1c43a6bfbe
|
Add dict.setdefault.
|
2019-04-25 08:04:54 +01:00 |
|
Adam Kelly
|
ceac014a6c
|
Add dict.popitem.
|
2019-04-25 08:04:24 +01:00 |
|
ben
|
d84b8b52a5
|
Fix the tuple from rpartition being in wrong order when sub isn't
contained within the string
|
2019-04-25 10:37:59 +12:00 |
|