Commit Graph

3822 Commits

Author SHA1 Message Date
yjhmelody
0f62a47b7e update os.open 2019-09-17 15:53:36 +08:00
yjhmelody
05adf7fa30 update
Signed-off-by: yjhmelody <465402634@qq.com>
2019-08-17 17:50:34 +08:00
yjhmelody
f288e7c0b2 update
Signed-off-by: yjhmelody <465402634@qq.com>
2019-08-17 17:14:10 +08:00
yjhmelody
11ba8468ff resolve conflicts 2019-08-17 16:57:10 +08:00
yjhmelody
bb9945af61 remove FileCreationFlags
Signed-off-by: yjhmelody <465402634@qq.com>
2019-08-17 16:47:35 +08:00
Windel Bouwman
e3344df00e Merge pull request #1289 from Lynskylate/add-super-str
Add __str__ __repr__ for super
2019-08-17 09:47:14 +02:00
Aviv Palivoda
d3e9f936d9 Merge pull request #1293 from RustPython/coolreader18/os-access-simplification
Simplify os.access a bit
2019-08-17 10:34:37 +03:00
coolreader18
ebeda0de64 Simplify os.access a bit 2019-08-16 23:18:40 -05:00
Noah
f37c34416f Merge pull request #1292 from mpajkowski/bench-outcome
Add nicer test names for benchmarks
2019-08-16 18:39:09 -05:00
Marcin Pajkowski
de5b085b73 Add nicer test names for benchmarks 2019-08-17 00:27:58 +02:00
Noah
21754a0000 Merge pull request #1277 from Nimpruda/implement-os-access
[WIP]Implement os access
2019-08-16 16:59:08 -05:00
Khalil HADJI
c9112d851b Removed forgottent derive Debug 2019-08-16 23:18:12 +02:00
Khalil HADJI
598d844d34 cargo clippy 2019-08-16 23:16:07 +02:00
Khalil HADJI
69aa5d00d0 Working version without F_OK 2019-08-16 23:14:08 +02:00
Windel Bouwman
1f1a29cff2 Merge pull request #1288 from Writtic/module_ldexp
Update ldexp module of math
2019-08-16 20:50:05 +02:00
lynskylate
401ab2a399 Add str test 2019-08-17 01:41:09 +08:00
lynskylate
a0ee8114f0 Add __repr__ __str__ for super 2019-08-17 01:17:25 +08:00
johan.park
c8d8acdcdf Fix TypeError issue
- Using python reference type instead of arg_check
- Add TypeError assertion on test case
- Add TypeError assertion of frexp method
2019-08-17 00:44:00 +09:00
Khalil HADJI
8deb0499a4 Added a function that returns the right permissions 2019-08-16 17:38:18 +02:00
Khalil HADJI
30b8124089 Structure to represent file permissions and functions for parsing 2019-08-16 17:11:18 +02:00
Khalil HADJI
91c5353f5c os.access is a unix only feature for the moment 2019-08-16 17:05:06 +02:00
Khalil HADJI
e4452d0325 Put AccesFlags in a struct 2019-08-16 17:02:21 +02:00
Johan
a2de0e5d6e Delete python_test.py
Delete code for personal testing
2019-08-16 23:38:21 +09:00
johan.park
20cb32bf1a Fix code for rustfmt and clippy 2019-08-16 23:10:13 +09:00
johan.park
b38a280ea1 Update ldexp module of math 2019-08-16 23:03:55 +09:00
Windel Bouwman
a90001edc2 Merge pull request #1287 from ChJR/feature/reduce_payload_occurrence/int
Reduce payload occurrence of int
2019-08-16 13:48:51 +02:00
Windel Bouwman
1e3ab21055 Merge pull request #1286 from kluid/deprecated_fix
fixed deprecated inclusive range syntax '...' to '..='
2019-08-16 13:47:48 +02:00
Windel Bouwman
4e256e3775 Merge pull request #1284 from Writtic/module_factorial
Update factorial module of math
2019-08-16 13:01:19 +02:00
ChJR
deb716df75 Change inner int methods without direct access to payload. 2019-08-16 17:51:54 +09:00
Noah
c06928cc84 Merge pull request #1283 from corona10/imghdr
Implement FileIO.read with nbytes and importing modified imghdr.py
2019-08-16 03:42:11 -05:00
kluid
a8f3ba0d1f fixed deprecated syntax 'inclusive range' in zlib.rs to . 2019-08-16 17:37:24 +09:00
Noah
aa14a6bc48 Merge pull request #1273 from jmg7173/master
Add floating point formatting
2019-08-16 03:29:31 -05:00
johan.park
fddbbc701f Fix code for rustfmt and clippy 2019-08-16 17:23:43 +09:00
ChJR
23505a297f Change int methods without direct access to payload. 2019-08-16 17:14:54 +09:00
Dong-hee Na
ade287a1e2 fix test_imghdr.py 2019-08-16 16:57:55 +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
Dong-hee Na
0c53d507f6 Modify imghdr.py and write unittest 2019-08-16 15:15:33 +09:00
Dong-hee Na
6a105bf696 Import imghdr 2019-08-16 15:09:16 +09:00
Dong-hee Na
29dabbcbea Implement FileIO.read with nbytes 2019-08-16 15:08:05 +09: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