Commit Graph

4060 Commits

Author SHA1 Message Date
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
344e123ef5 Merge pull request #1240 from mpajkowski/ppid_fix
Remove assert os.getppid() < os.getpid()
2019-08-12 14:33:04 +02:00
Marcin Pajkowski
94468f5e1d Remove assert os.getppid() < os.getpid() 2019-08-12 12:15:47 +02:00
Windel Bouwman
752ac1df51 Merge pull request #1232 from corona10/gh-1212
gh-1212: Fix scope_for_name to catch NameError properly
2019-08-12 07:32:02 +02: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
coolreader18
b24a86eb97 Change to only run redoxer on a cron job 2019-08-11 23:06:16 -05:00
Dong-hee Na
6df3800055 Fix scope_for_name to catch NameError properly 2019-08-12 10:19:31 +09: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
Noah
28eb496903 Merge pull request #1233 from RustPython/revert-1225-coolreader18/nested-boolops
Revert "Fix compilation of nested boolean operations"
2019-08-11 12:29:29 -05:00
Noah
fb5ebea389 Revert "Fix compilation of nested boolean operations" 2019-08-11 12:29:10 -05:00
yjhmelody
7c42a18ab6 add test cases for int fn 2019-08-12 00:32:01 +08:00
Aviv Palivoda
f51b686d7f Merge pull request #1229 from RustPython/syntax-fixes
Improve lexing of numbers with underscores.
2019-08-11 18:47:25 +03:00
Noah
3364b746fd Merge pull request #1225 from RustPython/coolreader18/nested-boolops
Fix compilation of nested boolean operations
2019-08-11 09:17:02 -05:00
yjhmelody
b24444e9bc fix int fn 2019-08-11 19:48:18 +08:00
Windel Bouwman
dbc562c613 Implement clippy hint. 2019-08-11 09:57:40 +02:00
Windel Bouwman
a400f6631c Improve lexing of numbers with underscores. 2019-08-11 09:29:21 +02:00
Jeong YunWon
36c263f364 Fix stdlib_subprocess for macOS 2019-08-11 13:30:28 +09:00
yjhmelody
15cde81081 update flag
Signed-off-by: yjhmelody <yjh465402634@gmail.com>
2019-08-11 05:51:08 +08:00
yjhmelody
7f837872b4 update file flag 2019-08-11 05:44:35 +08:00
Aviv Palivoda
f790de2401 Fix windows test 2019-08-10 22:29:20 +03:00
Aviv Palivoda
ba31f4fde7 Ignore clippy warning 2019-08-10 22:28:46 +03:00
yjhmelody
8393d12e5b Add unix constant for os module 2019-08-11 02:05:51 +08:00
yjhmelody
8cbe3acdb2 Add unix constant for os module 2019-08-11 00:24:20 +08:00
Windel Bouwman
c32b714a98 Merge pull request #1223 from RustPython/coolreader18/main_module
Initialize the main module properly
2019-08-10 10:25:57 +02: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
Aviv Palivoda
c44b1c843f Make test less flaky 2019-08-10 09:53:39 +03:00
coolreader18
0e77f0e654 Fix compilation of nested boolean operations 2019-08-09 21:36:42 -05:00
coolreader18
dfcd679cc4 Initialize the main module properly 2019-08-09 17:35:14 -05:00
coolreader18
f8bde1217f Use release branch in redox recipe 2019-08-09 16:34:33 -05:00
coolreader18
a7b08ad9a2 Only check Redox on release or cron job 2019-08-09 16:33:28 -05: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
Noah
4a8abfd8e2 Merge pull request #1222 from Lynskylate/fix-value-truth
Fix pyobject truth value
2019-08-09 11:25:08 -05:00
coolreader18
04a8839ac9 Fix cargo install redoxer 2019-08-09 10:20:12 -05:00
coolreader18
e4daf9167e Add all of ~/.cargo to build cache 2019-08-09 10:20:11 -05:00
coolreader18
4cda5e289b Use language: minimal 2019-08-09 10:20:11 -05:00
coolreader18
7c93617ac5 Fix travis redox 2019-08-09 10:20:11 -05:00
coolreader18
fd39a830c4 Fix openpty on Redox 2019-08-09 10:20:11 -05:00
coolreader18
77b34c9b95 Add redox to travis using redoxer 2019-08-09 10:20:10 -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
a982d850f7 Don't put '-' in usage string 2019-08-09 02:29:32 -05:00