Commit Graph

145 Commits

Author SHA1 Message Date
Aviv Palivoda
4c0e7bf908 Add TODO on all marked tests 2020-01-04 16:30:02 +02:00
Aviv Palivoda
247d814fa6 Mark failed and error tests for lists 2020-01-04 16:30:02 +02:00
Aviv Palivoda
27da37ca3f Add test_list 2020-01-04 16:30:02 +02:00
Aviv Palivoda
0e38b515d7 Add test_decorators 2020-01-04 16:30:02 +02:00
Aviv Palivoda
f06883643f Mark test_compare failed test with expectedFailure 2020-01-04 16:30:02 +02:00
Aviv Palivoda
9b37be8f3d Add test_compare 2020-01-04 16:30:02 +02:00
Aviv Palivoda
641418f3b8 Add __main__ to test lib 2020-01-04 16:30:02 +02:00
Aviv Palivoda
88c477fb6c Fix CR comments 2019-12-30 21:31:36 +02:00
Aviv Palivoda
e1942541ab Add expectedFailure on failing test_bool tests 2019-12-30 21:31:36 +02:00
Aviv Palivoda
4c7c5fd225 Change test code to allow running 2019-12-30 21:31:36 +02:00
Aviv Palivoda
a157dc1230 Add regrtest from CPython 2019-12-30 21:31:36 +02:00
coolreader18
abb190ce50 Some small fixes for http to work 2019-12-21 14:51:11 -06:00
coolreader18
5856b85f74 Add stdlib modules necessary for http from CPython 3.6.0 2019-12-21 14:51:11 -06:00
Noah
97b8a7bf32 Merge pull request #1621 from RustPython/coolreader18/io-update
Update the io module with a bunch of methods
2019-12-04 13:08:14 -06:00
coolreader18
00cf87cde9 Mini-fix for _sre; need bytes support 2019-12-03 21:39:33 -06:00
coolreader18
4263ce48e3 Include _io on WASM, just not FileIO 2019-12-01 17:49:29 -06:00
coolreader18
e63073bfb8 Update io module with a bunch of methods 2019-12-01 02:01:15 -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
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
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
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
40ac4ca0be Reorganize vm/Lib and frozen.rs 2019-11-22 22:49:11 -06:00
coolreader18
f7831491c5 Add stub implementation of atexit 2019-11-17 17:09:38 -06:00
coolreader18
edb84896bf Make PyObject.dict an Option<RefCell<PyDictRef>> 2019-11-16 22:50:58 -06:00
Bart Lanen
2921b306e1 colosys.py from the cpython standard lib 2019-11-15 11:16:43 +01:00
Aviv Palivoda
adeb00ffbc Allow test_bool.py to run 2019-11-12 16:03:06 +02:00
Aviv Palivoda
15fc64dc1e Copy test_bool.py and test.support from CPython 2019-11-12 16:01:48 +02:00
coolreader18
bf08f2f6a3 Enable async stuff in stdlib modules 2019-11-07 00:04:51 -06:00
Noah
52f1965c1c Merge pull request #1525 from alanjds/dummy_threading
`threading` support via dummy implementation
2019-11-06 22:23:55 -06:00
Noah
24cc67980c Merge pull request #1572 from RustPython/coolreader18/socket-socket2
Update _socket to use the socket2 crate; similar to the C sockets api
2019-11-01 19:49:40 -05:00
Aviv Palivoda
1341a551d1 Merge pull request #1573 from palaviv/tb-object
Traceback object
2019-11-01 13:41:34 +02:00
coolreader18
90e97c2baa Add socket.py from CPython 3.6 2019-10-28 22:27:22 -05:00
Aviv Palivoda
556582264a Temporary fix for linecache 2019-10-27 19:25:20 +02:00
coolreader18
14e3ebe48f Add selectors module from CPython 3.6 2019-10-23 17:53:51 +00:00
Alan Justino da Silva
7d4ab62b01 Fix typo on sys.__stdout__ and sys.__stderr__ 2019-10-16 16:14:42 +02:00
Alan Justino
4a7e8bc7ec Populate _thread missing stuff with _dummy_thread ones
Occurs on `threading` initialization
2019-10-13 15:53:46 +02:00
Alan Justino
57ddbdda2e Importing _threading_local.py and threading.py from CPython 2019-10-13 15:49:59 +02:00
Alan Justino
8b64c40cbf sys.std{in,out,err} via os.fdopen(): Works even on Windows(TM) 2019-10-13 12:20:58 +02:00
Alan Justino
db1db36ce1 sys.__std{in,out,err}__ 2019-10-12 16:46:31 +02:00
Alan Justino
084cd0ae3d sys.std{in,out,err} implemented in the most simple way
- It respects what already exists if any
- Otherwise it opens de UNIX standard files

Caveats:
- May be not on the proper place
- Is open to discussion on what codec, or if should be opened as bytes
- Can be also done in Rust side
2019-10-12 16:29:53 +02:00
Windel Bouwman
336364c80d Merge pull request #1318 from youknowone/ast-module
ast module
2019-10-12 12:51:26 +02:00