Commit Graph

4301 Commits

Author SHA1 Message Date
Jeong YunWon
cb2a994b46 Result<T, PyObjectRef> -> PyResult<T> 2019-10-11 18:09:55 +09:00
Noah
8bce893118 Merge pull request #1502 from youknowone/small-int-cache
Small int cache like CPython
2019-10-10 09:45:53 -05:00
Jeong YunWon
dcd1f3138a Use is for bool comparison 2019-10-10 23:11:26 +09:00
Jeong YunWon
1216874c29 Small int cache like cpython 2019-10-10 23:11:26 +09:00
Windel Bouwman
161f1d4c98 Merge pull request #1491 from RustPython/bytecode-compression
Compress bytecode using LZ4
2019-10-10 08:04:21 +02:00
Jeong YunWon
b769675c74 Merge pull request #1500 from youknowone/refactor-seq-cmp
Refactor sequence item comparison
2019-10-10 11:25:34 +09:00
Jeong YunWon
72b4965312 Merge pull request #1497 from HyeockJinKim/ne
Add __ne__ methods
2019-10-10 10:59:24 +09:00
Jeong YunWon
2fac9bad71 Refactor sequence item comparison 2019-10-10 10:52:19 +09:00
HyeockJinKim
37e85df527 Add __ne__ for float
Issue #1442
2019-10-10 03:49:13 +09:00
HyeockJinKim
100416f4f2 Add __eq__, __ne__ of none
Issue #1442
2019-10-10 03:49:09 +09:00
HyeockJinKim
1e8ade7098 Fixed __eq__ and add __ne__ of range
change return type of __eq__ to PyResult
and add __ne__

Issue #1442
2019-10-10 03:49:05 +09:00
Windel Bouwman
6f9aeb03de Merge pull request #1494 from kluid/mod_csv
Added csv module
2019-10-09 12:10:22 +02:00
Windel Bouwman
8c1a8a1781 Merge pull request #1469 from RustPython/coolreader18/tabcomplete
Add tab autocompletion to the REPL
2019-10-09 12:08:58 +02:00
kluid
076232141e Added test case for csv module 2019-10-09 12:49:32 +09:00
kluid
8e610d6a41 Removed not implemented items import in _csv module. 2019-10-09 12:37:28 +09:00
kluid
e6c951a7f4 Added Lib/csv.py from CPython:3.7.4 2019-10-09 12:34:29 +09:00
kluid
6f7d76f74b Added _csv module and implemented reader function. 2019-10-09 12:29:35 +09:00
coolreader18
1a68c86f92 Update wapm.toml 2019-10-08 21:52:55 -05:00
coolreader18
e7a6b79023 Allow indenting by pressing tab 2019-10-08 21:32:02 -05:00
coolreader18
2220ed7e81 Abstract over the readline implementation 2019-10-08 21:32:02 -05:00
coolreader18
04a5aecc3d Move ShellHelper into another module 2019-10-08 18:28:26 -05:00
Noah
de7002a3e7 Don't show builtins when tabbing on an empty line 2019-10-08 17:51:16 -05:00
Noah
fc3e8c2483 Add tab autocompletion to the REPL 2019-10-08 17:50:38 -05: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
64ab147f64 Compress bytecode using LZ4 2019-10-07 20:54:22 +02: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