Commit Graph

1231 Commits

Author SHA1 Message Date
Windel Bouwman
78e9f01ad0 Merge pull request #1323 from corona10/dropwhile
itertools.dropwhile: Implement itertools.dropwhile
2019-08-28 13:19:59 +02:00
Dong-hee Na
e1854cec25 itertools.dropwhile: Implement itertools.dropwhile 2019-08-28 19:13:11 +09:00
Windel Bouwman
e9820c1a7b Merge pull request #1322 from corona10/fileio_close_set
fileio: Update closefd, closed when close method is called
2019-08-28 11:22:40 +02:00
Dong-hee Na
1176eac168 filio: Update closefd, closed when close method is called 2019-08-28 10:41:13 +09:00
Windel Bouwman
2ca6e5d399 Implement execution of finally block. Fixes #1306. 2019-08-27 21:16:59 +02:00
lynskylate
b4335dc049 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-26 01:07:53 +08:00
Aviv Palivoda
124f16488c Merge pull request #1275 from zsaladin/json_dump
Modify `json.loads` for bytes and bytearray
2019-08-25 18:52:50 +03:00
lynskylate
d58abd3a66 Add timeout test 2019-08-25 22:31:21 +08:00
lynskylate
9677f77360 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-25 15:01:21 +08:00
coolreader18
c3f64a3025 Add array tests, array.__eq__, array.__iter__ 2019-08-24 22:28:17 -05:00
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
lynskylate
a0521bc986 Merge branch 'master' of https://github.com/RustPython/RustPython into extend-socket 2019-08-22 22:22:03 +08: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
lynskylate
70d9e43104 Add settimeout and setblocking for socket module 2019-08-20 01:18:34 +08: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
Daehee Kim
a010bc9b95 Add tests for json_load and json_loads of bytes and bytearray 2019-08-20 00:42:49 +09: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