Aviv Palivoda
|
da61926d2b
|
Merge pull request #1339 from palaviv/bool-like
Add IntoPyBool
|
2019-09-16 19:29:02 +03:00 |
|
Noah
|
62a737ff42
|
Merge pull request #1376 from palaviv/into-py-float
Add IntoPyFloat
|
2019-09-16 10:28:57 -05:00 |
|
Noah
|
8c411bc2a4
|
Merge pull request #1381 from HyeockJinKim/range
Fixed calculation for range
|
2019-09-15 22:33:10 -05:00 |
|
HyeockJinKim
|
1e10eed7dc
|
Fixed index calculation of slice for range
Fixed start, stop, and step calculation of slice
for range type
Fixes #1363
|
2019-09-16 01:23:40 +09:00 |
|
Aviv Palivoda
|
85bf706436
|
Get class name directly
|
2019-09-15 18:34:02 +03:00 |
|
Aviv Palivoda
|
946c851dfa
|
Change FALSE and TRUE of IntoPyBool to consts
|
2019-09-15 18:32:05 +03:00 |
|
HyeockJinKim
|
fcdb1b4715
|
Fixed get function for range
Fixed get function to use the length value
rather than the stop value
|
2019-09-15 23:26:35 +09:00 |
|
coolreader18
|
83db646ff4
|
Fix str.split's args
|
2019-09-15 00:16:43 -05:00 |
|
Aviv Palivoda
|
a5026eded0
|
Use IntoPyFloat in complex
|
2019-09-14 12:55:22 +03:00 |
|
Aviv Palivoda
|
6a6a10afa1
|
Use IntoPyFloat in math.rs
|
2019-09-14 12:50:58 +03:00 |
|
Aviv Palivoda
|
944c0ad485
|
Rename PyBoolLike to IntoPyBool
|
2019-09-14 10:55:42 +03:00 |
|
HyeockJinKim
|
2f96995f30
|
Fix unsupported operand type of str problem
Modify panic! to Err for unsupported operand type of str problem
Fixes #1365
|
2019-09-12 06:52:13 +09:00 |
|
ChJR
|
da020293d2
|
Refactor boolval()
|
2019-09-08 18:19:52 +09:00 |
|
ChJR
|
21821b7a72
|
Throw ValueError when __len__() is a negative value
|
2019-09-08 17:42:02 +09:00 |
|
ChJR
|
7b980920b9
|
Check __bool__() returns only bool value
|
2019-09-08 17:37:57 +09:00 |
|
HyeockJinKim
|
d042ab2aa9
|
Clone other to prevent borrow error
Clone other to prevent borrow error
when self iadd to itself from list
Fixes #1351
|
2019-09-08 04:31:02 +09:00 |
|
Aviv Palivoda
|
7e25738a69
|
Change print flush arg to PyBoolLike
|
2019-09-04 19:03:49 +03:00 |
|
Aviv Palivoda
|
e3166a106c
|
Add PyBoolLike
|
2019-09-04 15:52:56 +03:00 |
|
Aviv Palivoda
|
5a412df6e6
|
Conver binascii to new arg style
|
2019-08-31 22:46:20 +03:00 |
|
Aviv Palivoda
|
b9132e3893
|
Convert objsuper to new arg style
|
2019-08-31 22:46:13 +03:00 |
|
Aviv Palivoda
|
7807b36b3d
|
Convert objproperty to new arg style
|
2019-08-31 22:46:04 +03:00 |
|
Aviv Palivoda
|
969b73fadf
|
Convert objlist to new arg style
|
2019-08-31 22:45:56 +03:00 |
|
Aviv Palivoda
|
3d61129cfd
|
Delay from_list tuple create in import
|
2019-08-31 11:31:59 +03:00 |
|
Windel Bouwman
|
c7566897ec
|
Merge pull request #1315 from jmg7173/1224-not_implemented_pattern
#1224 not implemented pattern (for now)
|
2019-08-26 19:40:00 +02:00 |
|
MinGyo Jung
|
ee6450e3a7
|
issue-1224 Change to map_err instead of match
|
2019-08-26 14:47:46 +09:00 |
|
Noah
|
5b555aecd1
|
Merge pull request #1304 from RustPython/coolreader18/arraymodule
Add the array module
|
2019-08-24 23:13:22 -05:00 |
|
Windel Bouwman
|
6cbab13098
|
Merge pull request #1298 from RustPython/clippy-warnings
Fix clippy warnings. Add proper names to symboltables.
|
2019-08-24 12:12:19 +02:00 |
|
coolreader18
|
825ee4bc7c
|
Fix tests/clippy
|
2019-08-23 17:52:38 -05:00 |
|
coolreader18
|
dacd119d4a
|
Fix str.[r]split
|
2019-08-23 17:34:56 -05:00 |
|
coolreader18
|
b8eba6abe3
|
Add the array module
|
2019-08-23 17:34:52 -05:00 |
|
Windel Bouwman
|
89a97b66ad
|
Merge pull request #1290 from mpajkowski/int_fix
Fix panics with int()
|
2019-08-23 17:12:33 +02:00 |
|
Jeong YunWon
|
0327428aa5
|
bool.real
|
2019-08-22 13:57:44 +09:00 |
|
MinGyo Jung
|
e826894f02
|
#1224 Error handling for not implemted features
|
2019-08-21 17:18:11 +09:00 |
|
Marcin Pajkowski
|
6d618c5e5a
|
Add changes suggested by @seeturtle
+ Add tests covering those changes
|
2019-08-20 06:11:59 +02:00 |
|
Marcin Pajkowski
|
5e37adcf68
|
Apply review comments
|
2019-08-20 06:11:59 +02:00 |
|
Marcin Pajkowski
|
3f3fa2e5af
|
Fix panics with int()
+ add automatic radix detection based on given literal
if optional arg base is set to 0 (CPython behavior)
+ tolerate underscore separators
|
2019-08-20 06:11:59 +02:00 |
|
Jeong YunWon
|
82d6fc81ff
|
PySliceableSequence return type can be non-Self sequence
|
2019-08-19 14:43:00 +09:00 |
|
Jeong YunWon
|
4a30090311
|
Fix int.__mod__ or negative
|
2019-08-19 02:57:38 +09:00 |
|
Windel Bouwman
|
eb3771ebff
|
Add Free enum variant to the symbol scope to be able to distuingish between true local and free variables.
|
2019-08-18 12:12:27 +02:00 |
|
Windel Bouwman
|
edf647160f
|
Fix clippy warnings. Add proper names to symboltables.
|
2019-08-18 10:03:00 +02:00 |
|
Windel Bouwman
|
4ab043ddf5
|
Merge pull request #1291 from RustPython/get-item-performance
Increase performance for get_item_option.
|
2019-08-18 09:12:46 +02:00 |
|
Windel Bouwman
|
b6f522d917
|
Allow &str to be used a dictionary key.
|
2019-08-17 17:11:23 +02:00 |
|
Windel Bouwman
|
d1f4412c09
|
Increase performance for get_item_option.
|
2019-08-16 22:07:54 +02:00 |
|
lynskylate
|
a0ee8114f0
|
Add __repr__ __str__ for super
|
2019-08-17 01:17:25 +08:00 |
|
Windel Bouwman
|
a90001edc2
|
Merge pull request #1287 from ChJR/feature/reduce_payload_occurrence/int
Reduce payload occurrence of int
|
2019-08-16 13:48:51 +02:00 |
|
ChJR
|
deb716df75
|
Change inner int methods without direct access to payload.
|
2019-08-16 17:51:54 +09:00 |
|
Noah
|
aa14a6bc48
|
Merge pull request #1273 from jmg7173/master
Add floating point formatting
|
2019-08-16 03:29:31 -05:00 |
|
ChJR
|
23505a297f
|
Change int methods without direct access to payload.
|
2019-08-16 17:14:54 +09:00 |
|
MinGyo Jung
|
2c6c2b8084
|
Remove unreachable pattern
|
2019-08-16 16:41:53 +09:00 |
|
Noah
|
7a680c32a8
|
Merge pull request #1285 from ChJR/feature/simplify-error-formatting/str.__mod__
Simplify error formatting of str.__mod__ method.
|
2019-08-16 02:39:59 -05:00 |
|