Commit Graph

1184 Commits

Author SHA1 Message Date
MinGyo Jung
8979cc9744 Merge branch 'master' of https://github.com/rustpython/rustpython 2019-08-16 16:43:57 +09:00
Windel Bouwman
777b04a815 Merge pull request #1274 from ChJR/feature/int.__r-shift__
Add int.__(x)xshift__ methods.
2019-08-16 09:12:31 +02:00
Noah
cf09efb293 Merge pull request #1259 from pitachips/socket
add __enter__ and __exit__ for socket
2019-08-16 01:54:17 -05:00
ChJR
1dceae9205 Add str.__rmod__() method. #190 (#1262)
* Add str.__rmod__ method.

* Add tests for str.__rmod__ method.

* Improve test for str.__rmod__ method.

* Change str.__rmod__ method return value type.

* Format with rustfmt.

* Remove not required code of str.__rmod__ method.

* Improve with clippy.
2019-08-16 08:40:32 +02:00
MinGyo Jung
bc64016b02 Merge branch 'master' of https://github.com/rustpython/rustpython 2019-08-16 15:39:10 +09:00
Hyunji Kim
8b8f542e23 add __enter__ and __exit__ for socket 2019-08-16 14:48:27 +09:00
Dong-hee Na
5414d2ac33 fix codes 2019-08-16 09:58:46 +09:00
Dong-hee Na
850f479dd2 stdlib_io: Implement fileIO.close 2019-08-16 05:28:12 +09:00
Windel Bouwman
32634b2d53 Merge pull request #1080 from JimJeon/feature/round
Feature/round
2019-08-15 19:50:52 +02:00
Windel Bouwman
bbe2f72c04 Merge pull request #1268 from youknowone/subclasshook
object.__subclasshook__
2019-08-15 19:45:00 +02:00
Windel Bouwman
3b089020f6 Merge pull request #1276 from mpajkowski/functools_reduce
Add functools.reduce
2019-08-15 19:27:49 +02:00
Windel Bouwman
620a0c4518 Merge pull request #1265 from pbzweihander/iss1254-ellipsis-reduce
Add __reduce__ method to Ellipsis
2019-08-15 19:16:48 +02:00
Marcin Pajkowski
24b6cc1283 Add tests for functools.reduce 2019-08-15 16:51:02 +02:00
Windel Bouwman
1575b9d289 Merge pull request #1266 from corona10/complex__getnewargs__
complex: Implement __getnewargs__
2019-08-15 15:25:32 +02:00
Windel Bouwman
87b9e6e466 Merge pull request #1255 from zsaladin/json_dump
Add `json.dump` and `json.load`
2019-08-15 15:03:59 +02:00
Windel Bouwman
45292e8abc Merge pull request #1257 from SeungUkLee/socket-htonl
Impl socket htonl
2019-08-15 13:02:47 +02:00
ChJR
151823aadd Add tests for int.__(x)xshift__ methods. 2019-08-15 19:01:16 +09:00
MinGyo Jung
e1ac729770 #1224 Add floating point formatting test for int 2019-08-15 18:52:57 +09:00
Jeong YunWon
70fe087566 object.__subclasshook__ empty classmethod 2019-08-15 17:40:46 +09:00
MinGyo Jung
985cbb9df6 Merge branch 'master' of https://github.com/rustpython/rustpython 2019-08-15 17:39:33 +09:00
MinGyo Jung
d508f8ad7c #1224 Add test code for floating point formatting
Not supports #.#f format
2019-08-15 17:36:11 +09:00
rusty
3aa2daae5e Add tests of Ellipsis 2019-08-15 17:08:01 +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
5285c8eeac Add tests for json.dump 2019-08-15 16:09:36 +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
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
SeungUkLee
74618c99ef Impl socket htonl 2019-08-15 12:24:14 +09:00
JunMock
03df88729d add __rand__ __ror__ 2019-08-15 12:07:02 +09:00
Windel Bouwman
e1b0cb0b66 Fix #1247. Add two additional audio format libraries. 2019-08-14 16:20:26 +02: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
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
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
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
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
yjhmelody
7c42a18ab6 add test cases for int fn 2019-08-12 00:32:01 +08: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
c44b1c843f Make test less flaky 2019-08-10 09:53:39 +03:00
lynskylate
3775e04dcd Fix pyobject truth value 2019-08-09 21:05:58 +08:00