Commit Graph

127 Commits

Author SHA1 Message Date
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
CPython 3.7.4
3dbb6a62df Lib/ast.py from CPython 3.7.4 2019-10-12 14:55:32 +09:00
coolreader18
f9572cad23 Add CPython 3.6 copy, webbrowser, antigravity 2019-10-11 15:47:29 -05:00
coolreader18
8620d2307a Add some missing parts of subprocess 2019-10-11 15:47:29 -05:00
coolreader18
06a9f0b139 Add front-end python version of subprocess 2019-10-11 15:47:29 -05: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
ChJR
8698b00dc5 Add os._exit() method 2019-10-06 17:01:13 +09:00
Noah
e304504d22 Fix some miscellaneous stuff
Int division in _sre.py, float precision printf formatting
2019-10-04 22:05:01 -05:00
coolreader18
8746f29d3b Fix sre_compile._bytes_to_code 2019-10-02 22:09:31 -05:00
coolreader18
e8073831f6 Fix _sre._Dispatcher.build_dispatch_table 2019-10-02 21:25:09 -05:00
coolreader18
877b402289 Fix some errors with the Python 3.6 sre modules 2019-10-02 20:36:03 -05:00
coolreader18
35e35f6930 Update Python sre modules to their 3.6 versions 2019-10-02 20:36:02 -05:00
Noah
c371712c50 Fix some stuff for re 2019-10-02 20:11:19 +00:00
Noah
0540fc19e4 Add re.py, sre_{compile,constants,parse}.py from CPython 3.0 2019-10-02 20:10:03 +00:00
Noah
015cbc2bb1 Add _sre.py from nikhaldi/_sre.py 2019-10-02 20:09:33 +00:00
coolreader18
e5bbe82b72 Fix enum.py for RustPython 2019-09-29 23:13:08 -05:00
coolreader18
39c73922d0 Add enum.py from CPython 3.6 2019-09-29 23:13:08 -05:00
coolreader18
a74b041014 Add distutils module and update os module, among others
CPython 3.6.0
2019-09-15 22:11:33 -05:00