Commit Graph

5374 Commits

Author SHA1 Message Date
Jeong YunWon
97cdded44e Merge pull request #1853 from youknowone/bytes-overflow
Fix new bytes with overflow error
2020-04-11 23:23:41 +09:00
Jeong YunWon
b000b219fa Merge pull request #1851 from youknowone/fix-str-replace-negative
Fix str.replace negative value
2020-04-11 23:23:17 +09:00
Aviv Palivoda
b728a41bbb Merge pull request #1848 from palaviv/theading-mark
Convert ByteArray to thread safe
2020-04-11 15:03:24 +03:00
Aviv Palivoda
e960c4dd3f Use utility functions 2020-04-11 12:26:13 +03:00
Aviv Palivoda
bcf875b5ca Make PyByteArray ThreadSafe 2020-04-11 12:26:13 +03:00
Aviv Palivoda
6e89c6e014 Mark PyByteInner and PyBytes as ThreadSafe 2020-04-11 12:24:09 +03:00
Aviv Palivoda
2c5237bec8 Mark PyComplex as ThreadSafe 2020-04-11 12:24:09 +03:00
Aviv Palivoda
cd42d04922 Mark PyFloat as ThreadSafe 2020-04-11 12:24:09 +03:00
Aviv Palivoda
ad883375d7 Mark PyInt as ThreadSafe 2020-04-11 12:24:09 +03:00
Aviv Palivoda
bcd518633a Add ThreadSafe trait 2020-04-11 12:24:09 +03:00
Jeong YunWon
aa36a944bf Fix new bytes with overflow error 2020-04-11 10:56:24 +09:00
Jeong YunWon
62febeb80c Fix str.replace negative value 2020-04-11 10:42:29 +09:00
Jeong YunWon
c7467e444d Merge pull request #1839 from RustPython/coolreader18/stdlib-json-py
Replace the json module with the Python implementation from CPython
2020-04-10 14:12:08 +09:00
Noah
9420622d6d Update chrono 2020-04-09 21:45:16 -05:00
Noah
3eb687d976 Merge pull request #1846 from RustPython/coolreader18/print-sys-stdout
Direct print() to sys.stdout
2020-04-08 13:29:35 -05:00
Noah
95d12d02ae Mark failing tests for test_json 2020-04-08 12:26:28 -05:00
Noah
5e58b05a93 Fix subprocess.call 2020-04-08 12:16:19 -05:00
Noah
9d136d6450 Add test.test_json from CPython 3.8.2 2020-04-08 12:16:19 -05:00
Noah
d5b0965479 Implement bytearray.decode 2020-04-08 12:16:19 -05:00
Noah
7ab9a641bc Remove the serde_json based json module, update tests 2020-04-08 12:16:19 -05:00
Noah
d897660b29 Add json/ from CPython 3.8.2 2020-04-08 12:16:19 -05:00
Noah
2cd42c58be Direct print() to sys.stdout 2020-04-08 12:10:00 -05:00
Noah
408032a015 Merge pull request #1842 from RustPython/coolreader18/callable-iter
Add iter(callable, sentinel)
2020-04-08 12:08:33 -05:00
Noah
e83c23bf60 Unmark expectedFailures 2020-04-08 11:35:36 -05:00
Jeong YunWon
3df6c04a72 Merge pull request #1845 from youknowone/byte-find
Refactor and fix bytes count/find
2020-04-09 01:26:42 +09:00
Noah
9a9246d517 Add callable iterator test 2020-04-08 10:10:56 -05:00
Noah
fd3fcc2449 Add iter(callable, sentinel) 2020-04-08 10:10:56 -05:00
Noah
f7e1d1c90a Merge pull request #1844 from youknowone/test-iter
unittest test_iter
2020-04-08 09:56:58 -05:00
Jeong YunWon
e28ab72b4e Refactor and fix str/bytes count/find/index 2020-04-08 13:13:15 +09:00
Jeong YunWon
8580ff7d3b mark failing tests in test_iter.py 2020-04-07 14:37:01 +09:00
CPython dev
6de255bc73 Lib/test/test_iter.py from CPython 3.8.2 2020-04-07 14:37:01 +09:00
CPython dev
40451bba6b Bump up test.support to CPython 3.8.2 2020-04-07 14:36:41 +09:00
Noah
f5de59a4bd Merge pull request #1834 from RustPython/coolreader18/jsontests
Add json output for CPython tests
2020-04-04 11:52:04 -05:00
Aviv Palivoda
3fb1d3f9d0 Merge pull request #1841 from palaviv/vendor-openssl
Use vendored version of openssl
2020-04-04 18:33:44 +03:00
Aviv Palivoda
b41943e080 Use vendored version of openssl 2020-04-04 13:49:07 +03:00
Noah
71af10bc5a Merge pull request #1744 from RustPython/coolreader18/wasm-inject-module
Add a better injectModule method to WASM
2020-04-03 15:39:39 -05:00
Noah
a8027ab48a Fix clippy lints 2020-04-03 12:34:01 -05:00
Noah
f33e2d3b39 Remove incognito from vm 2020-04-03 12:34:00 -05:00
Noah
4aee59527d Fix benchmarks (maybe?) 2020-04-03 12:34:00 -05:00
Noah
be565d30ae Make incognito a CodeFlag bit 2020-04-03 12:34:00 -05:00
Noah
5b2cfb442d Make from __future__ imports a syntactic construct in the compiler 2020-04-03 12:34:00 -05:00
Noah
80f11466b3 Add "incognito" compilation 2020-04-03 12:34:00 -05:00
Noah
9925d5b3bc Add test_inject_module 2020-04-03 12:34:00 -05:00
Noah
92ca0e7359 Add WASM vm.injectModule(name, source, imports?, strict_private?) 2020-04-03 12:34:00 -05:00
Noah
3530540679 Move syntax error conversion to convert.rs, add PyResultExt 2020-04-03 12:33:59 -05:00
Noah
a104d43d7f Merge pull request #1811 from RustPython/coolreader18/typ-generic-pyobj
Make PyObject.typ a Rc<PyObject<PyClass>>
2020-04-03 12:20:37 -05:00
Noah
7143b93203 Rename into_generic_pyobj -> into_typed_pyobj 2020-04-03 11:43:07 -05:00
Noah
ceb11d6bc1 Merge pull request #1827 from mireille-raad/master
Adding readme under parser and parser/src
2020-04-03 09:55:54 -05:00
Mireille Raad
9c1cb881d1 move content of readme file 2020-04-03 10:18:04 -04:00
Jeong YunWon
a6b23129ea Merge pull request #1816 from RustPython/coolreader18/posonly-error
Error on positional-only parameters passed as keywords
2020-04-03 15:23:18 +09:00