coolreader18
88b883fab9
Edit _codecs to work w/ Python 3
2019-11-28 13:32:07 -06:00
coolreader18
36a224e16d
Use a Python version of _codecs from PyPy v1.0.0
2019-11-28 13:32:07 -06:00
Noah
4a69af8cc3
Merge pull request #1576 from RustPython/coolreader18/vm-lib-reorganize
...
Reorganize vm/Lib and frozen.rs
2019-11-27 14:37:00 -06:00
Noah
e340954024
Merge pull request #1611 from yanganto/wasm-default-print
...
Set default stdout of wasm to `console.log`
2019-11-27 00:43:03 -06:00
yanganto
d058b3debf
Set default stdout of wasm to console.log
...
The print function of wasm will be
- `console.log` by default or when giving undefined or "console"
- a dumb function when giving `null`
- the function when giving a function
Co-Authored-By: Noah <33094578+coolreader18@users.noreply.github.com >
2019-11-27 13:53:07 +08:00
Noah
afa6850499
Convert symlinks to hardlinks on windows
2019-11-25 11:04:37 -06:00
Noah
79b65e6454
Merge pull request #1594 from RustPython/coolreader18/asyncio
...
Add asyncio stdlib module
2019-11-23 12:02:41 -06:00
coolreader18
794e2adacf
Fix nt import in shutil
2019-11-23 11:20:42 -06:00
coolreader18
458c68263d
Fix tempfile to not use random.Random
2019-11-23 11:20:42 -06:00
coolreader18
a3b435c0d3
Add tempfile.py from CPython 3.6.0
2019-11-23 11:20:42 -06:00
Noah
4cf2672876
Add _multiprocessing stub
2019-11-23 11:20:41 -06:00
coolreader18
928a404ef7
Use asyncio for async_stuff test
2019-11-23 11:20:41 -06:00
coolreader18
b5505b4e73
Add asyncio.run from CPython 3.7
2019-11-23 11:20:41 -06:00
coolreader18
6679ea1287
Don't import some platform-specific modules
2019-11-23 11:19:21 -06:00
coolreader18
efdfcfc2a5
Minor changes to make multiprocessing importable
2019-11-23 11:19:21 -06:00
coolreader18
40a2acbcad
Add necessary Lib files for asyncio from CPython 3.6.0
2019-11-23 11:19:21 -06:00
Aviv Palivoda
c3330d3ce3
Merge pull request #1597 from palaviv/io-improve
...
Add readline,tell to BytesIO and StringIO
2019-11-23 11:20:57 +02:00
Noah
60ebba2b6c
Merge pull request #1587 from palaviv/add-test
...
Add test to Lib and allow test_bool.py to run
2019-11-22 23:34:26 -06:00
coolreader18
986b8b2e8f
Make _warnings.warn not print debug of PyObject
2019-11-22 22:49:11 -06:00
coolreader18
40ac4ca0be
Reorganize vm/Lib and frozen.rs
2019-11-22 22:49:11 -06:00
Noah
389db55a3f
Merge pull request #1603 from dralley/itertools
...
Add itertools.combinations()
2019-11-22 09:47:53 -06:00
Aviv Palivoda
aa1af71851
Merge pull request #1598 from palaviv/fix-exc-panic
...
Separate BaseException to __init__ and __new__
2019-11-22 16:27:38 +02:00
Aviv Palivoda
72e12b49aa
Merge pull request #1602 from yanganto/syntaxerror-diagnostics
...
Provide caret diagnostics for SyntaxError
2019-11-22 12:36:30 +02:00
Daniel Alley
16b2b425b8
Add itertools.combinations()
...
re: #1361
2019-11-21 23:06:27 -05:00
yanganto
7f45ed3cca
Provide caret diagnostics for SyntaxError
...
visualize syntax error with caret diagnostics in shell, eval, exec,
when the error statement and error location are provided.
2019-11-22 09:17:50 +08:00
Daniel Alley
53b391177b
Alphabetize
2019-11-21 12:46:25 -05:00
Noah
7c52a822b7
Merge pull request #1601 from yanganto/bytearray.mod
...
Implement bytearray.mod
2019-11-21 00:01:37 -06:00
yanganto
07ff469161
Implement bytearray.mod
...
Implement bytearray formatting with CFormat
2019-11-20 12:11:14 +08:00
Noah
8267ea4624
Merge pull request #1599 from RustPython/coolreader18/asyncio-pre
...
Prerequisites for asyncio
2019-11-19 10:50:22 -06:00
Aviv Palivoda
637d678ad7
Print less in PyBaseException Debug
2019-11-19 18:32:27 +02:00
Aviv Palivoda
f4a8427dc9
Move args to PyBaseException
2019-11-19 18:23:14 +02:00
Aviv Palivoda
c15140e0fe
Move with_traceback
2019-11-19 18:23:14 +02:00
Aviv Palivoda
144a4728f0
Move BaseException propeties to PyBaseException
2019-11-19 18:23:14 +02:00
Aviv Palivoda
96fdaab0c1
Separate BaseException to __init__ and __new__
2019-11-19 18:23:14 +02:00
Noah
576d89fdcf
Merge pull request #1563 from yanganto/byte.mod
...
bytes.mod implement with CFormat
2019-11-18 08:49:14 -06:00
yanganto
10ef5e56af
bytes.mod implement mod
...
implement byte formatting with CFormat
2019-11-18 08:39:36 +08:00
coolreader18
7c3340b6b1
Add object.__dict__ = ... test
2019-11-17 17:09:48 -06:00
coolreader18
f7831491c5
Add stub implementation of atexit
2019-11-17 17:09:38 -06:00
coolreader18
ae0a343906
Add stub _winapi module
2019-11-17 17:09:13 -06:00
coolreader18
bed54e035c
Add some constants to native modules
2019-11-16 22:58:51 -06:00
coolreader18
5ca0e9a927
Add more IO exceptions
2019-11-16 22:57:49 -06:00
coolreader18
e612c0d7ab
Add the errno::errors module
2019-11-16 22:57:49 -06:00
coolreader18
edb84896bf
Make PyObject.dict an Option<RefCell<PyDictRef>>
2019-11-16 22:50:58 -06:00
Aviv Palivoda
7b83e8ae7b
add readline to BytesIO and StringIO
2019-11-15 17:41:51 +02:00
Aviv Palivoda
043413a7ee
Add tell method to BytesIO, StringIO
2019-11-15 17:41:51 +02:00
Aviv Palivoda
b38e2418fa
BytesIO write accept PyBytesLike
2019-11-15 17:41:51 +02:00
Aviv Palivoda
2124dd0b6d
Merge pull request #1595 from Blanen/master
...
Colosys.py from the cpython standard lib
2019-11-15 15:34:39 +02:00
Bart Lanen
2921b306e1
colosys.py from the cpython standard lib
2019-11-15 11:16:43 +01:00
Noah
28dfe957d4
Merge pull request #1489 from tcmal/master
...
Implement .indices(len) of slice
2019-11-13 10:14:25 -06:00
Aviv Palivoda
adeb00ffbc
Allow test_bool.py to run
2019-11-12 16:03:06 +02:00