Windel Bouwman
89a97b66ad
Merge pull request #1290 from mpajkowski/int_fix
...
Fix panics with int()
2019-08-23 17:12:33 +02:00
Windel Bouwman
bd293fad76
Merge pull request #1303 from youknowone/datetime
...
Datetime module
2019-08-23 16:53:10 +02:00
Noah
e0de5fc139
Merge pull request #1314 from youknowone/bool-real
...
bool.real
2019-08-22 09:13:43 -05:00
Jeong YunWon
0327428aa5
bool.real
2019-08-22 13:57:44 +09:00
Tommaso Thea Cioni
d7187d426c
Cleaned up two tests.
2019-08-22 03:11:51 +02:00
Marcin Pajkowski
6d618c5e5a
Add changes suggested by @seeturtle
...
+ Add tests covering those changes
2019-08-20 06:11:59 +02:00
Marcin Pajkowski
5e37adcf68
Apply review comments
2019-08-20 06:11:59 +02:00
Marcin Pajkowski
d07edee3f6
Add more tests for int()
2019-08-20 06:11:59 +02: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
Jeong YunWon
35ce9c041e
datetime test for rustpython
2019-08-19 16:26:00 +09:00
CPython 3.4.9
1c140fb6a1
test_datetime.py from CPython 3.4.9
2019-08-19 16:26:00 +09:00
Jeong YunWon
785d19a46e
unittest compatible assertRaises
2019-08-19 16:26:00 +09: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