Commit Graph

3771 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
MinGyo Jung
2c6c2b8084 Remove unreachable pattern 2019-08-16 16:41:53 +09:00
Noah
7a680c32a8 Merge pull request #1285 from ChJR/feature/simplify-error-formatting/str.__mod__
Simplify error formatting of str.__mod__ method.
2019-08-16 02:39:59 -05:00
ChJR
3972239ae5 Simplify error formatting of str.__mod__ method. 2019-08-16 16:16:25 +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
Windel Bouwman
2b02371ba1 Merge pull request #1258 from RustPython/coolreader18/site
Add site module and run it on startup
2019-08-16 08:39:51 +02:00
MinGyo Jung
bc64016b02 Merge branch 'master' of https://github.com/rustpython/rustpython 2019-08-16 15:39:10 +09:00
MinGyo Jung
f4e19889a1 #1224 Fix not suitable tests and solve CI failure 2019-08-16 15:38:56 +09:00
Noah
7764de311a Merge pull request #1280 from willingc/update-devguide
Improve devguide for new contributors
2019-08-16 01:32:28 -05:00
ChJR
440a25d222 Refactoring int.inner_xshift methods. 2019-08-16 14:57:07 +09:00
Noah
e3bfb4bfcb Merge pull request #1281 from RustPython/coolreader18/module-docstrings
Compile docstrings for modules
2019-08-16 00:49:55 -05:00
Noah
466bf383aa Merge pull request #1282 from youknowone/errno-unix
errno for non-linux unix
2019-08-16 00:49:33 -05:00
Hyunji Kim
8b8f542e23 add __enter__ and __exit__ for socket 2019-08-16 14:48:27 +09:00
Carol Willing
6adffe567c Add review feedback edits from @coolreader18 and @mpajkowski 2019-08-16 14:42:18 +09:00
Windel Bouwman
4b3423c0dc Merge pull request #1278 from RustPython/coolreader18/update-deps
Upgrade dependencies
2019-08-16 07:07:30 +02:00
Jeong YunWon
99881147d4 errno for non-linux unix 2019-08-16 13:57:30 +09:00
coolreader18
d33d5ce5f6 Initialize attributes on new modules 2019-08-15 23:06:30 -05:00
Noah
27cde17a28 Merge pull request #1272 from corona10/file_io_close
stdlib_io: Implement fileIO.close
2019-08-15 22:27:04 -05:00
coolreader18
0f4a80eec9 Compile docstrings for modules 2019-08-15 22:25:30 -05:00
Carol Willing
d35caabdfe Explain the major sub-crates of RustPython 2019-08-16 11:10:06 +09:00
Dong-hee Na
5414d2ac33 fix codes 2019-08-16 09:58:46 +09:00
Carol Willing
cc99c38678 Add subsections to Understanding Internals 2019-08-16 09:36:20 +09:00
Noah
40d3782adb Merge pull request #1246 from RustPython/coolreader18/import-submodules
Fix weirdness with importing submodules
2019-08-15 18:32:45 -05:00
Carol Willing
2426440c00 Reorder devguide sections and edit 2019-08-16 08:08:25 +09:00
coolreader18
df71821ce9 Upgrade dependencies 2019-08-15 16:19:46 -05:00
coolreader18
5499d81d7a Address feedback, simplify compilation code 2019-08-15 15:52:30 -05:00
coolreader18
1be2d95142 Change unittest.__main__ to use import os.path 2019-08-15 15:52:30 -05:00
coolreader18
02f5bccf40 Add error for marshal_loads 2019-08-15 15:52:29 -05:00
coolreader18
2a795e0d8e Add module __repr__ 2019-08-15 15:52:26 -05:00
coolreader18
6f72969202 Change to use .local/lib/rustpython 2019-08-15 15:33:40 -05:00
coolreader18
a0146c5fa6 Add site module and run it on startup 2019-08-15 15:33:36 -05:00
coolreader18
fe84f25fad Fix weirdness with import submodules 2019-08-15 15:30:14 -05:00
coolreader18
b6e061b652 Add nice message for no attribute on module 2019-08-15 15:30:02 -05: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
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
ChJR
b8e86b24e6 Change int.inner_xshift wrong match guard routine. 2019-08-16 02:21:50 +09: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