Commit Graph

4060 Commits

Author SHA1 Message Date
JimJeon
a2e3e6b31e Add round feature for objint 2019-08-15 16:19:16 +09:00
JimJeon
befb9a239e Add round feature for objfloat when ndigits is 0 2019-08-15 16:16:40 +09:00
JimJeon
9c4b08c7cd Add tests for round functions 2019-08-15 16:16:06 +09:00
Daehee Kim
6715759868 Add tests for json.load 2019-08-15 16:10:23 +09:00
Daehee Kim
73549a5e6f Add json_load 2019-08-15 16:09:36 +09:00
Daehee Kim
5285c8eeac Add tests for json.dump 2019-08-15 16:09:36 +09:00
Daehee Kim
d60e72ec57 Add json_dump 2019-08-15 16:09:30 +09: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
Jeong YunWon
1d6ccca315 Add _w_long, _u_long to bootstrap which is requried by importlib 2019-08-15 15:44:24 +09:00
Dong-hee Na
4ea960c67b complex: Implement __getnewargs__ 2019-08-15 15:34:07 +09:00
rusty
78017514ae Add __reduce__ method to Ellipsis 2019-08-15 15:28:24 +09:00
Garuda-hpcnt
bc7a67f129 implement os.readlink()
this fixes broken pytest on macos, which failed on `os.path.realpath(tmpdir)`
2019-08-15 15:17:41 +09:00
kluid
43c1143e67 Implemented stdlib os.cpu_count 2019-08-15 14:30:57 +09:00
Windel Bouwman
7d08f8fe05 Merge pull request #1248 from RustPython/minor-fixes
Add sunau library. Add default option to dis example.
2019-08-15 07:06:10 +02:00
Windel Bouwman
f3d7848dc2 Merge pull request #1253 from willingc/update-dep
Add minimal version and document check/update to README
2019-08-15 07:04:20 +02:00
Windel Bouwman
daad0a0be6 Merge pull request #1256 from JunMock/int
ADD int.__ror__ and __rand__
2019-08-15 07:03:20 +02:00
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
JunMock
d8e9f79c41 add __rand__ __ror__ 2019-08-15 12:19:40 +09:00
JunMock
03df88729d add __rand__ __ror__ 2019-08-15 12:07:02 +09:00
Carol Willing
3fce075cc3 Add minimal version and document check/update 2019-08-15 10:48:45 +09:00
Windel Bouwman
5802d06bbb Extend AST python module. Add idea for scope detection. 2019-08-14 20:43:23 +02:00
Windel Bouwman
d06dec77ea Attempt to reduce the size of the pyobject.rs files by splitting out builtin types. 2019-08-14 19:08:47 +02: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
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
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