MinGyo Jung
e826894f02
#1224 Error handling for not implemted features
2019-08-21 17:18:11 +09:00
Marcin Pajkowski
da92c4acd5
Fix failing os.chmod tests
2019-08-20 00:51:06 +02:00
Noah
49949aa2f9
Merge pull request #1271 from suewoon/os-chmod
...
Add os.chmod
2019-08-19 11:58:07 -05:00
Aviv Palivoda
1675f05313
Merge pull request #1305 from RustPython/fix-try-else
...
Repair try-except-else syntax. Fixes #1300 .
2019-08-19 18:50:04 +03:00
suewoon
648d7e3250
Add os.chomd
2019-08-20 00:31:15 +09:00
Windel Bouwman
291ffd2671
Add support for ascii formatting of f-strings.
2019-08-19 11:27:13 +02:00
Windel Bouwman
19112cef49
Require at least finally or except on a try statement.
2019-08-19 09:00:08 +02:00
Windel Bouwman
3ed71308bf
Repair try-except-else syntax. Fixes #1300 .
2019-08-19 08:37:07 +02:00
Jeong YunWon
27ab455e46
Add time.struct_time.isdst
2019-08-19 06:00:49 +09:00
Jeong YunWon
4a30090311
Fix int.__mod__ or negative
2019-08-19 02:57:38 +09:00
Marcin Pajkowski
650a9b2255
Add tests for math.modf
2019-08-17 23:15:12 +02:00
Windel Bouwman
f9511a6636
Merge pull request #1294 from corona10/itertools_filterfalse
...
itertools: Implement itertools.filterfalse
2019-08-17 17:18:21 +02:00
Dong-hee Na
6dbc6b437b
itertools: Implement itertools.filterfalse
2019-08-17 19:32:49 +09: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
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
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
johan.park
b38a280ea1
Update ldexp module of math
2019-08-16 23:03:55 +09: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
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
Noah
aa14a6bc48
Merge pull request #1273 from jmg7173/master
...
Add floating point formatting
2019-08-16 03:29:31 -05:00
Dong-hee Na
ade287a1e2
fix test_imghdr.py
2019-08-16 16:57:55 +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
Dong-hee Na
0c53d507f6
Modify imghdr.py and write unittest
2019-08-16 15:15:33 +09:00
Dong-hee Na
29dabbcbea
Implement FileIO.read with nbytes
2019-08-16 15:08:05 +09:00
Hyunji Kim
8b8f542e23
add __enter__ and __exit__ for socket
2019-08-16 14:48:27 +09:00
johan.park
48ae9a309d
Update factorial module of math
...
- Implement factorial function with test case
- Deal with Negative input as a ValueError
2019-08-16 14:28:35 +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