Commit Graph

3727 Commits

Author SHA1 Message Date
coolreader18
b6e061b652 Add nice message for no attribute on module 2019-08-15 15:30:02 -05: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
ca6ecdd923 Merge pull request #1249 from RustPython/organize-files
Attempt to reduce the size of the pyobject.rs files by splitting out …
2019-08-15 19:34:26 +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
365ab847df Merge pull request #1267 from youknowone/bootstrap
Add _w_long, _u_long to bootstrap which is requried by importlib
2019-08-15 19:22:29 +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
Windel Bouwman
589c431c8c Merge master branch 2019-08-15 18:59:29 +02:00
Marcin Pajkowski
24b6cc1283 Add tests for functools.reduce 2019-08-15 16:51:02 +02:00
Marcin Pajkowski
ec37983ad6 Implement 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
5f285a5831 Merge pull request #1252 from mpajkowski/invoke_ref
Make func_ref an &PyObjectRef
2019-08-15 15:06:09 +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
Marcin Pajkowski
e65e9ff7c3 Make func_ref an &PyObjectRef 2019-08-15 13:45:47 +02:00
Windel Bouwman
c0231513cf Merge pull request #1260 from HyeonuPark/os-read-link
implement os.readlink()
2019-08-15 13:05:17 +02:00
Windel Bouwman
45292e8abc Merge pull request #1257 from SeungUkLee/socket-htonl
Impl socket htonl
2019-08-15 13:02:47 +02:00
Jeong YunWon
70fe087566 object.__subclasshook__ empty classmethod 2019-08-15 17:40:46 +09:00
Windel Bouwman
17cf677fb0 Merge pull request #1261 from kluid/master
Implemented stdlib function 'os.cpu_count()'
2019-08-15 10:32:21 +02:00
rusty
3aa2daae5e Add tests of Ellipsis 2019-08-15 17:08:01 +09:00
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
JimJeon
b8b83cc441 Apply cargo-fmt 2019-08-15 16:47:37 +09:00
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
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