Commit Graph

571 Commits

Author SHA1 Message Date
coolreader18
2fb05d53e8 Fix errors 2019-08-13 23:04:32 -05:00
coolreader18
5560d79fa4 Show error from to_string() 2019-08-13 12:35:09 -05:00
coolreader18
286051383e impl std::str::FromStr for compile::Mode 2019-08-13 12:35:07 -05:00
Aviv Palivoda
87f96f1043 Merge pull request #1244 from youknowone/io-const
Add _io.DEFAULT_BUFFER_SIZE
2019-08-13 18:34:26 +03:00
Jeong YunWon
280b298416 Add _io.DEFAULT_BUFFER_SIZE 2019-08-13 22:29:56 +09:00
Marcin Pajkowski
7b4a36059f Rewrite crc32, adler32 from zlib
Get rid of checksum_fn macro
2019-08-12 20:34:51 +02:00
Marcin Pajkowski
49f53bfba8 Disable zlib on wasm32 2019-08-12 19:54:32 +02:00
Marcin Pajkowski
128bd8c836 Add zlib module
+ Implement following functions:
  * zlib.compress
  * zlib.decompress
  * zlib.crc32
  * zlib.adler32

+ Add compression level constants
2019-08-12 18:32:24 +02:00
Noah
96bd5a693c Merge pull request #1208 from RustPython/coolreader18/redox-ci
Add Redox OS compilation to Travis using Redoxer
2019-08-12 09:55:19 -05:00
Windel Bouwman
d83cfb4cef Merge pull request #1234 from RustPython/short-circuit-evaluation
Improve the situation regarding boolean operations.
2019-08-12 07:30:28 +02:00
Windel Bouwman
0129bb5c75 Merge pull request #1226 from palaviv/subprocess-2
Extend subprocess.Popen
2019-08-11 20:47:14 +02:00
Windel Bouwman
36d8147e8e Improve the situation regarding boolean operations. 2019-08-11 20:20:15 +02:00
Aviv Palivoda
ba31f4fde7 Ignore clippy warning 2019-08-10 22:28:46 +03:00
Aviv Palivoda
12c59dacfb Add Popen cwd support 2019-08-10 10:13:58 +03:00
Aviv Palivoda
608572b2b5 Add Popen.pid 2019-08-10 09:58:40 +03:00
Windel Bouwman
9dac938d88 Merge pull request #1221 from RustPython/coolreader18/runpy
Use runpy to run modules with -m
2019-08-09 21:12:55 +02:00
coolreader18
f7246a3f51 Fix socket.rs 2019-08-09 12:40:03 -05:00
coolreader18
fd39a830c4 Fix openpty on Redox 2019-08-09 10:20:11 -05:00
Aviv Palivoda
93701098f9 Add Popen.communicate 2019-08-09 14:27:28 +03:00
Aviv Palivoda
572e3b6e93 Add Popen.kill 2019-08-09 13:21:51 +03:00
Aviv Palivoda
a3ad97c786 Add Popen.terminate 2019-08-09 13:19:39 +03:00
Windel Bouwman
fc8aba1b68 Merge pull request #1215 from RustPython/syntax-fixes
Add variable annotation syntax.
2019-08-09 11:22:55 +02:00
coolreader18
abbeb38daa Fix re.split 2019-08-09 02:25:28 -05:00
coolreader18
9b2e7d829b SImpler usize 2019-08-08 17:41:39 -05:00
coolreader18
fd85bc0ae3 Add Pattern.split 2019-08-08 17:41:39 -05:00
coolreader18
dab0a84e83 Add findall and sub to re 2019-08-08 17:41:39 -05:00
coolreader18
8dae17ac99 Add Match methods 2019-08-08 17:41:39 -05:00
Aviv Palivoda
36b4c0219c Use into in io_open args 2019-08-08 17:35:58 +03:00
Aviv Palivoda
c7d4343381 Fix clippy warnings 2019-08-08 17:33:39 +03:00
Aviv Palivoda
2a1c441a0a Add convert_to_file_io 2019-08-08 17:32:24 +03:00
Aviv Palivoda
b08c70b4e7 Support redirection 2019-08-08 17:32:24 +03:00
Aviv Palivoda
72143a6a5d Fix Popen.wait 2019-08-08 17:32:24 +03:00
Aviv Palivoda
6486780025 Add subprocess module 2019-08-08 17:32:24 +03:00
Aviv Palivoda
d63839a5ea Merge pull request #1205 from Lynskylate/impl-socket-module
Extend Socket module
2019-08-08 17:30:02 +03:00
Windel Bouwman
2fdfcb96a5 Add parser support for async for loop. Add yield expression inside parentheses. 2019-08-07 20:11:27 +02:00
yf
7b9d54f77a Add math.gcd 2019-08-08 01:51:46 +08:00
lynskylate
fccb0d2ade Disable socket import on wasm 2019-08-08 00:16:27 +08:00
Windel Bouwman
1da260a299 Merge pull request #1210 from ypyf/ttyname
Add os.ttyname
2019-08-07 17:20:20 +02:00
yf
92ebc30c27 slight change 2019-08-07 22:15:35 +08:00
Windel Bouwman
ded9d5ba5b Add variable annotation syntax. Simplify grammar for comprehensions. Add capital J suffix for complex numbers. 2019-08-07 15:31:24 +02:00
yf
e279364f13 reduce the scope of unsafe block 2019-08-07 20:47:43 +08:00
yf
0f3fbb401e Add os.ttyname 2019-08-07 10:16:38 +08:00
lynskylate
c9c580d2fe Add inet_ntoa and windows gethostname 2019-08-07 01:28:17 +08:00
Aviv Palivoda
9a3f73126a Skip SIGPWR, SIGSTKFLT on macos 2019-08-05 22:05:31 +03:00
lynskylate
4e969e9db7 Remove unsafe code 2019-08-05 07:10:28 +08:00
Windel Bouwman
2613ee417d Merge pull request #1189 from palaviv/signal
signal support
2019-08-04 20:29:47 +02:00
lynskylate
14c6b4028e Specific platform 2019-08-05 00:57:04 +08:00
lynskylate
5f4c8c65fa Impl gethostname sethostname inet_aton 2019-08-05 00:16:05 +08:00
Aviv Palivoda
d7e19da0c0 Merge pull request #1202 from RustPython/coolreader18/fix-redox
Fix redox with new os functions
2019-08-04 18:51:25 +03:00
yf
2e51657eaa fmt code 2019-08-04 19:11:33 +08:00