Jeong YunWon
eef97a78ca
PowTest.powtest from cpython
2019-10-07 23:29:44 +09:00
Windel Bouwman
26073152cd
Merge pull request #1486 from HyeockJinKim/ref
...
extend_class for PyTuple
2019-10-07 09:15:34 +02:00
HyeockJinKim
b2c19a964b
extend_class for PyTuple
2019-10-07 15:38:02 +09:00
Noah
ae4b68f5ba
Merge pull request #1438 from lntuition/fix-byte-like-object
...
Add logic to check array.array byte like object
2019-10-06 20:33:02 -05:00
Windel Bouwman
09871c03a4
Merge pull request #1467 from youknowone/pow-negative-exp
...
Fix pow(0, exp) with negative exp to raise ZeroDivisionError
2019-10-06 14:07:54 +02:00
Windel Bouwman
549c95c83f
Merge pull request #1344 from youknowone/thread-timeout
...
_thread.TIMEOUT_MAX
2019-10-06 14:06:41 +02:00
Windel Bouwman
b8582ae7f1
Merge pull request #1484 from lazylife7157/memoryview_construct
...
Fix #1003 Construct memoryview from bytes-like obejcts
2019-10-06 14:05:27 +02:00
lazylife7157
725d153937
Add type constraints to memoryview constructor
2019-10-07 02:27:12 +09:00
lazylife7157
597453ec45
Add memoryview constructor tests
2019-10-07 02:25:43 +09:00
Windel Bouwman
c2118a6194
Merge pull request #1477 from lazylife7157/recursion_error
...
Add RecursionError
2019-10-06 14:03:48 +02:00
lazylife7157
d0d5dbea67
Formatting
2019-10-06 20:02:59 +09:00
Jeong YunWon
f221a698eb
Merge pull request #1480 from HyeockJinKim/slice_hash
...
Add __hash__ of slice
2019-10-06 17:28:42 +09:00
HyeockJinKim
9375851fa0
Add tests for slice __hash__
2019-10-06 16:11:50 +09:00
Jeong YunWon
79e3700477
Merge pull request #1479 from HyeockJinKim/issue1475
...
Fixed list's __iadd__
2019-10-06 15:46:15 +09:00
HyeockJinKim
96c93c4a21
Add __hash__ of slice
...
When hashing slice, raise TypeError
Issue #1431
2019-10-06 15:28:36 +09:00
HyeockJinKim
56108c1a16
Add tests for list's __iadd__
...
Add a test for `extend` and `__iadd__` iterable values
2019-10-06 14:38:06 +09:00
Jeong YunWon
84f08c85d9
Merge pull request #1470 from makarchuk/string.__repr__
...
cpython compatible "".__repr__
2019-10-06 14:32:06 +09:00
Jeong YunWon
98abc916ce
Merge pull request #1473 from HyeockJinKim/slice_compare
...
Add comparison of slice
2019-10-06 14:31:27 +09:00
Jeong YunWon
997b0b05e5
Merge pull request #1478 from lazylife7157/magnitude_seperator_format
...
Fix #1476 Magnitude seperator format bug
2019-10-06 14:29:20 +09:00
lazylife7157
b1482d6318
Fix magnitude seperator format bug
2019-10-06 21:14:09 +09:00
lazylife7157
2bb1de85ee
Add magnitude seperator test
2019-10-06 21:13:01 +09:00
HyeockJinKim
4468c81bc1
Fixed list's __iadd__
...
When list iadd iterable value,
run iterator and add values to the list
Fixes #1475
2019-10-06 14:11:52 +09:00
lazylife7157
540bcbc26b
Change type of recursion_limit to Cell
2019-10-06 14:11:15 +09:00
lazylife7157
c80c68cb06
Refine recursion test
2019-10-06 14:03:56 +09:00
lazylife7157
c15c428da7
Add sys.getrecursionlimit && sys.setrecursionlimit
2019-10-06 13:07:53 +09:00
lazylife7157
297777a15a
Raise RecursionError when maximum recursion depth exceeded
2019-10-06 12:11:50 +09:00
lazylife7157
87d31e4ee0
Add recursion limit test
2019-10-06 12:06:45 +09:00
lazylife7157
c90ffa7db3
Add RecursionError
2019-10-06 11:31:40 +09:00
Noah
867c91b28f
Merge pull request #1459 from RustPython/coolreader18/sysexit
...
Correctly handle a SystemExit unwound to the top level of execution
2019-10-05 18:39:45 -05:00
Timur Makarchuk
027a25c123
Merge branch 'master' into string.__repr__
2019-10-05 22:14:34 +03:00
Noah
28142e0285
Merge pull request #1471 from sanxiyn/taberror
...
Implement TabError
2019-10-05 13:54:51 -05:00
Timur Makarchuk
4b962b89d7
Implement some __ne__ methods ( #1446 )
...
* Implement some __ne__ methods
Added test snippets from `__ne__` methods
* Fix incompatability in str.__eq__ befaviour
Previously "".__eq__(1) returned "False", which is not the case in
cpython.
Not it's returning 'NotImplemented', as it should
2019-10-06 00:50:02 +09:00
HyeockJinKim
a6a996d1ca
Add tests for comparison of slice
2019-10-05 17:34:46 +09:00
HyeockJinKim
67bc687b31
Add comparison of slice
...
Add gt, ge, lt, le for slice
Issue #1431
2019-10-05 17:34:08 +09:00
Jeong YunWon
0ac9cb861c
Merge pull request #1468 from dralley/new-style
...
Adopt new style for several more object impls
2019-10-05 16:33:38 +09:00
Jeong YunWon
9b78e9fa03
Merge pull request #1452 from HyeockJinKim/issue1450
...
Fix sequence comparison
2019-10-05 16:18:31 +09:00
Noah
e304504d22
Fix some miscellaneous stuff
...
Int division in _sre.py, float precision printf formatting
2019-10-04 22:05:01 -05:00
Noah
e89d00f167
Correctly handle a SystemExit unwound to the top level of execution
2019-10-04 22:05:01 -05:00
Seo Sanghyeon
f2e04c0e2f
Implement TabError
2019-10-05 10:12:02 +09:00
Timur
70fb3f69ef
cpython compatible "".__repr__
...
Fixes #1390
2019-10-05 01:17:17 +03:00
Noah
311b53d275
Merge pull request #1461 from dralley/cleanup-zip
...
Use new style for PyZip impl
2019-10-04 14:14:45 -05:00
Daniel Alley
c254c7eec1
Adopt new style for several more object impls
2019-10-04 13:53:06 -04:00
Daniel Alley
a6fcc664bd
Use new style for PyZip impl
2019-10-04 13:35:36 -04:00
Noah
f4c1ae269a
Merge pull request #1462 from dralley/cleanup-pystaticmethod
...
Use new style for PyStaticMethod impl
2019-10-04 12:02:50 -05:00
Jeong YunWon
2153ebbc23
Fix pow(0, exp) with negative exp to raise ZeroDivisionError
2019-10-05 00:04:31 +09:00
Windel Bouwman
521cf26b5d
Merge pull request #1466 from sanxiyn/unpack-for-call
...
Raise TypeError for duplicate keyword arguments
2019-10-04 16:07:48 +02:00
lntuition
c1d7723b52
Add logic to check array.array byte like object
...
Add byte like list check function to objlist
And check byte like object in objbyteinner
After apply this patch, We can handle array.array byte like object
Fixed : #1437
2019-10-04 22:04:25 +09:00
Daniel Alley
fb04771cad
Use new style for PyStaticMethod impl
2019-10-04 08:19:55 -04:00
Jeong YunWon
035c51b360
_thread.TIMEOUT_MAX
2019-10-04 21:03:00 +09:00
HyeockJinKim
e812024737
Add tests for seqeunce comparison
2019-10-04 20:42:24 +09:00