Commit Graph

109 Commits

Author SHA1 Message Date
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
coolreader18
da75c21c26 Add importlib and pkgutil modules 2019-09-13 01:27:23 -05:00
CPython 3.7.4
531a964f33 datetime.py from CPython 3.7.4 2019-08-19 16:26:00 +09:00
Noah
c06928cc84 Merge pull request #1283 from corona10/imghdr
Implement FileIO.read with nbytes and importing modified imghdr.py
2019-08-16 03:42:11 -05:00
Windel Bouwman
2b02371ba1 Merge pull request #1258 from RustPython/coolreader18/site
Add site module and run it on startup
2019-08-16 08:39:51 +02:00
Dong-hee Na
0c53d507f6 Modify imghdr.py and write unittest 2019-08-16 15:15:33 +09:00
Dong-hee Na
6a105bf696 Import imghdr 2019-08-16 15:09:16 +09:00
coolreader18
1be2d95142 Change unittest.__main__ to use import os.path 2019-08-15 15:52:30 -05:00
coolreader18
6f72969202 Change to use .local/lib/rustpython 2019-08-15 15:33:40 -05:00
coolreader18
a0146c5fa6 Add site module and run it on startup 2019-08-15 15:33:36 -05:00
coolreader18
63cfc70fd0 Fix whats_left_modules under cpython 2019-08-15 02:03:05 -05:00
coolreader18
1d5413be89 Fix whats_left_modules under cpython 2019-08-15 02:01:25 -05:00
Windel Bouwman
e1b0cb0b66 Fix #1247. Add two additional audio format libraries. 2019-08-14 16:20:26 +02:00
Windel Bouwman
7b38988ffb Add sunau library. Add default option to dis example. 2019-08-14 14:42:27 +02:00
coolreader18
e38e2c82b1 Use runpy to run modules with -m 2019-08-09 02:29:10 -05:00
coolreader18
6d3180bdf4 Add runpy 2019-08-09 02:25:29 -05:00
coolreader18
2aea7ab318 Fix textwrap regexes 2019-08-08 17:41:39 -05:00
coolreader18
b65a9f905b Add textwrap 2019-08-08 17:41:39 -05:00
coolreader18
8865624b79 Remove print 2019-08-08 17:41:39 -05:00