Commit Graph

3681 Commits

Author SHA1 Message Date
rusty
a562cc9de1 Update __new__ method of Ellipsis 2019-08-15 17:07:03 +09:00
rusty
78e56c2b5c Update signature of __repr__ and __reduce__ method of Ellipsis 2019-08-15 17:04:00 +09:00
rusty
78017514ae Add __reduce__ method to Ellipsis 2019-08-15 15:28:24 +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
Windel Bouwman
11cbf556e5 Merge pull request #1236 from RustPython/coolreader18/dis-example
Add dis example
2019-08-14 11:01:32 +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
7eff681dfb Update help line 2019-08-13 12:35:10 -05:00
coolreader18
5560d79fa4 Show error from to_string() 2019-08-13 12:35:09 -05:00
coolreader18
dc7f1389e0 Add dis example 2019-08-13 12:35:08 -05:00
coolreader18
e67fc38c7e Add CodeObject::display_expand_codeobjects 2019-08-13 12:35:08 -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
Aviv Palivoda
d7ea32cde9 Merge pull request #1238 from youknowone/macos-stdlib-subprocess
Fix stdlib_subprocess for macOS
2019-08-13 18:22:31 +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
Windel Bouwman
c7bee80beb Merge pull request #1239 from youknowone/fix-divmod
Fix int [r]divmod, Add rfloordiv
2019-08-13 07:08:29 +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
Noah
dd9a4a16b4 Merge pull request #1242 from RustPython/coolreader18/cron-redox-deploy
Use redox-release branch for redox recipe
2019-08-12 13:54:08 -05:00
Marcin Pajkowski
7b4a36059f Rewrite crc32, adler32 from zlib
Get rid of checksum_fn macro
2019-08-12 20:34:51 +02:00
coolreader18
eedf96742f Use redox-release branch for redox recipe 2019-08-12 13:27:34 -05: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
2752cc4ae0 Add tests for zlib 2019-08-12 18:32:24 +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
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
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
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