Commit Graph

2516 Commits

Author SHA1 Message Date
SeungUkLee
3109f22404 Apply rustfmt 2019-08-15 13:44:34 +09:00
SeungUkLee
74618c99ef Impl socket htonl 2019-08-15 12:24:14 +09:00
Windel Bouwman
49ed782098 Merge pull request #1245 from RustPython/symbol-context
Improve symbol table processing.
2019-08-14 17:47:40 +02:00
coolreader18
2fb05d53e8 Fix errors 2019-08-13 23:04:32 -05:00
Windel Bouwman
e6edf71b33 Improve symbol table processing. 2019-08-13 21:13:16 +02: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
coolreader18
4f9a71ff89 Change compile::compile() to take a Mode instead of an &Mode 2019-08-13 12:34:39 -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
Windel Bouwman
e0431c0ca7 Merge pull request #1243 from mpajkowski/zlib_module
Implement zlib module
2019-08-13 07:12:21 +02:00
Jeong YunWon
039cc12852 int.__[r]floordiv__ to use BigInt.div_floor 2019-08-13 11:05:34 +09:00
Jeong YunWon
e819b9a2e3 Add int.__rdivmod__ 2019-08-13 11:01:28 +09:00
Jeong YunWon
f486f3031f Fix int.__divmod__ 2019-08-13 11:01:28 +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
Windel Bouwman
7fd01b0643 Merge pull request #1231 from yjhmelody/fix_int_fn
fix int fn
2019-08-12 19:52:25 +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
yjhmelody
c758b3629b fix clippy warning
Signed-off-by: yjhmelody <465402634@qq.com>
2019-08-12 23:47:20 +08: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
yjhmelody
b24444e9bc fix int fn 2019-08-11 19:48:18 +08: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
lynskylate
ab98775bd2 Optimize error info 2019-08-09 21:12:36 +08:00
lynskylate
3775e04dcd Fix pyobject truth value 2019-08-09 21:05:58 +08: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
Windel Bouwman
543b0efc43 Merge pull request #1220 from RustPython/coolreader18/unittest-argparse
Fix a bunch of problems with getting argparse to actually work
2019-08-09 07:27:44 +02:00
Windel Bouwman
4e1fea62c5 Merge pull request #1200 from RustPython/coolreader18/compiler-optimization
Add basic constant optimization to the compiler
2019-08-09 07:03:38 +02:00
coolreader18
9bdc2bbcac Fix Exception.__str__ 2019-08-08 17:41:40 -05:00
coolreader18
f33626347a Fix ci 2019-08-08 17:41:40 -05:00
coolreader18
546169a5df Add sys.exit 2019-08-08 17:41:39 -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
64f2c8d2e6 Fix '' % {} 2019-08-08 17:41:39 -05:00
coolreader18
b23aa90748 Add builtins.vars 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
513e4bf63e Add KeyboardInterrupt class 2019-08-08 17:41:39 -05:00
coolreader18
a4ffc797bb Fix clap command line parsing of pyargs 2019-08-08 17:41:39 -05:00
coolreader18
ed3b1973be Fix weird yield from interpreter bug 2019-08-08 17:41:39 -05:00