Jeong YunWon
|
a318e4e09e
|
objfloat.rs try_float for common operand handling
|
2019-05-01 01:21:14 +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 |
|
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 |
|
Nicolas Trinquier
|
490db0a84f
|
Add support for complex type for the to_complex function
|
2019-04-29 20:13:01 +02: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 |
|
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 |
|
Jeong YunWon
|
1d5adc4353
|
Add built-in dict.pop
|
2019-04-23 10:34:06 +09:00 |
|
Aviv Palivoda
|
3986e2f87d
|
Add set.isdisjoint
|
2019-04-21 16:41:36 +03:00 |
|
Joey
|
ae8ea1d060
|
Merge remote-tracking branch 'origin/master' into joey/proper-titlecase
|
2019-04-19 09:27:00 -07:00 |
|
ben
|
9b71424d4e
|
Use slice.xxx_index() methods in setslice and delslice
|
2019-04-17 20:02:08 +12:00 |
|
ben
|
f2873a519d
|
Merge branch 'master' into slice_new
# Conflicts:
# tests/snippets/builtin_slice.py
# vm/src/frame.rs
# vm/src/obj/objrange.rs
# vm/src/obj/objslice.rs
|
2019-04-17 19:44:46 +12:00 |
|
coolreader18
|
08babef619
|
Remove the __inside_vm hack for procedural macros
|
2019-04-15 20:24:16 -05:00 |
|
Windel Bouwman
|
78db5ea311
|
Merge pull request #835 from RustPython/coolreader18/weakproxy
Add weakproxy
|
2019-04-15 17:35:04 +02:00 |
|
Adam Kelly
|
dfbaf3cdf0
|
Remove pub from PyDict.entries (easy TODO)
|
2019-04-15 13:25:04 +01:00 |
|
Adam Kelly
|
c9b479c43b
|
Guard for changes in dictionary size during iteration.
|
2019-04-15 13:25:04 +01:00 |
|
coolreader18
|
cc76bf7a1f
|
Add weakproxy class
|
2019-04-14 20:09:43 -05:00 |
|
Darren Kaste
|
a8e064b1c0
|
Import TypeProtocol before use in type_check!
|
2019-04-14 17:19:44 -04:00 |
|
Joey
|
79623f4e7a
|
str: proper titlecase support
|
2019-04-14 12:23:09 -07:00 |
|
Windel Bouwman
|
51aa817a81
|
Merge pull request #829 from skinny121/unittest_rustpython
RustPython changes for #824
|
2019-04-14 10:49:21 +02:00 |
|
coolreader18
|
8f3319e01d
|
Merge pull request #827 from RustPython/joey/titlecase
str: improve {is,}title impl and add tests
|
2019-04-13 22:59:04 -04:00 |
|
Joey
|
762c281dd4
|
address feedback
|
2019-04-13 19:07:15 -07:00 |
|
ben
|
d24dd170e9
|
Changes to RustPython to support importing and running unittest
|
2019-04-14 12:09:54 +12:00 |
|
ben
|
6650ad895a
|
Fix a bunch of clippy warnings
|
2019-04-14 10:07:50 +12:00 |
|