Commit Graph

4278 Commits

Author SHA1 Message Date
MinJeong Kim
37a3b2c8f0 Implement delattr for type object
Fixed: #1404
2019-10-10 04:24:55 +00:00
Windel Bouwman
dccc22dbb9 Merge pull request #1493 from HyeockJinKim/issue1490
Fixed to return the mro function
2019-10-08 21:16:33 +02:00
Windel Bouwman
d3ff1c6c2d Merge pull request #1485 from ChJR/feature/sys.version
Change format of sys.version
2019-10-08 20:24:09 +02:00
HyeockJinKim
594c3bb97e Add tests for mro 2019-10-09 01:22:48 +09:00
HyeockJinKim
75eff109ba Fixed to return the mro function
Fixed to return the mro function
to include its own class

Fixes #1490
2019-10-09 01:22:12 +09:00
Noah
1ad94061fb Merge pull request #1492 from wapm-packages/wasi
WASI integration
2019-10-08 09:51:18 -05:00
Syrus
32123b56d4 Improved PR based on feedback 2019-10-08 00:54:41 -07:00
Syrus
f1ad06d470 Added wapm integration 🎉 2019-10-07 12:46:18 -07:00
Syrus
7495fc68ae Added support for WASI 2019-10-07 12:30:48 -07:00
Windel Bouwman
ad8a182a4c Merge pull request #1483 from ChJR/hotfix/SystemExit
Change something related to exit
2019-10-07 19:58:15 +02:00
Windel Bouwman
f78aa0766e Merge pull request #1449 from RustPython/coolreader18/rework-pyclass-derive
Rework the pyclass proc macro a bit
2019-10-07 19:42:33 +02:00
Windel Bouwman
0f2eddc86e Merge pull request #1487 from HyeockJinKim/issue1482
Fixed __hash__ of range
2019-10-07 19:40:48 +02:00
Windel Bouwman
ab681b215b Merge pull request #1488 from youknowone/test-pow
pow tests from cpython
2019-10-07 19:37:07 +02:00
HyeockJinKim
f43ae4424e Change return type of length to BigInt
Change the return type of length to BigInt
since most of the length's values are used as_bigint
2019-10-08 01:48:14 +09:00
ChJR
2bc854387f Remove NameError checking from exit.py due to error of flake8 Linting 2019-10-08 01:05:32 +09:00
Noah
c0456370ad Merge pull request #1433 from pitachips/call_error_message
fix error message for __call__ for non-callable objects
2019-10-07 09:55:30 -05:00
Jeong YunWon
c0dfb9367c disable some PowTest.powtest for num-bigint bug 2019-10-07 23:30:58 +09:00
Jeong YunWon
eef97a78ca PowTest.powtest from cpython 2019-10-07 23:29:44 +09:00
Hyunji Kim
83a7a4d9ed fix clippy lint 2019-10-07 23:16:56 +09:00
Hyunji Kim
7defbe927b fix error message for __call__ for non-callable objects 2019-10-07 23:16:21 +09:00
HyeockJinKim
145ad87b41 Add tests for range's hash 2019-10-07 19:00:55 +09:00
HyeockJinKim
6499dbbfc5 Fixed __hash__ of range
Calculate hash value of range through hash of tuple

Fixes #1482
2019-10-07 19:00:52 +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
ChJR
0808f47210 Change git branch command line like CPython 2019-10-06 17:39:11 +09:00
ChJR
f391eba640 Change compiler string like CPython format 2019-10-06 17:38:23 +09:00
ChJR
c099c5708b Change sys.version formatting string limit like CPython 2019-10-06 17:37:36 +09:00
ChJR
85f51e55f9 Change build info format 2019-10-06 17:36:05 +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
ChJR
0b60b6f5d5 Add os.EX_* constants 2019-10-06 17:01:13 +09:00
ChJR
8698b00dc5 Add os._exit() method 2019-10-06 17:01:13 +09:00
ChJR
672593f49a Fix builtin_exit() like sys_exit() 2019-10-06 17:01:13 +09:00
ChJR
66bd4021f9 Add some tests to exit.py 2019-10-06 17:01:13 +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