coolreader18
04dfc06cd7
More socket constants
2019-12-03 21:39:34 -06:00
coolreader18
516bce048a
Don't panic when we try going past the end of a generator
2019-12-03 21:39:34 -06:00
coolreader18
ea7db95a70
Have single_or_tuple_any recursively check for tuples
2019-12-03 21:39:34 -06:00
coolreader18
163127b5e1
Make KeyError and IndexError subclasses of LookupError
2019-12-03 21:39:34 -06:00
coolreader18
d4a1021473
Add support for __bytes__ method
2019-12-03 21:39:33 -06:00
coolreader18
42b5fbc52d
Fix print() when args are not strings with file= present
2019-12-03 21:39:33 -06:00
coolreader18
ecfc542c30
Class mappingproxy iteration
2019-12-03 21:39:33 -06:00
coolreader18
00cf87cde9
Mini-fix for _sre; need bytes support
2019-12-03 21:39:33 -06:00
coolreader18
765529abab
Mini optimizations
2019-12-03 21:39:33 -06:00
coolreader18
bca6214c4f
Fix byte{s,array}.join
2019-12-03 21:39:33 -06:00
coolreader18
e5a512cc9a
Add bytearray.__delitem__
2019-12-03 21:39:33 -06:00
Windel Bouwman
10997aeda7
Merge pull request #1620 from RustPython/coolreader18/socket-fixes
...
Add some dns functions to socket
2019-12-01 10:51:07 +01:00
Noah
711c222f0e
Merge pull request #1616 from maybe-rachel/stdlib_os_additions
...
add some os stdlib functions
2019-11-30 23:55:47 -06:00
Noah
ec011f579a
Merge pull request #1604 from Space0726/itertools
...
Implement itertools.zip_longest
2019-11-30 22:51:50 -06:00
maybe-rachel
0e7a22b672
PR review try#2
2019-11-30 21:46:08 -07:00
maybe-rachel
614d2ed5c5
Revert "/pull/1616#pullrequestreview-324914220"
...
This reverts commit 8ad4aa84d5 .
2019-11-30 21:34:47 -07:00
maybe-rachel
8ad4aa84d5
/pull/1616#pullrequestreview-324914220
2019-11-30 17:51:34 -07:00
coolreader18
f24cdf191c
Add socket.gethostbyaddr, fix socket.bind with empty address
2019-11-30 17:25:36 -06:00
coolreader18
62ce47d144
Add socket.recv_into
2019-11-30 17:25:36 -06:00
coolreader18
f75638cc17
socket.getaddrinfo
2019-11-30 17:25:34 -06:00
Aviv Palivoda
c4466a0880
Merge pull request #1615 from palaviv/fix-caret
...
Fix caret diagnostics for mutiple lines
2019-11-30 16:32:34 +02:00
maybe.rachel
a7601761bc
add os pipe, blocking, inheritable functions
2019-11-30 01:34:54 -07:00
Noah
300ac26852
Merge pull request #1607 from RustPython/coolreader18/encoding
...
Add an actual implementation of _codecs from PyPy
2019-11-29 23:41:20 -06:00
Aviv Palivoda
1279079e5f
Fix caret diagnostics for mutiple lines
2019-11-29 11:32:45 +02:00
Aviv Palivoda
13b901caf1
Merge pull request #1606 from palaviv/fix-remove-importlib-frames
...
Fix remove_importlib_frames
2019-11-29 10:51:50 +02:00
coolreader18
2a03a6df44
Add encoding arg to str, fix bytes.__add__ return type
2019-11-28 13:33:25 -06:00
coolreader18
58b03e50f3
Add encoding tests
2019-11-28 13:33:25 -06:00
coolreader18
37db627317
Add properties to Unicode errors
2019-11-28 13:33:25 -06:00
coolreader18
4c0ba7b1bd
Set up the machinery behind the codecs module
2019-11-28 13:33:24 -06:00
coolreader18
747229ad21
Fix C codec implementations being expected by encodings
...
Also fix encodings' normalize_encoding function
2019-11-28 13:32:08 -06:00
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
Aviv Palivoda
682ab924ae
Fix CR comments
2019-11-27 19:01:43 +02: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
Space0726
fbd727e769
Fix numactive to immutable and Cell type, clarify error handling
2019-11-26 18:24:35 +09:00
Noah
afa6850499
Convert symlinks to hardlinks on windows
2019-11-25 11:04:37 -06:00
Space0726
af95003bb9
Fix code style by rustfmt
2019-11-24 03:44:38 +09: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
da759c6d76
Fix remove_importlib_frames
2019-11-23 17:16:22 +02:00